Re: cpu monitor with snmp

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
>  about systemStats:
>  $ snmpwalk -v2c -c public roteador systemStats
>  the agent response is: ...No more variables left in this MIB View..

Ah.   That looks like Access Control.
I suspect that you're using vendor-supplied default access control
settings, which typically only allow access to the system group.

See the FAQ entry about access control for more details.


>  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

That shows that your agent *does* include the HostResources MIB.


>  my net-snmp version is 5.2.3

I haven't checked, but I'm pretty sure that the 5.2.x agent doesn't
support  hrProcessorLoad.    Fix your access control views, and
use the systemStats group.

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
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.