Author Topic: MBG Minet phone connection logs  (Read 1918 times)

Offline ralph

  • Mitel Forums Admin
  • Hero Member
  • *****
  • Posts: 5767
  • Country: us
  • Karma: +469/-0
  • Published Author: http://amzn.to/2dcYSY5
    • View Profile
MBG Minet phone connection logs
« 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


Offline dilkie

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 344
  • Karma: +11/-0
    • View Profile
Re: MBG Minet phone connection logs
« Reply #1 on: April 03, 2023, 04:25:57 PM »
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.

Offline ralph

  • Mitel Forums Admin
  • Hero Member
  • *****
  • Posts: 5767
  • Country: us
  • Karma: +469/-0
  • Published Author: http://amzn.to/2dcYSY5
    • View Profile
Re: MBG Minet phone connection logs
« Reply #2 on: April 04, 2023, 10:10:44 AM »
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:
Quote
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

Offline dilkie

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 344
  • Karma: +11/-0
    • View Profile
Re: MBG Minet phone connection logs
« Reply #3 on: April 04, 2023, 10:15:53 AM »
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.

Offline dilkie

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 344
  • Karma: +11/-0
    • View Profile
Re: MBG Minet phone connection logs
« Reply #4 on: April 04, 2023, 10:17:35 AM »
i should add that info to tugstats... the connection timestamp.

Offline ralph

  • Mitel Forums Admin
  • Hero Member
  • *****
  • Posts: 5767
  • Country: us
  • Karma: +469/-0
  • Published Author: http://amzn.to/2dcYSY5
    • View Profile
Re: MBG Minet phone connection logs
« Reply #5 on: April 04, 2023, 10:26:43 AM »
That may be what I'm looking for.
Quote
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


 

Sitemap 1 2 3 4 5 6 7 8 9 10