Author Topic: Mitel 5000 Syslogs  (Read 2010 times)

Offline thekrazykaveman

  • New Member
  • *
  • Posts: 2
  • Country: us
  • Karma: +0/-0
    • View Profile
Mitel 5000 Syslogs
« on: July 18, 2017, 07:24:55 AM »
Good morning,

My boss has asked me to reach out to this community because we are having trouble determining how to send syslogs from the Mitel 5000 platform.  Ideally we'd like them to send logs to my Graylog server for monitoring.  Thanks for any help in advance.

TheKrazyKaveman


Offline Tech Electronics

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2983
  • Country: us
  • Karma: +89/-1
    • View Profile
Re: Mitel 5000 Syslogs
« Reply #1 on: July 18, 2017, 07:39:47 AM »
thekrazykaveman,

What logs in particular are you looking for?

Thanks,

TE

Offline thekrazykaveman

  • New Member
  • *
  • Posts: 2
  • Country: us
  • Karma: +0/-0
    • View Profile
Re: Mitel 5000 Syslogs
« Reply #2 on: July 18, 2017, 08:04:42 AM »
Basically we want errors and to be notified of any programming changes made to the database.

Offline Tech Electronics

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2983
  • Country: us
  • Karma: +89/-1
    • View Profile
Re: Mitel 5000 Syslogs
« Reply #3 on: July 18, 2017, 08:12:31 AM »
thekrazykaveman,

Well, there in lies the issue I guess. The first set, "errors", is not an issue as those show up in the Message Print Logs that you can actively read. The other, "Programming Changes" is not an log that you can actively read nor will it send the information out, but you can download the entire set of logs or individual ones if you so choose.

I suggest just downloading the logs that you want when you need them and then parse them to get the information you want. You might be able to create a AutoIT script or something that will do all the work for you once you figure out what it is you want to do.

Thanks,

TE

Offline Dogbreath

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 396
  • Country: gb
  • Karma: +18/-0
    • View Profile
Re: Mitel 5000 Syslogs
« Reply #4 on: July 20, 2017, 10:08:08 AM »
It's not syslog, but you can use SCP to retrieve the DB Programming log from a 5000:

Code: [Select]
$ scp admin@192.168.16.235:/usr/local/intl/logs/cp/cp_database_log_2017-01-23_08-55-09.txt  .
admin@192.168.16.225's password:
/bin/stty: standard input: Invalid argument
/bin/stty: standard input: Invalid argument
cp_database_log_2017-01-23_08-55-09.txt                                     100%  125KB 268.0KB/s   00:00   

Unfortunately as you can see, I had to specify the full, random filename so it's not going to be particularly easy to automate. If you specify a wildcard, it will choke if more than one file matches. If you know that the system only rebooted once in 2017 you can take a shortcut:

Code: [Select]
$ scp admin@192.168.16.235:/usr/local/intl/logs/cp/cp_database_log_2017*  .
admin@192.168.16.225's password:
/bin/stty: standard input: Invalid argument
/bin/stty: standard input: Invalid argument
cp_database_log_2017-01-23_08-55-09.txt                                      100%  125KB 511.8KB/s   00:00   



You might have more luck scraping the web interface.
Who knows, Mitel added DHCP so they might eventually add syslog...


 

Sitemap 1 2 3 4 5 6 7 8 9 10