NeDi Community

NeDi Software Specific => Database => Topic started by: dohco on September 11, 2017, 10:09:06 AM

Title: Populate network devices in Nagios from NeDi
Post by: dohco 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
Title: Re: Populate network devices in Nagios from NeDi
Post by: rickli on September 13, 2017, 04:19:55 PM
Cool, thanks for contributing your work!