NSClient AND NRPE Malfunction

Wengrzik, Andreas Wengrzik at ewr.de
Fri Sep 24 07:08:05 CEST 2004


Hello!

Yes thats treu, but i really dont know why the SAME Windows Versions on the SAME Hardware should use
other 'flags' ?!?


I´ve checked the event log an saw there that NSClient use 0x0407.
I´ve also changed this counters.defs file that it looks like........

THIS:

[FileInfo]
Purpose = "NSClient counters definitions"
Version = 1.02
ReleaseDate = "10.02.2002"

[0x0409]
Description = "English US"
NT4_SystemTotalProcessorTime = "\System\% Total Processor Time"
NT4_SystemSystemUpTime = "\System\System Up Time"
NT4_MemoryCommitLimit = "\Memory\Commit Limit"
NT4_MemoryCommitByte = "\Memory\Committed Bytes"

W2K_SystemTotalProcessorTime = "\Processor(_total)\% Processor Time"
W2K_SystemSystemUpTime = "\System\System Up Time"
W2K_MemoryCommitLimit = "\Memory\Commit Limit"
W2K_MemoryCommitByte = "\Memory\Committed Bytes"

[0x0407]
Description = "German"
NT4_SystemTotalProcessorTime = "\System\% Total Processor Time"
NT4_SystemSystemUpTime = "\System\System Up Time"
NT4_MemoryCommitLimit = "\Memory\Commit Limit"
NT4_MemoryCommitByte = "\Memory\Committed Bytes"

W2K_SystemTotalProcessorTime = "\Processor(_total)\% Processor Time"
W2K_SystemSystemUpTime = "\System\System Up Time"
W2K_MemoryCommitLimit = "\Memory\Commit Limit"
W2K_MemoryCommitByte = "\Memory\Committed Bytes"

[0x0410]
Description = "Italian"
W2K_SystemTotalProcessorTime = "\Processore(_total)\% Tempo processore"
W2K_SystemSystemUpTime = "\Sistema\Tempo di funzionamento sistema"
W2K_MemoryCommitLimit = "\Memoria\Limite memoria vincolata"
W2K_MemoryCommitByte = "\Memoria\Byte vincolati"

NT4_SystemTotalProcessorTime = "\Processore(_total)\% Tempo processore"
NT4_SystemSystemUpTime = "\Sistema\Tempo di funzionamento sistema"
NT4_MemoryCommitLimit = "\Memoria\Limite memoria vincolata"
NT4_MemoryCommitByte = "\Memoria\Byte vincolati"

[0x040c]
Description = "French (France)"
NT4_SystemTotalProcessorTime = "\Système\% Temps total du processeur"
NT4_SystemSystemUpTime = "\Système\Temps d'activité système"
NT4_MemoryCommitLimit = "\Mémoire\Limite de mémoire dédiée"
NT4_MemoryCommitByte = "\Mémoire\Octets dédiés"

W2K_SystemTotalProcessorTime = "\Processeur(_Total)\% Temps processeur"
W2K_SystemSystemUpTime = "\Système\Temps d'activité système"
W2K_MemoryCommitLimit = "\Mémoire\Limite de mémoire dédiée"
W2K_MemoryCommitByte = "\Mémoire\Octets dédiés"

[0x0C0A]
Description = "Spanish"
NT4_SystemTotalProcessorTime = "\Sistema\% Tiempo total de
procesador"
NT4_SystemSystemUpTime = "\Sistema\Tiempo de actividad del sistema"
NT4_MemoryCommitLimit = "\Memoria\Límite comprometido"
NT4_MemoryCommitByte = "\Memoria\Bytes comprometidos"

[0x0416]
Description = "Portuguese_BR"
NT4_SystemTotalProcessorTime = "\Sistema\% tempo total do processador"
NT4_SystemSystemUpTime = "\Sistema\Tempo de atividade do sistema"
NT4_MemoryCommitLimit = "\Memória\Limite confirmado"
NT4_MemoryCommitByte = "\Memória\Bytes confirmados"





