possible to negate the alert?

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
User avatar
nozlaf
Posts: 172
Joined: Sun Nov 09, 2014 9:50 pm
Location: Victoria, Australia

possible to negate the alert?

Post by nozlaf »

Alerts only seem to be possible if the query returns a hit, i want to alert if a query does not return a hit


e.g. I want to query for a username in a log, if the user does not login for 20 days I want to send an alert.

is this possible?
Looking forward to seeing you all at #NagiosCon2019?
-Dedicated Lover of Nconf,PNP4Nagios and Nagvis
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: possible to negate the alert?

Post by rkennedy »

Sure is! Set the lookback / check interval to 20d with the thresholds at 1: for warning and critical.
Former Nagios Employee
User avatar
nozlaf
Posts: 172
Joined: Sun Nov 09, 2014 9:50 pm
Location: Victoria, Australia

Re: possible to negate the alert?

Post by nozlaf »

thanks ill give it a try
Looking forward to seeing you all at #NagiosCon2019?
-Dedicated Lover of Nconf,PNP4Nagios and Nagvis
User avatar
nozlaf
Posts: 172
Joined: Sun Nov 09, 2014 9:50 pm
Location: Victoria, Australia

Re: possible to negate the alert?

Post by nozlaf »

would help if i had just hovered over the ? right
Looking forward to seeing you all at #NagiosCon2019?
-Dedicated Lover of Nconf,PNP4Nagios and Nagvis
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: possible to negate the alert?

Post by mcapra »

Perhaps :P Though there are significant efforts being made to have the GUI explain topics such as that more effectively.
Former Nagios employee
https://www.mcapra.com/
Locked