false notifications - SOFT -> OK (HARD)
Posted: Mon Sep 16, 2019 3:21 am
Good afternoon.
I noticed that nagios often receive false notifications.
Example:
max check attempts: 3
check interval: 1
retry interval: 1
If from the status of critical soft 2 goes to state ok, the status becomes hard 3 and an alert is sent:
[14-09-2019 01:17:32] SERVICE ALERT: server_stak_bld;check_ping;OK;HARD;3;PING OK - Packet loss = 0%, RTA = 1.81 ms
[14-09-2019 01:16:28] SERVICE ALERT: server_stak_bld;check_ping;CRITICAL;SOFT;2;PING CRITICAL - Packet loss = 0%, RTA = 15.39 ms
[14-09-2019 01:15:23] SERVICE ALERT: server_stak_bld;check_ping;CRITICAL;SOFT;1;PING CRITICAL - Packet loss = 0%, RTA = 10.76 ms
server_stak_bld check_ping OK 14-09-2019 01:17:32 24x7 notify-service-247-email PING OK - Packet loss = 0%, RTA = 1.81 ms
server_stak_bld check_ping OK 14-09-2019 01:17:32 24/7- sms notify-service-by-sms PING OK - Packet loss = 0%, RTA = 1.81 ms
server_stak_bld check_ping OK 14-09-2019 01:17:32 admin notify-service-by-email PING OK - Packet loss = 0%, RTA = 1.81 ms
I noticed that nagios often receive false notifications.
Example:
max check attempts: 3
check interval: 1
retry interval: 1
If from the status of critical soft 2 goes to state ok, the status becomes hard 3 and an alert is sent:
[14-09-2019 01:17:32] SERVICE ALERT: server_stak_bld;check_ping;OK;HARD;3;PING OK - Packet loss = 0%, RTA = 1.81 ms
[14-09-2019 01:16:28] SERVICE ALERT: server_stak_bld;check_ping;CRITICAL;SOFT;2;PING CRITICAL - Packet loss = 0%, RTA = 15.39 ms
[14-09-2019 01:15:23] SERVICE ALERT: server_stak_bld;check_ping;CRITICAL;SOFT;1;PING CRITICAL - Packet loss = 0%, RTA = 10.76 ms
server_stak_bld check_ping OK 14-09-2019 01:17:32 24x7 notify-service-247-email PING OK - Packet loss = 0%, RTA = 1.81 ms
server_stak_bld check_ping OK 14-09-2019 01:17:32 24/7- sms notify-service-by-sms PING OK - Packet loss = 0%, RTA = 1.81 ms
server_stak_bld check_ping OK 14-09-2019 01:17:32 admin notify-service-by-email PING OK - Packet loss = 0%, RTA = 1.81 ms