Store only host/service state change in nagios log
Posted: Tue Oct 04, 2016 3:39 am
Good morning all,
in order to compute statistics on host/service availability, I need to optimize nagios logging.
Currently, all checks on host and services are stored in logs, i.e. all 5 minutes if OK and all 1 minutes if DOWN. If my service is ok during the day I have 288 state OK stored in my log. If the state is DOWN, I have 1440 down.
Do you know how to configure nagios to store only state change in my log ?
Thank you in advance for your help,
Best regards,
Benoit Village
in order to compute statistics on host/service availability, I need to optimize nagios logging.
Currently, all checks on host and services are stored in logs, i.e. all 5 minutes if OK and all 1 minutes if DOWN. If my service is ok during the day I have 288 state OK stored in my log. If the state is DOWN, I have 1440 down.
Do you know how to configure nagios to store only state change in my log ?
Thank you in advance for your help,
Best regards,
Benoit Village