Anybody can help me about how to monitor CPU LOAD with SNMP ?
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.
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 currently exists
at this OID
or
jose@armadeira:~$ snmpwalk -v2c -c public aracne hrProcessorLoad
HOST-RESOURCES-MIB::hrProcessorLoad = No Such Instance currently exists
at this OID
thanks in advance
-------------------------------------------------------------------------
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
Net-snm...@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
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 =3D 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/java=
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
thanks Mr. Dave
on follow your instructions I see on my snmpd.conf, on control access
section: my public access have permission to READ only sysView then i use
my private access to see systemStats mib.