RE: Monitoring stats on Windows

"Hampton, Michael" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <EAF1B930C18C7B47A40214DE42D82EE401218A88@uklonip576.vital-group.com>
You need to monitor the following...

1. CPU usage (percentage) => 1.3.6.1.2.1.25.3.3.1.2 (unit = Percentage)
2. Disk usage (percentage) => (1.3.6.1.2.1.25.2.3.1.6.X (unit = disk used) / 1.3.6.1.2.1.25.2.3.1.5.X (unit = disk size)) * 100
3. Memory usage (percentage) => (1.3.6.1.2.1.25.2.3.1.6.X (unit = disk used) / 1.3.6.1.2.1.25.2.3.1.5.X (unit = disk size)) * 100

NB: 2 and 3 come from the table hrStorageIndex. Therefore they need the index number (X) for each storage entry.

Example:

My Physical memory is in Row 1 of the table hrStorageIndex

.1.3.6.1.2.1.25.2.3.1.3.1 = STRING: Physical memory

So I poll...

.1.3.6.1.2.1.25.2.3.1.6.1 = INTEGER: 999256
And
.1.3.6.1.2.1.25.2.3.1.5.1 = INTEGER: 1022188

And calculate as above.

My root partition (C: drive on windows) is Row 31...
.1.3.6.1.2.1.25.2.3.1.3.31 = STRING: /

So I poll...
.1.3.6.1.2.1.25.2.3.1.6.31 = INTEGER: 1380469
And
.1.3.6.1.2.1.25.2.3.1.5.31 = INTEGER: 16672164

And calculate as above.

Please remember the row number will be different for each system. DO NOT USE MY ROW NUMBERS.

Hope that helps.

Michael Hampton


 

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Yu Watanabe
Sent: 02 July 2008 11:23
To: [email protected]
Subject: Re: Monitoring stats on Windows

Hello Mr.Nagata

Thank you for the reply.

I am not planning to use cacti.
I am planning to access the windows server using nagios plugin.

The nagios plugin is "check_snmp". This uses the snmpp get command to access to the agent.

>The point is 2.
> 1. "net-snmp is only get stat on any OS(including Windows)."
>    common MIB is too old,It works everywhere. Most feature was build from
>    original-mib and snmpAgent.
>    We need site like mozilla extension.

    Could you please educate me how to gather following information by 
    adding the module?
 
>>>    1. CPU usage (percentage)
>>>    2. Disk usage (percentage)
>>>    3. Memory usage (percentage)

Best Regards,
Yu Watanabe

Tsuyoshi Nagata さんは書きました:
>How to use "cacti" in japanese.
>http://kikuz0u.x0.com/memo/hiki.cgi?Cacti+(RRDTool%A5%D5%A5%ED%A5%F3%A5
>%C8%A5%A8%A5%F3%A5%C9)%A1%A1%A1%C1+Windows%CA%D4+%A1%C1
>
>The point is 2.
> 1. "net-snmp is only get stat on any OS(including Windows)."
>    common MIB is too old,It works everywhere. Most feature was build from
>    original-mib and snmpAgent.
>    We need site like mozilla extension.
> 2. monitoring(some duration) and presentation(percentage) feature
>    was deliver from snmp-tools like "cacti" and "MRTG".
>
>Tsuyoshi.
>
>Yu Watanabe さんは書きました:
>>> I would like to monitor following statistics on Windows XP.
>>>    1. CPU usage (percentage)
>>>    2. Disk usage (percentage)
>>>    3. Memory usage (percentage)
>>>
>
>-----------------------------------------------------------------------
>-- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
>Studies have shown that voting for your favorite open source project, 
>along with a healthy diet, reduces your potential for chronic lameness 
>and boredom. Vote Now at http://www.sourceforge.net/community/cca08
>_______________________________________________
>Net-snmp-users mailing list
>[email protected]
>Please see the following page to unsubscribe or change other options:
>https://lists.sourceforge.net/lists/listinfo/net-snmp-users
>
>


-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

http://www.vital-group.com      - Dedicated to business communications.
http://www.vital-storage.com    - Secure easy-to-use remote backups for business critical data.

The information contained in this message is intended for the addressee only and may contain confidential and/or privileged information.If you are not the addressee, please delete this message and notify the sender; you should not copy or distribute this message or disclose its contents to anyone.Any views or opinions expressed in this message are those of the author and do not necessarily represent those of The Vital International Group or any of its affiliates.No reliance may be placed on this message without written confirmation from an authorised representative of its contents.

Registered in England. Vital International Limited. Leigh House, Weald Road, Brentwood, Essex, CM14 4SX.Company registration number - 45022560. 

07/02/08 15:26:37
-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.