Re: cpu monitor with snmp

José de Figueiredo <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Em Wed, 16 Apr 2008 09:52:44 +0100, Dave Shield escreveu:
> On 15/04/2008, José de Figueiredo <[email protected]> wrote:
>>  Anybody can help me about how to monitor CPU LOAD with SNMP ?
> 
> Which version of the Net-SNMP agent are you using?
> 
> 
>>  I'm trying use this OID hrProcessorLoad (.1.3.6.1.2.1.25.3.3.1.2) at
>>  host-resoure-mib. i'm using NET-SNMP over Linux.
> 
> You might like to try looking at UCD-SNMP-MIB::systemStats
> 
> 
>>  jose@armadeira:~$ snmpwalk -v2c -c public aracne 1.3.6.1.2.1.25.3.3.1.2
>>  HOST-RESOURCES-MIB::hrProcessorLoad = No Such Instance
> 
> Depending on the version of the agent you are using, you may
> need to explicitly configure in support for the Host Resources MIB.
> 
> Can you see anything in hrSystem?
> 
> Dave
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
> Don't miss this year's exciting event. There's still time to save $100. 
> Use priority code J8TL2D2. 
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
> _______________________________________________
> 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

hi Dave 

my net-snmp version is 5.2.3

about systemStats:
$ snmpwalk -v2c -c public roteador systemStats
the agent response is: ...No more variables left in this MIB View..


about hrSystem:
HOST-RESOURCES-MIB::hrSystemUptime.0 = Timeticks: (415197846) ....
HOST-RESOURCES-MIB::hrSystemDate.0 = STRING: 2008-4-16,9:42:12.0,-3:0
HOST-RESOURCES-MIB::hrSystemInitialLoadDevice.0 = INTEGER: 1536
HOST-RESOURCES-MIB::hrSystemInitialLoadParameters.0 = STRING: ....
HOST-RESOURCES-MIB::hrSystemNumUsers.0 = Gauge32: 0
HOST-RESOURCES-MIB::hrSystemProcesses.0 = Gauge32: 40
HOST-RESOURCES-MIB::hrSystemMaxProcesses.0 = INTEGER: 0

but the SystemInitialLoadDevice show only 1536


tanks


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
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.