http:// thevpn.guru
asked on
Problem With Querying SNMP Server
Hi
I am trying to query a server for CPU snmp info.
snmpwalk -Dparse-mibs -c xxxxxx -v 2c xxxxxxxxxx .1.3.6.1.2.1.25.3.3.1
HOST-RESOURCES-MIB::hrProc essorEntry = No Such Object available on this agent at this OID
Anything that needs to be done on the target server ?
The target server is CentOS
Thanks
I am trying to query a server for CPU snmp info.
snmpwalk -Dparse-mibs -c xxxxxx -v 2c xxxxxxxxxx .1.3.6.1.2.1.25.3.3.1
HOST-RESOURCES-MIB::hrProc
Anything that needs to be done on the target server ?
The target server is CentOS
Thanks
Firsthand verify access lists in server's snmpd.conf
If they seem OK then it seems you have firewall blocking UDP in the middle.
If they seem OK then it seems you have firewall blocking UDP in the middle.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
You can install real version via "yum update". If it is not there - ask upstream for a fix.
Compiling is really last effort.
Compiling is really last effort.
ASKER
Well, it is a known bug but there is no update not even in testing. For this particular bug on CenTOS
I could not find reference to bug you appeal to
ASKER
Just a min let me dig it out
ASKER
Both fixes are not related to problem you encountered.
ASKER
CHeck out it clearly states that it fixes the problem that CPU is not shown in snmp data :S
Description of problem:
RHEL 4 servers are correctly replying to the SNMP variable request
HOST-RESOURCES-MIB::hrProc essorLoad
The rpm is net-snmp-5.1.2-11.EL4.10
But for some reason RHEL 5 boxes are not displaying that variable
The rpms are
net-snmp-5.3.1-14.0.1.el5
net-snmp-libs-5.3.1-14.0.1 .el5
How reproducible:
On a RHEL 5 system
# snmpwalk -c public -v 2c localhost HOST-RESOURCES-MIB::hrProc essorLoad
returns nothing.
Created an attachment (id=294204) [details]
this should do the trick
Description of problem:
RHEL 4 servers are correctly replying to the SNMP variable request
HOST-RESOURCES-MIB::hrProc
The rpm is net-snmp-5.1.2-11.EL4.10
But for some reason RHEL 5 boxes are not displaying that variable
The rpms are
net-snmp-5.3.1-14.0.1.el5
net-snmp-libs-5.3.1-14.0.1
How reproducible:
On a RHEL 5 system
# snmpwalk -c public -v 2c localhost HOST-RESOURCES-MIB::hrProc
returns nothing.
Created an attachment (id=294204) [details]
this should do the trick
ASKER
Any other doubts ?
That's it, thank you for explanation.
ASKER
[root@localhost src]# snmpwalk -c public -v 2c xx.yy.zz.ss .1.3.6.1.2.1.25.3.3.1
HOST-RESOURCES-MIB::hrProc
HOST-RESOURCES-MIB::hrProc
HOST-RESOURCES-MIB::hrProc
HOST-RESOURCES-MIB::hrProc