Page 1 of 1
Sharing ack's and downtime between nagios hosts
Posted: Thu Dec 17, 2015 10:28 am
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
Re: Sharing ack's and downtime between nagios hosts
Posted: Thu Dec 17, 2015 5:53 pm
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