Nagios shows: "Service check is pending." error always.
Posted: Mon Jul 04, 2011 6:27 am
Dear Support,
We are in process of evaluating Nagios XI.
We have created the following service template in servicetemplates.cfg
define service {
name linux-send_mail-ser
service_description Sendmail Service
check_command check_nrpe!check_init_service!-a 'sendmail'
max_check_attempts 3
check_interval 5
retry_interval 5
active_checks_enabled 1
check_period 24x7
flap_detection_enabled 0
notification_interval 0
notification_period 24x7
notification_options r,c
notifications_enabled 1
contacts pagerduty
register 0
}
and have created the following service:
define service {
host_name server1, server2, server3
service_description sendmail
use linux-send_mail-ser
register 1
}
However, in "Hostgroup Grid", when we click on this service, it shows, "service check is pending..." for two of them, however, for one them it shows fine. But in actual the services are checked as notification is sent when they are down. They are just not refreshing status. I tried deleting and creating the service template many times, however, its still the same. And this happens only for the "sendmail" service. Looks like there is some date in database that is not getting deleted.
Following are the details of the system:
2.6.21.7-2.fc8xen #1 SMP Fri Feb 15 12:34:28 EST 2008 x86_64 x86_64 x86_64 GNU/Linux
CentOS release 5.6 (Final)
Manual Installation.
SSL is configured.
Please help us as this is stopping us to move further in evaluation.
Please let me know if further details are needed.
Thanks in advance!
Regards,
Vin
We are in process of evaluating Nagios XI.
We have created the following service template in servicetemplates.cfg
define service {
name linux-send_mail-ser
service_description Sendmail Service
check_command check_nrpe!check_init_service!-a 'sendmail'
max_check_attempts 3
check_interval 5
retry_interval 5
active_checks_enabled 1
check_period 24x7
flap_detection_enabled 0
notification_interval 0
notification_period 24x7
notification_options r,c
notifications_enabled 1
contacts pagerduty
register 0
}
and have created the following service:
define service {
host_name server1, server2, server3
service_description sendmail
use linux-send_mail-ser
register 1
}
However, in "Hostgroup Grid", when we click on this service, it shows, "service check is pending..." for two of them, however, for one them it shows fine. But in actual the services are checked as notification is sent when they are down. They are just not refreshing status. I tried deleting and creating the service template many times, however, its still the same. And this happens only for the "sendmail" service. Looks like there is some date in database that is not getting deleted.
Following are the details of the system:
2.6.21.7-2.fc8xen #1 SMP Fri Feb 15 12:34:28 EST 2008 x86_64 x86_64 x86_64 GNU/Linux
CentOS release 5.6 (Final)
Manual Installation.
SSL is configured.
Please help us as this is stopping us to move further in evaluation.
Please let me know if further details are needed.
Thanks in advance!
Regards,
Vin