Alerts not working while triggering conditions occur

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
McKarp
Posts: 4
Joined: Wed Jun 08, 2016 9:43 am

Alerts not working while triggering conditions occur

Post by McKarp »

Hello,

I am interested in having alerts sent by email once certain type of logs exceeds specific limit in a specific amount of time.
I have configured the log sources, I have specific filters and queries made for the log message I am interested in. Screen below shows that the log message appears quite often.
1.png
I have set up an alert: send me a message if too many messages last 600, check every 30.
Mail delivery is working, I get it when I trigger alert manually.
But alert does not work automatically.
Here is the alarm configuration:
2.png
I have tried with manual NLS installation, with VM.
I have tried with ridiculously low warning and alert thresholds - no clue.
Can you help me, what possibly could be wrong here?
You do not have the required permissions to view the files attached to this post.
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Alerts not working while triggering conditions occur

Post by hsmith »

Let's try to reset your jobs.

Administration > System > Command Subsystem > Reset All Jobs.
Former Nagios Employee.
me.
McKarp
Posts: 4
Joined: Wed Jun 08, 2016 9:43 am

Re: Alerts not working while triggering conditions occur

Post by McKarp »

Thank you for your response.
It did solve my issue.

Is it mandatory to reset jobs after each change to the alerts?
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Alerts not working while triggering conditions occur

Post by hsmith »

It shouldn't be.. I'm not sure what causes the jobs to get stuck occasionally. Did you do anything before you noticed this happen? Last time my jobs were stuck it was after restoring from a backup.
Former Nagios Employee.
me.
McKarp
Posts: 4
Joined: Wed Jun 08, 2016 9:43 am

Re: Alerts not working while triggering conditions occur

Post by McKarp »

Nope, it was a fresh install.
Now I can modify alerts without having to reset the jobs.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Alerts not working while triggering conditions occur

Post by rkennedy »

Awesome! Are we good to close this one out and mark it as resolved?
Former Nagios Employee
McKarp
Posts: 4
Joined: Wed Jun 08, 2016 9:43 am

Re: Alerts not working while triggering conditions occur

Post by McKarp »

Yes, please do mark the issue as resolved. Thank you!
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Alerts not working while triggering conditions occur

Post by mcapra »

Closing this thread!
Former Nagios employee
https://www.mcapra.com/
Locked