Send Alarm when "Last Check" time not updated on passive service
Posted: Mon Dec 18, 2023 8:06 am
Hi Team
I have a passive check that receive status updates from check_logfiles plugin monitoring a specific log file on a remote RHEL server.
The check_logfile plugin is actived by NCPA agent on the remote server.
Other than error log messages to be monitored, every 30 minutes in the log file appear also an health check message (also this is matched from check_logfile but with severity Normal) so that, the "Last Check" time when all is OK it is updated at least every 30 minutes.
I would have another alarm to raise when the health check message is not coming and the last check time is not updated for more than half hour.
Does anyone have a suggestion how to do this ? Regards
I have a passive check that receive status updates from check_logfiles plugin monitoring a specific log file on a remote RHEL server.
The check_logfile plugin is actived by NCPA agent on the remote server.
Other than error log messages to be monitored, every 30 minutes in the log file appear also an health check message (also this is matched from check_logfile but with severity Normal) so that, the "Last Check" time when all is OK it is updated at least every 30 minutes.
I would have another alarm to raise when the health check message is not coming and the last check time is not updated for more than half hour.
Does anyone have a suggestion how to do this ? Regards