Problem with NSClient 1.0.7.0onnon-englishWin2 000

Richard Wu Richard.Wu at fusepoint.com
Fri Nov 8 20:56:48 CET 2002


I have a COUNTER monitor for "\\SMTP Server(_Total)\\Local Queue Length" to a W2K machine, it makes NSCLient generate "Out Of Memory" error every two days with 10 mins interval.  However, the CPU/DISK/MEM  monitors work fine.

Has anyone met such a problem before?

Thanks,
Richard Wu



-----Original Message-----
From: Bosse Klykken [mailto:bosse at klykken.com]
Sent: Thursday, November 07, 2002 6:26 AM
To: Bishop, Dean; nagios-users at lists.sourceforge.net
Cc: 'Sandro Merg Vaz'
Subject: Re: [Nagios-users] Problem with NSClient
1.0.7.0onnon-englishWin2 000


counters.defs:
----8<----
C:\nsclient\Win_2k_XP_Bin>type counters.defs
[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"
----8<---- [Other languages deleted from paste]

.../Bosse

On Thu, Nov 07, 2002 at 09:03:57AM -0500, Bishop, Dean wrote:
> Would you post your counters.defs?
> 
> thanks,
> dean
> 
> -----Original Message-----
> From: Sandro Merg Vaz [mailto:sandro at opservices.com.br]
> Sent: Thursday, November 07, 2002 8:36 AM
> To: 'Bosse Klykken'; nagios-users at lists.sourceforge.net
> Subject: RES: [Nagios-users] Problem with NSClient
> 1.0.7.0onnon-englishWin2000
> 
> 
> Bosse:
> 
> You have to adjust your counters.defs files to match the exact syntax of
> the counter. I had the same trouble when trying to install a working
> NSClient in a Portuguese version.
> 
> Look at the Performance Monitor to these basic counters definitions
> (CPU, Memories, UpTime) and copy them exactly to the counters.defs.
> Watch also the NT ou 2K characters before the counter description.
> 
> HTH,
> 
> Sandro Merg Vaz
> 
> -----Mensagem original-----
> De: nagios-users-admin at lists.sourceforge.net
> [mailto:nagios-users-admin at lists.sourceforge.net] Em nome de Bosse
> Klykken
> Enviada em: quinta-feira, 7 de novembro de 2002 09:30
> Para: nagios-users at lists.sourceforge.net
> Assunto: Re: [Nagios-users] Problem with NSClient
> 1.0.7.0onnon-englishWin2000
> 
> 
> I'm having problems with NSClient 0.7.0, on a Windows 2000 Server Build
> SP3. The application log gets flooded with error messages like:
> 
> NSClient Error: PDH.dll Collect CommitByte - ERROR: 0xC0000BBC 
> NSClient Error: PDH.dll Collect CommitLimit - ERROR: 0xC0000BBC 
> NSClient Error: PDH.dll Collect Uptime - ERROR: 0xC0000BBC 
> NSClient Error: PDH.dll Collect CPU - ERROR: 0xC0000BBC 
> NSClient Error: PDH.dll Collect - ERROR: 0x800007D5 
> 
> The only checks I'm running against this server is diskspace and one
> service. I have tried disabling PerfProc with the Extensible Counter
> List from the Recource Kit, restarting NSClient, enabling PerfProc and
> restarting NSClient again, without success.
> 
> I'd appreciate any suggestions you might come up with.
> 
> .../Bosse
> 
> On Mon, Sep 30, 2002 at 12:55:56PM +0200, Daniel Geske wrote:
> > For future reference:
> > Problems with NSClient writing 5 errors to Application Event Log every
> 
> > 5 seconds and Fix.
> > 
> > -----Ursprüngliche Nachricht-----
> > Von: Paulo Pinto <pspa at gp.novis.pt>
> > An: Daniel Geske <daniel.geske at yoc.de>
> > Datum: Montag, 30. September 2002 12:41
> > Betreff: Re: [Nagios-users] Problem with NSClient 
> > 1.0.7.0onnon-englishWin2000
> > 
> > 
> > Hehe.
> > 
> > That's windows, after all... its reactions cannot be predicted ;-)
> > 
> > The idea... well... I was tempted to suggest you to reboot (I guess 
> > it'd have the same effect), but you've said something about not 
> > wanting to 'tamper' with the machine ;-)
> > 
> > Anyhow, I think it'd be a good idea to forward all our 'discussion' to
> 
> > the user's mailing list ... it can help others in the future.
> > 
> > Hugz :-)
> > 
> > On Mon, 2002-09-30 at 10:21, Daniel Geske wrote:
> > > Hi, me again!
> > >
> > > You probably will believe it - I still won't:
> > >
> > > stop nsclient, uncheck all procs, start nsclient, stop nsclient, 
> > > check all procs, start nsclient did the job! That's incredible.
> > > I don't know how you came up with that idea, but thanks!
> > >
> > > Have a great week!
> > >
> > > Daniel
> > >
> > > -----Ursprüngliche Nachricht-----
> > > Von: Paulo Pinto <pspa at gp.novis.pt>
> > > An: Daniel Geske <daniel.geske at yoc.de>
> > > Datum: Freitag, 27. September 2002 18:05
> > > Betreff: Re: [Nagios-users] Problem with NSClient 
> > > 1.0.7.0onnon-englishWin2000
> > >
> > >
> > > Hmm..
> > >
> > > Do a manual check:
> > >
> > > /path/to/nagios/plugins/check_nt -H yourhost -v CPULOAD -l 10,80,90
> > >
> > > I you get a correct result, you got a nagios problem :)
> > >
> > >
> > > > > >> I am running the same client version on another server with 
> > > > > >> the
> > same
> > > OS
> > > > > and
> > > > > >> don't get any errors there.
> > >
> > > Reading this part, I'd suggest you to run the Extensible Performance
> 
> > > Counter List" on that machine and compare.
> > >
> > > One other thing you can try is to DISABLE PerfProc, relaunch 
> > > nsclient, ENABLE PerfProc and relaunch nsclient. I know it sounds 
> > > weird, but hey, this *IS* windows, after all :-)
> > >
> > > Are you using the W2K Resource Kit German version ? I dunno if there
> 
> > > is a difference between the english and german versions of the 
> > > reskit ...
> > >
> > > Give it a try ... and tell me something :)
> > >
> > > Hugz,
> > >
> > > On Fri, 2002-09-27 at 15:25, Daniel Geske wrote:
> > > > The only thing of the four starting with Perf*, that was disabled 
> > > > was PerfOS - it is enabled now. I restarted the NSClient service, 
> > > > no
> > success.
> > > > :-(
> > > > Any other ideas? I'm lost.
> > > >
> > > > Thanks.
> > > >
> > > > Daniel
> > > >
> > > > -----Ursprüngliche Nachricht-----
> > > > Von: Paulo Pinto <pspa at gp.novis.pt>
> > > > An: Daniel Geske <daniel.geske at yoc.de>
> > > > Cc: nagios-users at lists.sourceforge.net
> > > <nagios-users at lists.sourceforge.net>
> > > > Datum: Freitag, 27. September 2002 16:24
> > > > Betreff: Re: [Nagios-users] Problem with NSClient 1.0.7.0 
> > > > onnon-englishWin2000
> > > >
> > > >
> > > > The tool is called "Extensible Performance Counter List.", and it 
> > > > belongs to the reskit "Performance Tools".
> > > >
> > > > It's not supposed to cause any type of damage to your machine: in 
> > > > fact, if you have anything on that machine that depends on the 
> > > > perfcounters, I'd say that it won't run :->
> > > >
> > > > Take a look at the tool... it's a enable/disable Perfcounter 
> > > > utility. It won't cause any damage :)
> > > >
> > > > P.S. - My guess is that you have 'PerfProc' disabled ... enable it
> 
> > > > :)
> > > >
> > > > Hugz all.
> > > >
> > > >
> > > > On Fri, 2002-09-27 at 14:50, Daniel Geske wrote:
> > > > > Hi Paulo,
> > > > >
> > > > > May there be anything else I can do before having to reinstall
> > something
> > > > on
> > > > > that host? I'd rather not touch anything on the server (anything
> 
> > > > > else
> > > runs
> > > > > just fine) because it's used in production and there is 
> > > > > currently no
> > > > backup
> > > > > for it.
> > > > > If this must be _the_ solution to the problem, I suppose I need 
> > > > > to
> > talk
> > > to
> > > > > the IT management and then go ahead and do what needs to be 
> > > > > done. Thanks for your answer!
> > > > >
> > > > > Sincerely,
> > > > >
> > > > > Daniel Geske
> > > > >
> > > > > -----Ursprüngliche Nachricht-----
> > > > > Von: Paulo Pinto <pspa at gp.novis.pt>
> > > > > An: Daniel Geske <daniel.geske at yoc.de>
> > > > > Cc: nagios-users at lists.sourceforge.net
> > > > <nagios-users at lists.sourceforge.net>
> > > > > Datum: Freitag, 27. September 2002 14:51
> > > > > Betreff: Re: [Nagios-users] Problem with NSClient 1.0.7.0 on 
> > > > > non-englishWin2000
> > > > >
> > > > >
> > > > > >Hello.
> > > > > >
> > > > > >It's not a NSclient problem, it is a Window$ performance 
> > > > > >counters problem.
> > > > > >
> > > > > >On the W2K reskit you'll find an application to
> > check/modify/reinstall
> > > > > >the perfcounters ... If you can't find it, tell me... I'll try 
> > > > > >to
> > find
> > > > > >it for you.
> > > > > >
> > > > > >Hugz,
> > > > > >
> > > > > >On Fri, 2002-09-27 at 13:34, Daniel Geske wrote:
> > > > > >> Hi all,
> > > > > >>
> > > > > >> I have a problem with NSClient 1.0.7.0 running on a german 
> > > > > >> version
> > of
> > > > > >> Windows 2000 Server.
> > > > > >> Every five seconds the NSClient adds 5 Errors to the 
> > > > > >> Applications
> > > > section
> > > > > of
> > > > > >> the NT Event Log.
> > > > > >> When NSClient first starts it recognizes the correct language
> 
> > > > > >> code
> > > for
> > > > > the
> > > > > >> system.
> > > > > >> I am running the same client version on another server with 
> > > > > >> the
> > same
> > > OS
> > > > > and
> > > > > >> don't get any errors there.
> > > > > >> For some reason the version of the files pdh.dll and 
> > > > > >> psapi.dll in
> > > > > nsclient's
> > > > > >> directory differ from the ones in the windows/system32 
> > > > > >> directory.
> > The
> > > > > ones
> > > > > >> in the nsclient dir are
> > > > > >> These varibles of the check_nt plugin work w/o any problems: 
> > > > > >> CLIENTVERSION USEDDISKSPACE
> > > > > >> SERVICESTATE
> > > > > >> PROCSTATE
> > > > > >>
> > > > > >> These varibles return errors or invalid data: CPULOAD - 
> > > > > >> NSClient - ERROR:Malformed request or internal error.
> > Check
> > > > > >> EventLog:None&2&35
> > > > > >> UPTIME - System Uptime : 0 day(s) 0 hour(s) 0 minute(s) 
> > > > > >> MEMUSE - Memory usage: total:0.00 Mb - used: 0.00 Mb (nan%) -
> 
> > > > > >> free:
> > > > 0.00
> > > > > Mb
> > > > > >> (nan%)
> > > > > >>
> > > > > >> The error messages in the nt log all talk about the pdh.dll 
> > > > > >> file.
> > > Then,
> > > > 4
> > > > > of
> > > > > >> five messages have the same error code:
> > > > > >> CPU, Uptime, CommitWrite, CommitByte (all error code 
> > > > > >> 0xC0000BBC),
> > > > Collect
> > > > > >> has (0x800007D5).
> > > > > >>
> > > > > >> I have already contacted the team of NSClient, but did not 
> > > > > >> receive
> > a
> > > > > >> response as of yet.
> > > > > >>
> > > > > >> I would be happy to hear from anybody providing hints to the
> > solution
> > > > of
> > > > > the
> > > > > >> problem.
> > > > > >>
> > > > > >> Thank you.
> > > > > >> Sincerely,
> > > > > >>
> > > > > >> Daniel Geske
> > > > > >>
> > > > > >>
> > > > > >>
> > > > > >> -------------------------------------------------------
> > > > > >> This sf.net email is sponsored by:ThinkGeek
> > > > > >> Welcome to geek heaven.
> > > > > >> http://thinkgeek.com/sf 
> > > > > >> _______________________________________________
> > > > > >> Nagios-users mailing list Nagios-users at lists.sourceforge.net
> > > > > >> https://lists.sourceforge.net/lists/listinfo/nagios-users
> > > > > >--
> > > > > >Paulo Pinto
> > > > > >Novis GSP
> > > > > >
> > > > > >pspa at gp.novis.pt
> > > > > >
> > > > > >
> > > > >
> > > > --
> > > > Paulo Pinto
> > > > Novis GSP
> > > >
> > > > pspa at gp.novis.pt
> > > >
> > > >
> > > >
> > > > -------------------------------------------------------
> > > > This sf.net email is sponsored by:ThinkGeek
> > > > Welcome to geek heaven.
> > > > http://thinkgeek.com/sf 
> > > > _______________________________________________
> > > > Nagios-users mailing list Nagios-users at lists.sourceforge.net
> > > > https://lists.sourceforge.net/lists/listinfo/nagios-users
> > > >
> > > >
> > > --
> > > Paulo Pinto
> > > Novis GSP
> > >
> > > pspa at gp.novis.pt
> > >
> > >
> > >
> > --
> > Paulo Pinto
> > Novis GSP
> > 
> > pspa at gp.novis.pt
> > 
> > 
> > 
> > 
> > 
> > -------------------------------------------------------
> > This sf.net email is sponsored by:ThinkGeek
> > Welcome to geek heaven.
> > http://thinkgeek.com/sf 
> > _______________________________________________
> > Nagios-users mailing list
> > Nagios-users at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/nagios-users
> 
> -- 
> Bosse Klykken - http://www.klykken.com/~bosse - PGP: 0x570ABB4E We learn
> from history that we don't learn from history
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by: See the NEW Palm 
> Tungsten T handheld. Power & Color in a compact size!
> http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> 
> ---
> Incoming mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.410 / Virus Database: 231 - Release Date: 31/10/2002
>  
> 
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.410 / Virus Database: 231 - Release Date: 31/10/2002
>  
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by: See the NEW Palm 
> Tungsten T handheld. Power & Color in a compact size!
> http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> 

-- 
Bosse Klykken - http://www.klykken.com/~bosse - PGP: 0x570ABB4E
We learn from history that we don't learn from history


-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm 
Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users


-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm 
Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en




More information about the Users mailing list