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
Send Alarm when "Last Check" time not updated on passive service
Send Alarm when "Last Check" time not updated on passive service
You do not have the required permissions to view the files attached to this post.
Re: Send Alarm when "Last Check" time not updated on passive service
Hi @Anto,
I believe you can accomplish what you are looking to do here with Freshness Checks on your passive service check:
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
The section in the above link marked "Extending Passive Checks With Freshness Checks" should contain the steps you need to enable this for whatever threshold works for you here. Let us know if you have more questions about this!
I believe you can accomplish what you are looking to do here with Freshness Checks on your passive service check:
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
The section in the above link marked "Extending Passive Checks With Freshness Checks" should contain the steps you need to enable this for whatever threshold works for you here. Let us know if you have more questions about this!
Re: Send Alarm when "Last Check" time not updated on passive service
Hi @jsimon
Thank you for the suggestion, this is very nice solution.
kind regards
Antonello
Thank you for the suggestion, this is very nice solution.
kind regards
Antonello