Solution to manage tons of nodes and tests in Nagios XI
Posted: Tue Jan 05, 2021 1:49 pm
Hi, we are using Nagios since many many years and with the time we added tons of nodes (servers, switches, IoT, etc..) with many test. Our environment is Windows and Linux and all kind of other things.
I'm always facing the same issue and I didn't find any good solution regarding that so I'm asking you. Maybe my google is not good enough ;-(
It's possible to manage the Nagios XI Configuration as Code. Like
For all Linux, use this set of services monitoring
For all Windows, use this set services monitoring
For all production use this set of notification
etc..
Don't tell me to play with Template, they are good but not dynamic and they do not change a server configuration if I decide to add a new based services in the All Linux template.
Another idea I got is to run a report and check which server doesn't have this kind of test and then do the change manually. But I prefer something like Ansible with playbook that will recreate the entire Nagios configuration based on the playbook.
I found some few thing with Nagios + Ansible but it's mostly to deploy the client.
My goal is to have a consistency in the Nagios configuration and not having a surprise on "Yeah we added this server last week and forgot to add a monitor for the root filesystem".
Thanks
I'm always facing the same issue and I didn't find any good solution regarding that so I'm asking you. Maybe my google is not good enough ;-(
It's possible to manage the Nagios XI Configuration as Code. Like
For all Linux, use this set of services monitoring
For all Windows, use this set services monitoring
For all production use this set of notification
etc..
Don't tell me to play with Template, they are good but not dynamic and they do not change a server configuration if I decide to add a new based services in the All Linux template.
Another idea I got is to run a report and check which server doesn't have this kind of test and then do the change manually. But I prefer something like Ansible with playbook that will recreate the entire Nagios configuration based on the playbook.
I found some few thing with Nagios + Ansible but it's mostly to deploy the client.
My goal is to have a consistency in the Nagios configuration and not having a surprise on "Yeah we added this server last week and forgot to add a monitor for the root filesystem".
Thanks