I was trying to setup FAN (Nagios + Centreon) to monitor various items on my ML310 G5 server.
I kept getting :
No Such Object available on this agent at this OID
I could walk the tree locally and remotely but it was clear that I wasn't seeing the HP MIB data
hpasmcli -s "show server"
showed all the data so that was working.
I looked at permissions and a whole pile of things until I found a post that said look at the snmpd.conf file
Lo, there was the answer
As per the book I had used hpsnmpconf to reconfigure snmpd.
At the top it inserted the following lines :
# Following entries were added by HP Insight Management Agents at
# Tue Oct 15 13:29:45 CEST 2013
dlmod cmaX /usr/lib64/libcmaX64.so
rwcommunity private 127.0.0.1
rocommunity public 127.0.0.1
rwcommunity private 192.168.10.32
rocommunity _public 192.168.10.32
trapcommunity trap
trapsink 192.168.10.32 trap
syscontact Me admin@mydomain.net
# ---------------------- END --------------------
The troublesome line was the first :
dlmod cmaX /usr/lib64/libcmaX64.so
I thought I'd check and find where the file was
and lo the answer was :
/usr/lib/libcmaX64.so
Not in /usr/lib
A quick change of path and:
snmpwalk -v2c -c public 127.0.0.1 .1.3.6.1.4.1.232
Suddenly gave me all the info !
Clearly a bug with their Debian installer.
It is fact that some vendors use the default Informational for all severity levels. Change the severity to a level that reflects your judgment of the problem. Alternatively, you can change a Major or Critical severity for a trap message that is clearly not a critical situation in your environment.
ReplyDeleteThanks
Silvester Norman
Change MAC Address