Alert if NO logs are received

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
jabi27
Posts: 34
Joined: Thu Jan 19, 2017 4:30 pm

Alert if NO logs are received

Post by jabi27 »

Hi,

Any idea to create an alert if I haven't received any logs from a IP for ex 1 hour ?

Best

/Jan
jabi27
Posts: 34
Joined: Thu Jan 19, 2017 4:30 pm

Re: Alert if NO logs are received

Post by jabi27 »

Found it

"Thresholds - This is what triggers the alert. A common use of the host freshness check is to detect when a host is no longer sending logs to Nagios Log Server. By using 0 for both warning and critical this will trigger a critical condition. Host Freshness alerts run once per hour and observe logs over the same amount of time"
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Alert if NO logs are received

Post by cdienger »

That will do it. I'd only add out that alerts cant accept the Nagios threshold syntax which is covered in https://nagios-plugins.org/doc/guidelin ... HOLDFORMAT and the freshness checks work by searching the 'Not Sending' table under Reports.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked