Insight Remote Support
cancel
Showing results for 
Search instead for 
Did you mean: 

SNMP LINUX REDHAT SETUP

danilovenancio
Frequent Visitor

SNMP LINUX REDHAT SETUP

I am trying to setup SNMP on linux redhat but without success I ask for help, my test machine is a DL380 G6 / iLO2 / Linux Redhat Enterprise 7.1. If anyone can send me the SNMP configuration of any system they are already monitoring.

1 REPLY
SANJAY MUNDHRA
Regular Advisor

Re: SNMP LINUX REDHAT SETUP

Hi,

USe the folowing example

dlmod cmaX /usr/lib64/libcmaX64.so
rocommunity snmp_hpcms
rocommunity snmp_hpcms localhost
rocommunity snmp_hpcms <IRS Server IP Address>
trapcommunity snmp_hpcms
trapsink <IRS Server IP Address> snmp_hpcms
trapsink localhost snmp_hpcms

Note: SNMP community used in the above example is snmp_hpcms, it may difefer for your site

Resatrt the SNMP services and HPE Agent services and sned a test trap using the command below:, need to have the SNMP_Utils RPM install for the snmp test trap to work. 

snmptrap -v1 -c <snmp read community string> <CMS IP address> .1.3.6.1.4.1.232 <Linux server address> 6 11003 1234 .1.3.6.1.2.1.1.5.0 s test .1.3.6.1.4.1.232.11.2.11.1.0 i 0 .1.3.6.1.4.1.232.11.2.8.1.0 s "SNMP test trap from TEST machine"

 

Regards,

Sanjay