Nagios doesn't send notifications in order
Posted: 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:
But the emails alerts arrived bad, first the recovery, and four minutes later the critical:
Why does happen it?
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%) : CRITICALCode: 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