Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
xerez
Posts: 77 Joined: Wed Apr 22, 2015 7:50 am
Post
by xerez » Mon Sep 28, 2015 3:53 am
Hi, I am testing alerts in Nagios, I simulated a critical error and after a recovery. In the GUI, in Notifications is fine:
Code: Select all
hostname Memory Usage OK 09-28-2015 10:24:56 nagiosadmin notify-service-by-email Virtual Memory: 32% Physical Memory: 58% (<90%) : OK
hostname Memory Usage CRITICAL 09-28-2015 10:19:54 nagiosadmin notify-service-by-email Virtual Memory: 32% used (3365 MB / 10649 MB) Physical Memory: 58% used (2371 MB / 4096 MB) (>20%) : CRITICAL
But the emails alerts arrived bad, first the recovery, and four minutes later the critical:
Code: Select all
***** Nagios *****
Notification Type: RECOVERY
Service: Memory Usage
Host: hostname
Address: ip
State: OK
Date/Time: Mon Sept 28 10:24:56 CEST 2015
Additional Info:
Virtual Memory: 32% Physical Memory: 58% (90%) : OK
Code: Select all
***** Nagios *****
Notification Type: PROBLEM
Service: Memory Usage
Host: hostname
Address: ip
State: CRITICAL
Date/Time: Mon Sept 28 10:19:54 CEST 2015
Additional Info:
Virtual Memory: 32% used (3365 MB / 10649 MB) Physical Memory: 58% used (2371 MB / 4096 MB) (20%) : CRITICAL
Why does happen it?
jdalrymple
Skynet Drone
Posts: 2620 Joined: Wed Feb 11, 2015 1:56 pm
Post
by jdalrymple » Mon Sep 28, 2015 11:35 am
This appears perfect to me.
They are using the same notification command so the problem must almost certainly be in your mailing system. Is it possible that your mailing system has some sort of a greylisting functionality that puts a hold on E-mails?
xerez
Posts: 77 Joined: Wed Apr 22, 2015 7:50 am
Post
by xerez » Tue Sep 29, 2015 1:54 am
No, but he moment it is working fine again, I don't know what could happen.
hsmith
Agent Smith
Posts: 3539 Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:
Post
by hsmith » Tue Sep 29, 2015 9:38 am
Let us know if it pops up again. I'll leave this topic open for now.
Former Nagios Employee.
me.