ORIGINAL





[FileInfo]
Purpose = "NSClient counters definitions"
Version = 1.02
ReleaseDate = "10.02.2002"

[0x0409]
Description = "English US"
NT4_SystemTotalProcessorTime = "\System\% Total Processor Time"
NT4_SystemSystemUpTime = "\System\System Up Time"
NT4_MemoryCommitLimit = "\Memory\Commit Limit"
NT4_MemoryCommitByte = "\Memory\Committed Bytes"

W2K_SystemTotalProcessorTime = "\Processor(_total)\% Processor Time"
W2K_SystemSystemUpTime = "\System\System Up Time"
W2K_MemoryCommitLimit = "\Memory\Commit Limit"
W2K_MemoryCommitByte = "\Memory\Committed Bytes"

[0x0407]
Description = "German"
NT4_SystemTotalProcessorTime = "\System\% Gesamtprozessorzeit"
NT4_SystemSystemUpTime = "\System\Systemarbeitszeit"
NT4_MemoryCommitLimit = "\Speicher\Zusagegrenze"
NT4_MemoryCommitByte = "\Speicher\Bytes verfügbar"

W2K_SystemTotalProcessorTime = "\Prozessor(_Total)\Prozessorzeit (%)"
W2K_SystemSystemUpTime = "\System\Systembetriebszeit"
W2K_MemoryCommitLimit = "\Speicher\Zusagegrenze"
W2K_MemoryCommitByte = "\Speicher\Zugesicherte Bytes"

[0x0410]
Description = "Italian"
W2K_SystemTotalProcessorTime = "\Processore(_total)\% Tempo processore"
W2K_SystemSystemUpTime = "\Sistema\Tempo di funzionamento sistema"
W2K_MemoryCommitLimit = "\Memoria\Limite memoria vincolata"
W2K_MemoryCommitByte = "\Memoria\Byte vincolati"

NT4_SystemTotalProcessorTime = "\Processore(_total)\% Tempo processore"
NT4_SystemSystemUpTime = "\Sistema\Tempo di funzionamento sistema"
NT4_MemoryCommitLimit = "\Memoria\Limite memoria vincolata"
NT4_MemoryCommitByte = "\Memoria\Byte vincolati"

[0x040c]
Description = "French (France)"
NT4_SystemTotalProcessorTime = "\Système\% Temps total du processeur"
NT4_SystemSystemUpTime = "\Système\Temps d'activité système"
NT4_MemoryCommitLimit = "\Mémoire\Limite de mémoire dédiée"
NT4_MemoryCommitByte = "\Mémoire\Octets dédiés"

W2K_SystemTotalProcessorTime = "\Processeur(_Total)\% Temps processeur"
W2K_SystemSystemUpTime = "\Système\Temps d'activité système"
W2K_MemoryCommitLimit = "\Mémoire\Limite de mémoire dédiée"
W2K_MemoryCommitByte = "\Mémoire\Octets dédiés"

[0x0C0A]
Description = "Spanish"
NT4_SystemTotalProcessorTime = "\Sistema\% Tiempo total de
procesador"
NT4_SystemSystemUpTime = "\Sistema\Tiempo de actividad del sistema"
NT4_MemoryCommitLimit = "\Memoria\Límite comprometido"
NT4_MemoryCommitByte = "\Memoria\Bytes comprometidos"

[0x0416]
Description = "Portuguese_BR"
NT4_SystemTotalProcessorTime = "\Sistema\% tempo total do processador"
NT4_SystemSystemUpTime = "\Sistema\Tempo de atividade do sistema"
NT4_MemoryCommitLimit = "\Memória\Limite confirmado"
NT4_MemoryCommitByte = "\Memória\Bytes confirmados"




Thanks for help!


