Checking Windows counter via nagios, nsclient++, and nrpe

Robert Wolfe rwolfe at shatterit.com
Wed Feb 14 16:34:20 CET 2007


Can this also be used to monitor memory use by a process/program as well?

 

  _____  

From: nagios-users-bounces at lists.sourceforge.net
[mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of James
Whittington
Sent: Wednesday, February 14, 2007 10:30 AM
To: Nagios-users at lists.sourceforge.net
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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20070214/02f1c501/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
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
-------------- next part --------------
_______________________________________________
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