VMware Cloud Community
RossMcleod
Contributor
Contributor

ESXI SNMP HP

Wondering if you could help. I am configuring a HP DL380 G7 as a stand alone Esxi 5 box. I have verified the HP offline bundle is installed.

I have setup esxi to forward trap alerts to an orion server we have. I can see the VMware traps but the compaq hardware traps do not show up.

I can confirm that the HP CIM information is showing up in the client. Also when i one of the power cables as a test it shows up in the client but no trap is sent.

I setup an identcal server a few weeks ago and this works with no issue. They are both on the same esxi and HP offline bundle.

The command i ran on both are -

esxcli system snmp set -c community
esxcli system snmp set -l warning
esxcli system snmp set -e yes

esxcli system snmp set --targets 10.X.X.X@162/community

Any help would be much appreciated. I feel like i am missing a step here.

Thanks

Reply
0 Kudos
10 Replies
bharathl
Enthusiast
Enthusiast

Did you configure in the alarm to forward it to SNMP.

Reply
0 Kudos
RossMcleod
Contributor
Contributor

Hi bharathl,

This is standalone esci with no vcentre. There are no alarms to configure.

Thanks

Reply
0 Kudos
CoolRam
Expert
Expert

Can you check the firewall port is open for the snmp in ESXi.

Run this command to test configuration :  esxcli system snmp test

If you find any answer useful. please mark the answer as correct or helpful.
Reply
0 Kudos
bharathl
Enthusiast
Enthusiast

did you use the option --hwsrc in SNMP to get the events from the source CIM

Reply
0 Kudos
RossMcleod
Contributor
Contributor

Hi CoolRam,

The test passes successfully. I can also see in Orion the VMware trap appear. The issue occurs with the compaq traps not being passed/working?

Thanks

Reply
0 Kudos
RossMcleod
Contributor
Contributor

hwsrc is set to indications. With CIM showing HP info in the client i assume is correct?

Reply
0 Kudos
bharathl
Enthusiast
Enthusiast

I think hwsrc set to indications should be enough to get the traps. Did you also load the appropriate MIB files in the SNMP server.

Reply
0 Kudos
RossMcleod
Contributor
Contributor

Orion has them all preloaded. In addition i have an identical server that is working.

Reply
0 Kudos
MKguy
Virtuoso
Virtuoso

Have you tried anything else besides plugging network cables?

Please post the complete output of these command, preferably from both your systems for comparison:

# esxcli system snmp get

# esxcli software vib list | grep -i hp

Also run a tcpdump when you try to generate a trap with:

# tcpdump-uw -i vmk0 -nnveAs0 port 162

Note: Change "vmk0" to the appropriate vmkernel port name that will send the trap.

-- http://alpacapowered.wordpress.com
Reply
0 Kudos
RossMcleod
Contributor
Contributor

Hi MkGuy,

Im out the office for a few days so i cannot physically trigger a hardware fault until back in.

However i got the results of the first two items which are attached.

Thanks

Reply
0 Kudos