check_nt

XeloQ Comms tjapko at xeloq.com
Mon Apr 5 20:55:39 CEST 2004


Thanks, It is getting wierder though. Some services always return a not
running status when parameter SERVICESTATE is used although they are
running. Executing the same command on the same service but with PROCSTATE
variable gives me a better result. So merely fixed this issue and the double
quotes are indeed a solution to define more words in a service name. Tjapko.

-----Original Message-----
From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Jack Doyle
Sent: Lunes, 05 de Abril de 2004 09:17 a.m.
To: nagios-users at lists.sourceforge.net
Subject: RE: [Nagios-users] check_nt


Weird... I had one with three words and putting it in double-quotes
worked for me...

        check_command                   check_nt_service!"Client for
NFS"

-----
John N. Doyle, Network+ Certified Professional
Systems Operations Specialist
Lewis-Gale Clinic Information Systems

540.772.3669

>PGP Key Available: http://68.106.83.67:8082/pgp.txt


-----Original Message-----
From: XeloQ Communications [mailto:tjapko at xeloq.com]
Sent: Saturday, April 03, 2004 4:05 PM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] check_nt


Hello list,

I do have check_nt running fine with the next exception. When I specify
the -v parameter with SERVICESTATE and the -l parameter with a
servicename that is 1 whole word all is fine. When the service name
consist out of 2 or more words it seems to pick only the first word.

check_nt -H 200.100.100.100 -v SERVICESTATE -l MONITOR TOOL does not
return the expected values.

When I put "MONITOR TOOL" like this the same result. When I recompile my
source and make 1 word all is fine.

Is it possible to query a service that has more than 1 word in its name?
All the other -v parameters are running excellent by the way.


Thanks,

Tjapko.





-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when
reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&opLk
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting
any issue.
::: Messages without supporting info will risk being sent to /dev/null

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.650 / Virus Database: 416 - Release Date: 04/04/2004

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.650 / Virus Database: 416 - Release Date: 04/04/2004



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list