RES: Win2000 process check

Russell Adams RLAdams at Kelsey-Seybold.com
Wed Apr 30 19:07:26 CEST 2003


Using SNMP and the Host-Resources-MIB, you can query a list of
processes (PID/executable) from the Windoze box by looking at the
entries in hrSWRunTable.

Once you have the PID for the executable you want, lookup the
performance stats via hrSWRunPerfTable by the PID. You can get the
process memory  usage and CPU ticks.

You'll obviously have to script it, and I hope you have a unique
executable in mind.

Russell

On Wed, Apr 30, 2003 at 01:06:05PM -0300, Sandro Vaz (UOL) wrote:
> Jeyri:
> 
> I?ve tried to do that using the -v COUNTER option of NSClient, but this
> client has serious problems with some of the perfmon counters.
> 
> Maybe in the next version, but good luck anyway. If you succeed, PLUK.
> 
> Att.,
> 
> Sandro Vaz
> 
> -----Mensagem original-----
> De: nagios-users-admin at lists.sourceforge.net
> [mailto:nagios-users-admin at lists.sourceforge.net] Em nome de Jeyri Bautista
> Enviada em: quarta-feira, 30 de abril de 2003 12:02
> Para: nagios-users at lists.sourceforge.net
> Assunto: [Nagios-users] Win2000 process check
> 
> 
> Hi,
> 
> I?m monitoring many process running on my Window 2000 server, but I want to 
> see the CPU load that are using this process.
> 
> Can I do it?, if it is possible How can I do it?
> 
> Thanks
> 
> Jeyri
> 
> 
> 
> -------------------------------------------------------
> 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
> ::: Please include Nagios version, plugin version (-v) and OS when reporting
> any issue. 
> ::: Messages without supporting info will risk being sent to /dev/null
> 
> ---
> Incoming mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.476 / Virus Database: 273 - Release Date: 24/4/2003
>  
> 
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.476 / Virus Database: 273 - Release Date: 24/4/2003
>  
> 
> 
> 
> -------------------------------------------------------
> 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
> ::: 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: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
::: 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