Is there a way I can monitor the "Configuration Snapshots" for any "Config Error" in the "Snapshot Result"?
The page I'm looking at is:
https://<nagios xi server>/nagiosxi/admin/coreconfigsnapshots.php.
We have some automated process running through Puppet that use the API. The processes run the api appliy configurations. I've gotten some Config Errors, where a contact group wasn't found. This has stopped the other hosts from collecting performance data, until I "activate" the missing contact group. I would like to be notified if there are any "Config Errors".
Monitor Configuration Snapshots for Errors
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Monitor Configuration Snapshots for Errors
You could look for recent files in this directory
there will be a new file if there is a config error
Code: Select all
ls -l /usr/local/nagiosxi/nom/checkpoints/nagioscore/errors/Re: Monitor Configuration Snapshots for Errors
Thanks for the information. I was able to develop a shell script that was able to do what I need. It's been setup as a Service now. You can close this post.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Monitor Configuration Snapshots for Errors
Great!gkramps wrote:Thanks for the information. I was able to develop a shell script that was able to do what I need. It's been setup as a Service now. You can close this post.
Locking thread