NSClient and check_nt command

David Maynard dmaynard at outserv.net
Fri Mar 14 20:08:14 CET 2003


It might be a problem with the performance data in Windows itself.  If you
search the Microsoft knowledge base, there are lots of articles about the
performance information becoming corrupted.  Unfortunately, I haven't seen
an easy solution that would apply in all cases.  There is a relatively
recent article at http://support.microsoft.com/?kbid=300956, but it involves
fairly drastic (and potentially dangerous) changes.  If that is your
problem, you might be able to fix it by just reloading some of the
performance counter information.  Try searching on support.microsoft.com for
"lodctr" since that is the command used to load the performance information.
Unfortunately, it will probably not be easy to sort through all of the
information.

Also, try uninstalling nsclient, rebooting, then reinstalling nsclient.  I
have seen that fix some problems.

Good luck.

-dpm


-----Original Message-----
From: Hugo Rebello [mailto:hugo.rebello at br.danzas.com] 
Sent: Friday, March 14, 2003 12:30 PM
To: Sandro Vaz (UOL); 'Sandro Vaz'; nagios-users at lists.sourceforge.net
Subject: RE: [Nagios-users] NSClient and check_nt command



Please, Could you send me your counters.defs ?
I tried to run the performance monitor, but I didn't to get found the
perfmon counters.

Thanks,
Hugo
-----Original Message-----
From: Sandro Vaz (UOL) [mailto:sandromergvaz at uol.com.br]
Sent: sexta-feira, 14 de março de 2003 13:21
To: 'Hugo Rebello'; 'Sandro Vaz'; nagios-users at lists.sourceforge.net
Subject: RES: [Nagios-users] NSClient and check_nt command


Hugo:

Try to look at counters.defs files, and compare the counters with the
perfmon counters (using Performance Monitor). If they're different, just put
the complete perfmon counters in that file (under the 0x416 section), and
restart the service.

If everything else fails, e-mail me and i will send a my counters.defs to
you.

Att.,

SMV

-----Mensagem original-----
De: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net] Em nome de Hugo Rebello
Enviada em: sexta-feira, 14 de março de 2003 12:09
Para: Sandro Vaz; nagios-users at lists.sourceforge.net
Assunto: RE: [Nagios-users] NSClient and check_nt command


Stranger....when I use check_nt command with USEDDISKSPACE parameters I
don't have problem. The messages in Event Log are :

NSClient 1.0.7.1 has started. Language code : 0x0416. DebugLevel: 0

NSClient is reading C:\NSClient\Win_2k_XP_Bin\counters.defs for counters
definitions. Language code : 0x0416

Thank You.
Hugo


-----Original Message-----
From: Sandro Vaz [mailto:sandro at opservices.com.br]
Sent: sexta-feira, 14 de março de 2003 11:49
To: 'Hugo Rebello'; nagios-users at lists.sourceforge.net
Subject: RES: [Nagios-users] NSClient and check_nt command


The sintax seems OK, the problem is in the NSClient client.

What's the version installed? Have any entry at Event Log? Specially one
entry just after the install, which specifies the language detected?

More info, please.

Att.,

Sandro Vaz
OpServices
São Paulo - Brasil
(11) 3023-4009

-----Mensagem original-----
De: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net] Em nome de Hugo Rebello
Enviada em: sexta-feira, 14 de março de 2003 10:53
Para: nagios-users at lists.sourceforge.net
Assunto: [Nagios-users] NSClient and check_nt command


I have been problem with NSClient in Windows 2000 and some sintax of
check_nt command. I put the check_nt in checkcommand.cfg file, but before I
wanted test for command line.
Example:

./check_nt -H 192.168.0.10 -p 1248 -v CPULOAD -l 5,80,90 NSClient -
ERROR:Malformed request or internal error. Check EventLog:None&2&5

./check_nt -H 192.168.0.10 -p 1248 -v MEMUSE -w 80 -c 90
Memory usage: total:0.00 Mb - used: 0.00 Mb (nan%) - free: 0.00 Mb (nan%)


Could anyone help me ?
I installed NSClient conform the readme.htm file.

Thanks,
Hugo



-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking
and register here for some mind boggling fun and the chance of winning an
Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
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.461 / Virus Database: 260 - Release Date: 10/3/2003


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.461 / Virus Database: 260 - Release Date: 10/3/2003




-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking
and register here for some mind boggling fun and the chance of winning an
Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
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.461 / Virus Database: 260 - Release Date: 10/3/2003


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.461 / Virus Database: 260 - Release Date: 10/3/2003




-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
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:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
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