Welcome, Guest. Please login or register.

Author Topic: Populate network devices in Nagios from NeDi  (Read 167 times)

dohco

  • Newbie
  • *
  • Posts: 27
    • View Profile
Populate network devices in Nagios from NeDi
« on: September 11, 2017, 10:09:06 AM »
So, adding/removing network devices manually in Nagios didn't work in the long run.  ::)

This script import all my network devices from NeDi to Nagios once an hour. This way Nagios will get new devices to monitor whenever NeDi discover new devices and they will be removed from Nagios when I delete them in NeDi. One DB to rule them all.  ;)

Read the ReadMe.txt file for instructions if you want to set it up.
I chose to do a direct MySQL connection instead of using the API to avoid any problem with SSL.

As usual; this is me sharing a script developed for my personal use. Use at your own risk!

/Conny
« Last Edit: September 18, 2017, 10:28:40 AM by dohco »

rickli

  • Administrator
  • Hero Member
  • *****
  • Posts: 2539
    • View Profile
    • NeDi
Re: Populate network devices in Nagios from NeDi
« Reply #1 on: September 13, 2017, 04:19:55 PM »
Cool, thanks for contributing your work!
Please consider Other-Invoices on your NeDi installation for an annual contribution, tx!
-Remo