Scheduled ping checks not executing
Posted: Fri Apr 15, 2016 9:38 am
We have multiple Nagios servers set up that all execute all service checks properly except our ping checks which are constantly stuck in a pending state. A forced check works, but then subsequent scheduled checks still never execute. I am including the config files associated with these checks to provide information on how they are set up:
define service {
host_name HOSTNAME
service_description Ping
servicegroups Services
use xiwizard_linuxserver_ping_service
max_check_attempts 1
check_interval 5
retry_interval 1
check_period 24x7
notification_interval 15
notification_period 24x7
notifications_enabled 0
contact_groups siteops
notification_options w,c
_xiwizard nrpe
register 1
}
From servicetemplates.cfg:
define service {
name xiwizard_mailserver_ping_service
use xiwizard_generic_service
check_command check_xi_service_ping!3000.0!80%!5000.0!100%
register 0
}
define service {
name xiwizard_generic_service
check_command check_xi_service_none!!!!!!!!
is_volatile 0
max_check_attempts 5
check_interval 5
retry_interval 1
active_checks_enabled 1
passive_checks_enabled 1
check_period xi_timeperiod_24x7
parallelize_check 1
obsess_over_service 1
check_freshness 0
event_handler_enabled 1
flap_detection_enabled 1
process_perf_data 1
retain_status_information 1
retain_nonstatus_information 1
notification_interval 60
notification_period xi_timeperiod_24x7
notifications_enabled 1
register 0
}
From commands.cfg:
define command {
command_name check_xi_service_ping
command_line $USER1$/check_icmp -H $HOSTADDRESS$ -w $ARG1$,$ARG2$ -c $ARG3$,$ARG4$ -p 5
}
define command {
command_name check_icmp
command_line $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$
}
define command {
command_name check_ping
command_line $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5
}
from timeperiods.cfg:
define timeperiod {
timeperiod_name xi_timeperiod_24x7
alias 24x7
name xi_timeperiod_24x7
sunday 00:00-24:00
monday 00:00-24:00
tuesday 00:00-24:00
wednesday 00:00-24:00
thursday 00:00-24:00
friday 00:00-24:00
saturday 00:00-24:00
}
This is the only check on our servers that is not functioning properly, any help would be greatly appreciated
define service {
host_name HOSTNAME
service_description Ping
servicegroups Services
use xiwizard_linuxserver_ping_service
max_check_attempts 1
check_interval 5
retry_interval 1
check_period 24x7
notification_interval 15
notification_period 24x7
notifications_enabled 0
contact_groups siteops
notification_options w,c
_xiwizard nrpe
register 1
}
From servicetemplates.cfg:
define service {
name xiwizard_mailserver_ping_service
use xiwizard_generic_service
check_command check_xi_service_ping!3000.0!80%!5000.0!100%
register 0
}
define service {
name xiwizard_generic_service
check_command check_xi_service_none!!!!!!!!
is_volatile 0
max_check_attempts 5
check_interval 5
retry_interval 1
active_checks_enabled 1
passive_checks_enabled 1
check_period xi_timeperiod_24x7
parallelize_check 1
obsess_over_service 1
check_freshness 0
event_handler_enabled 1
flap_detection_enabled 1
process_perf_data 1
retain_status_information 1
retain_nonstatus_information 1
notification_interval 60
notification_period xi_timeperiod_24x7
notifications_enabled 1
register 0
}
From commands.cfg:
define command {
command_name check_xi_service_ping
command_line $USER1$/check_icmp -H $HOSTADDRESS$ -w $ARG1$,$ARG2$ -c $ARG3$,$ARG4$ -p 5
}
define command {
command_name check_icmp
command_line $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$
}
define command {
command_name check_ping
command_line $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5
}
from timeperiods.cfg:
define timeperiod {
timeperiod_name xi_timeperiod_24x7
alias 24x7
name xi_timeperiod_24x7
sunday 00:00-24:00
monday 00:00-24:00
tuesday 00:00-24:00
wednesday 00:00-24:00
thursday 00:00-24:00
friday 00:00-24:00
saturday 00:00-24:00
}
This is the only check on our servers that is not functioning properly, any help would be greatly appreciated