HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
Server Management - Systems Insight Manager
cancel
Showing results for 
Search instead for 
Did you mean: 

Snmp problem

 
Andrea Soracchi
Occasional Contributor

Snmp problem

Hi,

I have installed in my proliant DL 350 G3 this following packets:

hpasm-7.9.0-116.sles9.rpm
net-snmp-cmaX-5.1-220.rpm
hpsmh-2.1.10-186.rpm

It' all ok, but not the snmp service!.

When I use the "SNMP Test Trap Button", my IML logs are empty.

The /var/log/messages reports this line:

hpsmh : TTY=unknown ; PWD=/opt/hp/hpsmh/data/htdocs/webagent ; USER=root ; COMMAND=/usr/bin/snmptrap -v1 -cpublic localhost enterprises.232 6 11003 system.5.0 s mail enterprises.232.11.2.11.1 i 0 enterprises.232.11.2.8.1 s Test Trap

If I try to execute the only command:
/usr/bin/snmptrap -v1 -cpublic localhost enterprises.232 6 11003 system.5.0 s mail enterprises.232.11.2.11.1 i 0 enterprises.232.11.2.8.1 s Test Trap

I get this error:
mail: Unknown Object Identifier (Sub-id not found: (top) -> mail)

Mail is the name of my server.

My snmp.conf is:

rwcommunity mysecret 127.0.0.1
trapsink localhost
rocommunity public 192.168.1.36
syscontact Sysadmin (root@localhost)
syslocation Server Room

Any idea?

Thanks in advance..




1 REPLY
Rob Buxton
Honored Contributor

Re: Snmp problem

Rather than install individual agents etc. you may be better off install the entire PSP.
See:
http://h18007.www1.hp.com/support/files/server/us/index.html
And select the software closest to what you're running.
When the PSP is installed it asks a series of questions and sets up snmp. Well it does on vmware ESX which has a linux look.

For a comparison of snmp.conf see below for mine:
rwcommunity MYRWCom 127.0.0.1
rocommunity MYROCom 127.0.0.1
rwcommunity MYRWCom myco.co.nz
rocommunity MYROCom myco.co.nz
trapcommunity MYROCom
trapsink x.x.x.x MYROCom
syscontact root@localhost (edit snmpd.conf)
syslocation MOB3 Computer Room

The x.x.x.x would be the IP Address of your HPSIM Host.