I'm working on Nagios Core 4.0.8 running on a Centos 7 machine and I noticed that service notifications are not sent in case the host is in a down state.
I know this is logical to have, however in case our setup requires precise service notifications regardless of the host state can this be configured in any way ?
I checked all change logs and documentation of nagios core 4.xx however couldn't find any description of this.
The configuration i'm using doesn't have any dependencies set for either hosts or services and notifications work fine for both host and service as long as the host is not in a down state.
Here are the nagios logs:
Code: Select all
[1458110500] SERVICE ALERT: xxx.xxx.com;Check Multi;CRITICAL;SOFT;1;CRITICAL - 6 plugins checked, 1 critical (distributed_check), 5 ok
[1458110520] HOST ALERT: xxx.xxx.com;DOWN;SOFT;1;UNKNOWN - 6 plugins checked, 1 unknown (distributed_check), 5 ok
[1458110560] SERVICE ALERT: xxx.xxx.com;Check Multi;CRITICAL;SOFT;2;CRITICAL - 6 plugins checked, 1 critical (distributed_check), 5 ok
[1458110580] HOST ALERT: xxx.xxx.com;DOWN;SOFT;2;UNKNOWN - 6 plugins checked, 1 unknown (distributed_check), 5 ok
[1458110620] SERVICE ALERT: xxx.xxx.com;Check Multi;CRITICAL;HARD;3;CRITICAL - 6 plugins checked, 1 critical (distributed_check), 5 ok
[1458110641] HOST ALERT: xxx.xxx.com;DOWN;HARD;3;CRITICAL - 6 plugins checked, 1 critical (distributed_check), 5 ok
[1458110641] HOST NOTIFICATION: contact1;xxx.xxx.com;DOWN;notify-host-by-email;CRITICAL - 6 plugins checked, 1 critical (distributed_check), 5 okCode: Select all
[1458110620.975715] [032.0] [pid=24363] ** Service Notification Attempt ** Host: 'xxx.xxx.com', Service: 'Check Multi', Type: NORMAL, Options: 0, Current State: 2, Last Notification: Wec 31 19:00:00 1969
[1458110620.976508] [032.1] [pid=24363] The host is either down or unreachable, so we won't notify contacts about this service.
[1458110620.976645] [032.0] [pid=24363] Notification viability test failed. No notification will be sent out.
[1458110641.260207] [032.0] [pid=24363] ** Host Notification Attempt ** Host: 'xxx.xxx.com', Type: NORMAL, Options: 0, Current State: 1, Last Notification: Wed Dec 31 19:00:00 1969
[1458110641.260262] [032.0] [pid=24363] Notification viability test passed.
[1458110641.260275] [032.1] [pid=24363] Current notification number: 1 (incremented)
[1458110641.260288] [032.1] [pid=24363] Host notification will NOT be escalated.
[1458110641.260305] [032.1] [pid=24363] Adding normal contacts for host to notification list.
[1458110641.260536] [032.0] [pid=24363] 1 contacts were notified. Next possible notification time: Wed Mar 16 03:14:01 2016
[1458110641.260548] [032.0] [pid=24363] 1 contacts were notified.Thanks