Check_nt win2k service states and nagios
Neil Lehouillier
NLehouillier at comptonpetroleum.com
Fri Oct 31 22:01:46 CET 2003
Hi All,
I'm having a problem monitoring some Win 2k exchange services using
nagios and check_nt from nsclient. When I execute the following from
the command line su'd to nagios(ie...su - nagios) I get the following:
usr/local/nagios/libexec/check_nt -H 192.168.0.7 -s password123 -v
SERVICESTATE -d SHOWALL -l SMTPSVC,AVExch32Service
SMTPSVC: Started - AVExch32Service: Started
But within nagios on the http web page I get:
Service Checks(SMTP,AV)
WARNING 10-31-2003 09:00:54 0d 0h 6m 11s 1/1 SMTPSVC: Started -
AVExch32Service$: Unknown
Here is the definition in the services.cfg file:
define service {
host_name Exchange
service_description Service Checks(SMTP,AV)
register 1
max_check_attempts 1
normal_check_interval 3
retry_check_interval 1
check_period 24x7
notification_interval 0
notification_period 24x7
notification_options w,u,c,r
contact_groups ntadmins
check_command "/usr/local/nagios/libexec/check_nt -H 192.168.0.7 -s
password123 -v SERVICESTATE -d SHOWALL -l SMTPSVC,AVExch32Service"
Has anyone seen this problem before.......?
Thanks...
Neil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20031031/5bfbe396/attachment.html>
More information about the Users
mailing list