Alerts are not working

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
gimeb
Posts: 93
Joined: Mon Jan 25, 2016 1:56 pm

Re: Alerts are not working

Post by gimeb »

After the last change of setting the thresholds to 0 and 0 I started receiving the alerts. See below and let me know what is the issue, i.e. what should be done to correctly set the values

Apache-200-Response came back with a CRITICAL state at Mon, 15 Feb 2016 15:28:51 -0800
The alert was processed with the following thresholds:
• Lookback period: 60s
• Warning: 0
• Critical: 0
Here is the full alert output:
CRITICAL: 1 matching entries found |logs=1;0;0
See the last 60s in the Nagios Log Server dashboard.
Nagios Log Server
Gary
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: Alerts are not working

Post by jolson »

See below and let me know what is the issue, i.e. what should be done to correctly set the values
I'm not sure what you're asking for - what result are you hoping to achieve? It looks like everything is working fine now.
Twits Blog
Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
gimeb
Posts: 93
Joined: Mon Jan 25, 2016 1:56 pm

Re: Alerts are not working

Post by gimeb »

My understanding that my original settings of Check Interval 5m and Loopback of 5min with thresholds of 1 and 3 should produce alerts for the "200" messages occurring every minute. See the attachments of the query I have provided before. And I do not have to tweak the settings to 60sec with thresholds to 0 and 0 to force them. Please let me know if my understanding is correct
Gary
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: Alerts are not working

Post by jolson »

My understanding that my original settings of Check Interval 5m and Loopback of 5min with thresholds of 1 and 3 should produce alerts for the "200" messages occurring every minute.
It is worth understanding that the threshold setting is by default a _greater than_ setting - meaning that if you set it to 1, Nagios Log Server will send you an alert when _more than 1_ log shows up in your query.
Twits Blog
Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
gimeb
Posts: 93
Joined: Mon Jan 25, 2016 1:56 pm

Re: Alerts are not working

Post by gimeb »

As such if the "200" messages are occurring in the log every minute I should be alerted within 5min interval since I will have 5 of "200" messages which will satisfy my critical threshold of 1 and 3. As I correct?
Gary
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: Alerts are not working

Post by jolson »

As such if the "200" messages are occurring in the log every minute I should be alerted within 5min interval since I will have 5 of "200" messages which will satisfy my critical threshold of 1 and 3. As I correct?
Yes. If you have 5 events enter the dashboard (and your thresholds are 1 and 3 respectively) you'll receive alerts when you have more than one or three alerts.
Twits Blog
Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
gimeb
Posts: 93
Joined: Mon Jan 25, 2016 1:56 pm

Re: Alerts are not working

Post by gimeb »

The original settings did not worked and we had to tweak the setting to force the alerts. This is the reason I am posing the question and would like to know if this an issue with the product or am I doing something wrong.
Gary
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Alerts are not working

Post by hsmith »

I thought it was working with the new thresholds? What would you like us to clarify on?
Former Nagios Employee.
me.
gimeb
Posts: 93
Joined: Mon Jan 25, 2016 1:56 pm

Re: Alerts are not working

Post by gimeb »

I have created a dashboard that shows hits for particular application. How to set up an alert on the hit count that was exceeded. For example: Recall Service application was hit more than 15 times during 10 sec interval. I have attached the document with screen print of the dashboard and Recall Service application.
You do not have the required permissions to view the files attached to this post.
Gary
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Alerts are not working

Post by Box293 »

Does this work:
Selection_024.png
You do not have the required permissions to view the files attached to this post.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked