Server Management - Systems Insight Manager
1833748 Members
2933 Online
110063 Solutions
New Discussion

SNMP redirect to iLO on Linux

 
Chavin
Occasional Contributor

SNMP redirect to iLO on Linux

I am trying to configure a Linux Redhat AS 3 so that SNMP traps are sent through the iLO card and not directly through the NIC card, and I don't know how to set snmpd.conf for that.

In the SNMP settings of the iLO card, "Forward Insight Manager Agent SNMP Alerts " and "Enable SNMP Pass-thru" are enabled (all the options are actually enabled). I have the address of the SIM server as destination of the traps. Test traps from iLO are effectively sent to SIM.

In Linux, cpqci driver is loaded; hponcfg can get the iLO configuration so I suppose the communication between Linux and iLO is OK.

Here is the content of /etc/snmp/snmpd.conf :

===============
rwcommunity private 127.0.0.1
rocommunity public 127.0.0.1
rwcommunity private SIMserver
trapcommunity SIMcommunity
trapsink SIMserver SIMcommunity

syscontact Root
syslocation Unknown

com2sec SIM SIMserver SIMcommunity
com2sec SIM localhost SIMcommunity
group MyRWGroup v1 SIM
group MyRWGroup v2c SIM
group MyRWGroup usm SIM
mask view all included .1 80
access MyRWGroup "" any noauth exact all all all

pass .1.3.6.1.4.1.4413.4.1 /usr/bin/ucd5820stat
===============

With this setting, when I send a test trap using SMH, the trap is sent from the Linux box.

When I configured the trapsink as "localhost", in /var/log/messages, I saw that the iLO card sent a trap to the local snmpd daemon. Now I'm lost.

On Windows 2003, I was able to configure SNMP redirection to the iLO card by specifying "localhost" as the trap destination.

Could anyone explain me what I should check and how I can setup snmp ?

Configuration: BL20pG3, Linux Redhat AS 3, PSP 7.30, iLO firmware 1.75, HP SIM 4.2SP1.