Sharing ack's and downtime between nagios hosts

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
mleo40
Posts: 37
Joined: Tue Jan 27, 2015 10:21 pm

Sharing ack's and downtime between nagios hosts

Post by mleo40 »

Where does nagios core 4.1.1 store acks' or scheduled downtime for hosts or services?

I would then ask if I can copy that information between 2 different nagios hosts to keep them (somewhat) insync.

Thanks
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Sharing ack's and downtime between nagios hosts

Post by ssax »

They are actually stored in /usr/local/nagios/var/status.dat and in /usr/local/nagios/var/retention.dat.

Then retention.dat file is created for when the nagios process is restarted, the status.data file is recreated every time nagios is restarted. Non persistent comments are only stored in status.dat.

Please read more here:

Code: Select all

https://assets.nagios.com/downloads/nagioscore/docs/nagioscore/3/en/configmain.html#status_file
and here:

Code: Select all

https://assets.nagios.com/downloads/nagioscore/docs/nagioscore/3/en/configmain.html#state_retention_file
Locked