Monitor Configuration Snapshots for Errors

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
gkramps
Posts: 11
Joined: Tue Apr 17, 2018 9:47 am

Monitor Configuration Snapshots for Errors

Post by gkramps »

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".
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Monitor Configuration Snapshots for Errors

Post by scottwilkerson »

You could look for recent files in this directory

Code: Select all

ls -l /usr/local/nagiosxi/nom/checkpoints/nagioscore/errors/
there will be a new file if there is a config error
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
gkramps
Posts: 11
Joined: Tue Apr 17, 2018 9:47 am

Re: Monitor Configuration Snapshots for Errors

Post by gkramps »

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

Post by scottwilkerson »

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.
Great!

Locking thread
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked