Hi,
We're planning to replace Nagios Core with Nagios XI in our multi-site environments. Let's say we have 6 different environments in total, and each of them will have a Nagios XI server assigned. Each Nagios XI server only monitors the hosts in the same environment, and all 6 Nagios servers will send notifications to PagerDuty for centralized reporting and escalation. We already have scripts to generate hosts/host groups configurations automatically, and what we are missing right now is one centralized configuration management portal in which our Ops team can add/modify check commands, notification options, thresholds for all 6 environments at the same time. Since we are still on Nagios Core at the moment we use this free tool called nConf to manage and deploy configuration changes for all 6 environments covering 5000+ hosts and 10000+ services, and it works pretty well for us. I'm wondering if such tool already exists in Nagios XI?
Thanks,
Steven
Centralized config management for Nagios XI (like nConf)?
-
nytstevenlu
- Posts: 12
- Joined: Mon Mar 10, 2014 10:34 am
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Centralized config management for Nagios XI (like nConf)
While I have heard of nConf, I'm not really familiar with it. but I will say this:
In Nagios XI we have a directory /usr/local/nagios/etc/static which is designed for use when you have scripts outside Nagios XI creating configuration files to be included in the monitoring.
If you have your scripts place the generated files in there and then restart nagios, you should be in good shape. The obvious limitation here is that you obviously cannot modify these configuration files through the XI interface..
In Nagios XI we have a directory /usr/local/nagios/etc/static which is designed for use when you have scripts outside Nagios XI creating configuration files to be included in the monitoring.
If you have your scripts place the generated files in there and then restart nagios, you should be in good shape. The obvious limitation here is that you obviously cannot modify these configuration files through the XI interface..
-
nytstevenlu
- Posts: 12
- Joined: Mon Mar 10, 2014 10:34 am
Re: Centralized config management for Nagios XI (like nConf)
Thanks for the quick reply! I think we do not prefer putting configuration files under the static directory as it might cause confusions when people who only use the web interface want to modify some configs. I think what we will do is have our Hudson/Jenkins server deploy the configuration files to /usr/local/nagios/etc/import and then run the reconfigure script on each nagios server. This is not ideal, but at least the configs can be modified via the web interface afterwards. It would be really nice if Nagios XI includes something like nConf though..