Ok, so I found an example using the COUNTER object.  From the Nagios server I can run the following and get correct data back:

check_nt -H 192.168.1.1 -p 12489 -v COUNTER -l "Process\(Outlook)\Working Set"
this returns memory for me...

but when i put this into the windows.cfg file as:
check_nt!COUNTER!-l "Process\(Outlook)\Working Set"

it verifies as no errors, but the GUI is showing 0, which is not the same as from the command-line.  I also tried the -d SHOWALL option and that didn't work.   Any ideas?

Thanks in advance,
Izz

-----Original Message-----
From: [EMAIL PROTECTED]
Sent: Tue, 20 May 2008 22:00:12 -0400
To: [EMAIL PROTECTED]
Subject: Re: [Nagios-users] Performance data for service

You should be able to get this data through the Process performance counter object with the instance set to the process name (as long as you can map the process name to an actual counter instance)
 
or you should be able to get this data through a WMI querry
 
Or you can write a script or program and get the data through NC_NEt or a NRPE plugin
 
TOny (author of NC_Net)
On Tue, May 20, 2008 at 5:05 AM, Izz Abdullah <[EMAIL PROTECTED]> wrote:
Not necessarily explorer.exe.

I am looking more at some java instances, (java.exe, etc.).  I want to know CPU load as well as Memory usage of a process.

Thanks,
Izz

> -----Original Message-----
> From: [EMAIL PROTECTED]
> Sent: Tue, 20 May 2008 10:49:48 +0200
> To: nagios-users@lists.sourceforge.net
> Subject: Re: [Nagios-users] Performance data for service
>
> Hi Izz,
>
> Izz Abdullah schrieb:
>> I have enabled performance data for my monitored Windows 2k3 server.  I
>> am receiving performance data, not extremely clear, but receiving, for
>> the defaulted services.  What I want is to see performance data on
>> running processes as well (e.g. the Explorer.exe process has nothing in
>> the performance data field).  Can someone please assist?
>
> What kind of performance data would you expect from explorer.exe? With
> some services, it just doesn't make much sense to have performance
> analyzed, in my opinion.
>
> Greetz, Marcus
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Nagios-users mailing list
> Nagios-users@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

____________________________________________________________
FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop!
Check it out at http://www.inbox.com/earth

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Nagios-users mailing list
Nagios-users@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: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Nagios-users mailing list
Nagios-users@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

Reply via email to