checking services with check_nt
Gaurang Pandya
gaubrig at yahoo.com
Thu May 20 19:26:56 CEST 2004
The name of service has to be specified as given in
Windows Registry. Its under
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services
for example to monitor RPC Service you have to use
string "RpcSs" I think it case sensitive. I use it and
am successfully able to monitor so many services.
for your info here are few of the names that you are
looking for
ClipBook: ClipSrv
Nagios Agent: NSClient
Telnet : TlntSvr.
the best way (i think) to find this is goto that key
and press F3 and find for your service type its name
this should help you.
Gaurang.
--- Chris Purcell <lists at cjp.us> wrote:
> Nagios 1.1
> Red Hat Linux 9.0
>
> I'm having a problem with the check_nt plugin. It
> only works for one or
> two services and the rest return "ServiceName:
> Unknown".
>
> This example doesn't work, I wonder if its because
> of the spaces in the
> name...
>
> root at reaction etc#
> /usr/local/nagios/libexec/check_nt -H 192.0.1.60 -v
> SERVICESTATE -l 'NetSaint NT Agent'
> NetSaint NT Agent: Unknown
>
> This one works...
>
> root at reaction etc#
> /usr/local/nagios/libexec/check_nt -H 192.0.1.60 -v
> SERVICESTATE -l 'Alerter'
> Alerter: Stopped
>
> This two don't work for some reason...
> root at reaction etc#
> /usr/local/nagios/libexec/check_nt -H 192.0.1.60 -v
> SERVICESTATE -l 'ClipBook'
> ClipBook: Unknown
> root at reaction etc#
> /usr/local/nagios/libexec/check_nt -H 192.0.1.60 -v
> SERVICESTATE -l 'Telnet'
> Telnet: Unknown
>
> Am I doing something wrong here? Do I have to
> specify a password with
> '-s password'? I tried that but it doesn't work.
> Is it possible to
> specify a username to log in with as well?
>
> Thanks,
> Chris
>
>
>
>
>
>
-------------------------------------------------------
> This SF.Net email is sponsored by: Oracle 10g
> Get certified on the hottest thing ever to hit the
> market... Oracle 10g.
> Take an Oracle 10g class now, and we'll give you the
> exam FREE.
> http://ads.osdn.com/?ad_id149&alloc_id66&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/nulld OS when reporting any issue.
> ::: Messages without supporting info will risk being
> sent to /dev/null
__________________________________
Do you Yahoo!?
Yahoo! Domains Claim yours for only $14.70/year
http://smallbusiness.promotions.yahoo.com/offer
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&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