Monitor Setup Automation
Posted: Thu Sep 12, 2013 8:31 am
We are currently using nagios core and evaluating Nagios XI. Right now when we setup an application server we have a job that automatically adds the application server monitor and disables it until the developer deploys their code. The monitor is created using a sed script which just outputs the definition to the host file. (Our host and services are all stored within a single file). When the developer deploys their code the startup script for tomcat sends a command to nagios.cmd which then turns on the alerts for that service.
From what I read in XI the configs are stored in a database which then writes out the config file. Is this correct? If that is the case what happens if we update the config file with our scripts?
I read about the XI api, but it looks like that is read only. Is there a better way to automate the setup of a host and/or service check?
From what I read in XI the configs are stored in a database which then writes out the config file. Is this correct? If that is the case what happens if we update the config file with our scripts?
I read about the XI api, but it looks like that is read only. Is there a better way to automate the setup of a host and/or service check?