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
Nagios shows: "Service check is pending." error always.
Re: Nagios shows: "Service check is pending." error always.
Just an update on this...
This issue is happening only when "Sendmail" is used in "Service Description"... It looks like some how this entry is causing problem. When I change the 'service Description' from sendmail to any thing else (like mail, Mail server etc..) everything works fine.
I sendmail as service desc on another test machine, however, it works fine.
So looks like on the other server, "sendmail" in service description is causing some issue.
Any ideas to debug this?
Thanks, Vin
This issue is happening only when "Sendmail" is used in "Service Description"... It looks like some how this entry is causing problem. When I change the 'service Description' from sendmail to any thing else (like mail, Mail server etc..) everything works fine.
I sendmail as service desc on another test machine, however, it works fine.
So looks like on the other server, "sendmail" in service description is causing some issue.
Any ideas to debug this?
Thanks, Vin
Re: Nagios shows: "Service check is pending." error always.
We did have a bug in a previous release that behaved like this with host name and host alias changes. What version of XI are you running? I might suggest upgrading to 2011R1.5 if you are running an earlier version and see if that resolves the issue.