> -----Original Message-----
> From: Jan Scholten [mailto:Jan.Scholten at iconz.net]
> Sent: Thursday, September 23, 2004 11:19 PM
> To: Wengrzik, Andreas; nagios-users at lists.sourceforge.net
> Subject: Re: [Nagios-users] NSClient AND NRPE Malfunction
> 
> 
> If i remember correctly theres a rumor about some language 
> 'flags' that  
> have to be corrected to use NSClient and a german Windows Version?
> I can't help you, but maybe some other guy here can.
> 
> Greets
> Jan
> > Hello!
> >
> > I still have problems with NSClient and NRPE.
> > On two servers i dont get any systeminformation like CPUload oder  
> > MEMUsage.(See infos below)
> > I can exclude that the port is locked by another process 
> cause NRPE and  
> > NSClient use different ports.
> > I´ve installed the latest versions of both.
> >
> > I dont really know what else can i do :(
> >
> > Maybe somebody can help me...
> > Or can tell me which other possibilites i have to check 
> these values.
> > It hasn´t  to be NSClient or NRPE!!
> >
> > Thanks a lot for all help
> >
> > bye
> >
> >
> >
> >
> > INFOS!
> >
> > I´m using the latest NSClient on a Windows 2000 Server 
> 5.00.2195 with
> > Service Pack2
> >
> > I just get this message for the MEM Usage
> > Memory usage: total:0.00 Mb - used: 0.00 Mb (nan%) - free: 0.00 Mb
> > (nan%)
> >
> > and for the CPU Load ALWAYS!!!
> > CPU Load 0% (1 min average) 0%
> >
> > I´ve found a message at the eventlog:
> >
> > NSClient CollectData: Call to retrieve counter value for
> > \Prozessor(_Total)\Prozessorzeit (%) failed, returning status code
> > 4294967295.
> >
> >
> > other nsclient event logs:
> >
> > NSClient is reading C:\NSClient\Win_2k_XP_Bin\counters.defs 
> for counters
> > definitions. Language code : 0x0407
> >
> > NSClient 2.0.1.0 has started. Language code : 0x0407. DebugLevel: 0
> >
> > NSClient is now responding to queries.
> >
> >
> > Additional Info,
> >
> > - We have the same System (Hardware/Software) an there the 
> NSClient runs
> > well! (Compaq DL580)
> > - I also compared the pdh.dll in c:\WINNT\system32 ther Version is:
> > 5.0.2195.2739 on both systems.
> > - We have some more systems with different Hardware but the same
> > Software (all servers are Citrix Server)
> >
> >
> > -------------------------------------------------------
> > This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
> > Project Admins to receive an Apple iPod Mini FREE for your 
> judgement on
> > who ports your project to Linux PPC the best. Sponsored by IBM.
> > Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
> > _______________________________________________
> > 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
> >
> >
> 
> 
> 
> -- 
> Jan Scholten
> Research and Development Intern
> Iconz.co.nz
> 
N¬HS^µéšŠX¬²š'²ŠÞu¼˜9 at DLq	P1„ê'z‡õïCë¢7œ´fŠ{-¢·œz+Þjp)¦W¢>‡LŠx…DA¢¼¨º¸îv¦z{hŸh¦Ší³*.®šèç-¶‚âžìO<+ay·¬µ*hžÊ+yÖò y§eŠw’z›vàj!z·¡¶ÚþÇçzßé¥Ç(ž×¬¶˜i5¨"¢Ë¬z»&j)bž	b²ÓZ‚*,ºÇ«²X¬¶Ë(º·~Šàzw­†Ûi³ÿåŠËl²‹«qç讧zßåŠËlþX¬¶)ߣùÚ‚*,ºÇ«°ù^jÇ¢ÉnuãZ‚*,½ê슉é–è"ž÷«²*'½©Ý9,!zzÞ¦ŠíŠxŸ(¬²çŒzˁë0ŠØhºÛ.¦š+¶)àŠwèÂ)e®+$m观ǧ¶Ú?uëÿžée


More information about the Users mailing list