Does anyone have the source code for checkcounter.exe or know where it came from?
-Robert Carsten Koop wrote: > > Hi all, > > If you're using NSClient++, you can check all the WMI-Counters with > the following command: > /./check_nt -H 127.0.0.1 -p 1234 -v COUNTER -l > '\\Terminaldienste\\Sitzungen Insgesamt'/ > > /(You have to search the correct Counter with the Windows Performance > Monitor)/ > > Mit freundlichen Grüßen / best regards > > Carsten Koop > > > > *"James Whittington" <[EMAIL PROTECTED]>* > Gesendet von: [EMAIL PROTECTED] > > 14.02.2007 17:00 > > > An > "Robert Wolfe" <[EMAIL PROTECTED]>, > <[email protected]> > Kopie > > Thema > Re: [Nagios-users] Checking Windows counter via nagios, nsclient++, > and nrpe > > > > > > > > > > checkCounter can check any performance counter object in windows as > far as I know. > > I found out if you are using nsclient++ the command “nsclient++ > CheckSystem listpdh” would dump all the counters it found. > I looked for the process I was wanting to watch to find the right > syntax for the process and instance. > > James Whittington > Systems Engineer > VC3, Inc. > > 803-978-2723 direct > 800-787-1160 main > > *From:* Robert Wolfe [mailto:[EMAIL PROTECTED] * > Sent:* Wednesday, February 14, 2007 10:34 AM* > To:* James Whittington; [EMAIL PROTECTED] > Subject:* RE: [Nagios-users] Checking Windows counter via nagios, > nsclient++,and nrpe > > Can this also be used to monitor memory use by a process/program as well? > > > > *From:* [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] *On Behalf Of > *James Whittington* > Sent:* Wednesday, February 14, 2007 10:30 AM* > To:* [EMAIL PROTECTED] > Subject:* [Nagios-users] Checking Windows counter via nagios, > nsclient++,and nrpe > > Hello all, > > I have a Nagios 2 system used in monitoring several application > environments and I’m looking for the best way to monitor a Windows > 2003 process. > I already have nsclient++ in place, and I’m using the checkCounter > command in nrpe. > The main issue at this point is the counter in question returns a > value in scientific notation, which isn’t very readable for > non-scientists. > > Here’s the command and response: > ./check_nrpe -H 192.168.197.183 -p 5666 -c checkCounter -a > "Counter:PrivBytes=\\Process(ProductATasksService)\\Private Bytes" > ShowAll > OK: PrivBytes: 2.38641e+08 > > Is there an option to convert the format to human readable? > If not I might have to write something to convert it which might be a > bad idea anyway, since I don’t see performance data coming from the > plugin either and I write the performance data to a sql backend. > > I figured I would toss the question out to the list to see if others > had run into this before. > Thanks, > > James Whittington > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to > share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV_______________________________________________ > Nagios-users mailing list > [email protected] > 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 > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > [email protected] > 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 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list [email protected] 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
