Send Alarm when "Last Check" time not updated on passive service

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Post Reply
Anto
Posts: 16
Joined: Tue Aug 11, 2020 12:06 pm

Send Alarm when "Last Check" time not updated on passive service

Post by Anto »

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 ?
Screenshot 2023-12-18 093428.jpg
Regards
You do not have the required permissions to view the files attached to this post.
jsimon
Posts: 343
Joined: Wed Aug 23, 2023 11:27 am

Re: Send Alarm when "Last Check" time not updated on passive service

Post by jsimon »

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!
Anto
Posts: 16
Joined: Tue Aug 11, 2020 12:06 pm

Re: Send Alarm when "Last Check" time not updated on passive service

Post by Anto »

Hi @jsimon

Thank you for the suggestion, this is very nice solution.

kind regards
Antonello
Post Reply