autoimporter

auto_importer.pl

This script will allow you to automatically import passive checks submitted to nagios. So, if you have a NOC and make config additions on a 'node' it will automatically populate the nagios config and restart nagios.  

This has allowed for rapid deployment of monitoring to various sites.It runs via cron on the NOC or manually, depending on what you want. It's version .1 and could use some cleanup / work, which i will get to eventually. I also have a few features I want to add to make it 'smarter'. All in good time. For now, here's what I have.

If you set the sending nagios to prefix all hosts with something (aka silo1_server1) autoimporter will also generate hostgroups for them. Also, read the code. it's the documentation.Â