I'm using Nagios Core 3.5.1 for more than 2 years. Everything looks fine.
A few days ago I configured some additional passive (NSCA) checks to get root partition amount available for host " vnode2-concert-site".
This is Warning config for the service:
This is contacts.cfgdefine service{
hostgroup_name root-partition-status-passive
service_description root partition amount
check_command run-nsca-script
max_check_attempts 1
check_interval 1
retry_interval 1
active_checks_enabled 0
passive_checks_enabled 1
check_period 24x7
contacts pagerduty-warning
notification_interval 30
notification_period 24x7
notification_options w
notifications_enabled 1
check_freshness 0
freshness_threshold 60
flap_detection_enabled 0
is_volatile 0
}
this is hostgroup filedefine contact {
contact_name pagerduty-critical
alias pagerduty-critical
host_notifications_enabled 1
service_notifications_enabled 1
host_notification_period 24x7
service_notification_period 24x7
host_notification_options d
service_notification_options c
host_notification_commands notify-host-by-pagerduty
service_notification_commands notify-service-by-pagerduty
pager xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
}
define contact {
contact_name pagerduty-warning
alias pagerduty-warning
host_notifications_enabled 1
service_notifications_enabled 1
host_notification_period 24x7
service_notification_period 24x7
host_notification_options u
service_notification_options w,u
host_notification_commands notify-host-by-pagerduty
service_notification_commands notify-service-by-pagerduty
pager xxxxxxxxxxxxxxxxxxxxxxxxxxxx
}
this is example of log lines on nagios serverdefine hostgroup {
hostgroup_name root-partition-status-passive
alias machines with root partition amount passive checks
members probe2-condor-site, probe2-concert-site, dbnode1-concert-site,vnode3-concert-site, vnode2-concert-site
}
So, as you can see passive checks result was sent to server successfully.Sep 24 12:38:12 callme-crt-vnode1 nagios: PASSIVE SERVICE CHECK: vnode2-concert-site;root partition amount;1;WARNING. root partition Size=519G Available=85G Used%=83%
Sep 24 12:39:03 callme-crt-vnode1 nsca[10047]: SERVICE CHECK -> Host Name: 'vnode2-concert-site', Service Description: 'root partition amount', Return Code: '1', Output: 'WARNING. root partition Size=519G Available=84G Used%=83%'
I have indication (yellow line) on my web-interface.
But I don't see SERVICE_NOTIFICATION lines in my logs and as a result no phone(pager) notifications.
What else should I check?
Strange enough all other passive checks are working just fine.
Thank you.