Mitel Forums - The Unofficial Source
Mitel Forums => Mitel Software Applications => Topic started by: ralph on April 03, 2023, 04:19:18 PM
-
I'm looking for a log in my MBG that will show when a device is connected.
I thought it would be tug.log but apparently not.
Does anyone know what log that might be?
Ralph
-
yes, it is in tug.log...
/var/log/tug.log
(which is a symlink to the last tug log file, those are date stamped).
For minet, look for it's mac address.
-
I checked the tug logs again. I didn't realize that the filter was case sensitive.
However, I'm still not getting what I'm looking for.
I'm looking to see what time/date a remove phone is connected.
I'm not seeing that.
I'm seeing this:
2023-04-03 20:50:58.528-0500 38972 ch-2 IP:198.148.28.97:4734 Uptime:2d18:30:13 MAC:08:00:0F:6E:C9:41 IP(b/h NAT):192.168.0.184:6930 (proxy::minet_ssl)
2023-04-03 20:52:04.584-0500 38972 ch-2 IP:198.148.28.97:4734 Uptime:2d18:31:19 MAC:08:00:0F:6E:C9:41 IP(b/h NAT):192.168.0.184:6930 (proxy::minet_ssl)
2023-04-03 20:53:10.648-0500 38972 ch-2 IP:198.148.28.97:4734 Uptime:2d18:32:25 MAC:08:00:0F:6E:C9:41 IP(b/h NAT):192.168.0.184:6930 (proxy::minet_ssl)
2023-04-03 20:54:16.706-0500 38972 ch-2 IP:198.148.28.97:4734 Uptime:2d18:33:31 MAC:08:00:0F:6E:C9:41 IP(b/h NAT):192.168.0.184:6930 (proxy::minet_ssl)
2023-04-03 20:55:22.767-0500 38972 ch-2 IP:198.148.28.97:4734 Uptime:2d18:34:37 MAC:08:00:0F:6E:C9:41 IP(b/h NAT):192.168.0.184:6930 (proxy::minet_ssl)
2023-04-03 20:56:28.822-0500 38972 ch-2 IP:198.148.28.97:4734 Uptime:2d18:35:43 MAC:08:00:0F:6E:C9:41 IP(b/h NAT):192.168.0.184:6930 (proxy::minet_ssl)
Ralph
-
doesn't uptime give you what you want?
otherwise... you can grep the logs for that particular connection, 38972, to see it's full history
ie.
tugcat | grep " 38972 "
zcat /var/log/tug/tug_*.gz | grep " 38972 "
the first is today's logs, the second will go all the way back as far as the logs go.
-
i should add that info to tugstats... the connection timestamp.
-
That may be what I'm looking for.
tugcat | grep " 38972 "
zcat /var/log/tug/tug_*.gz | grep " 38972 "
But I did find that if I search the tug logs for "Connection to ICP established" I get what I'm looking for as well.
Thanks.
Ralph