Lenovo ThinkServer RD240 MegaRAID SAS Software User Guide - Page 235
Red Hat and, It is assumed
View all Lenovo ThinkServer RD240 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 235 highlights
For example, to get a trap in 10.0.0.144, add the following to snmpd.conf. # sec.name source community com2sec snmpclient 10.0.0.144 public 4. To run/stop the snmpd daemon, enter the following command: /etc/init.d/snmpd start/stop 5. To start/stop the SAS SNMP Agent daemon before issuing a SNMP query, enter the following command: /etc/init.d/ThinkServer_mrdsnmpd start/stop You can check the status of the SAS SNMP Agent daemon by checked by issuing the following command: /etc/init.d/ThinkServer_mrdsnmpd status 6. Issue an SNMP query in this format: snmpwalk -v1 -c public localhost .1.3.6.1.4.1.3582 7. You can get the SNMP trap from local machine by issuing the following command: snmptrapd -P -F "%02.2h:%02.2j TRAP%w.%q from %A %v\n" Note: To receive a trap in a local machine with Net-SNMP version 5.3, you must modify the snmptrapd.conf file (generally located at /var/net-snmp/snmptrapd.conf). Add "disableAuthorization yes" in snmptrapd.conf and then execute "sudo snmptrapd -P -F "%02.2h:%02.2j TRAP%w.%q from %A %v\n". Note: It is assumed that snmpd.conf is located at /etc/snmp for Red Hat and /etc for SLES. You can change the file location from /etc/init.d/ThinkServer_mrdsnmpd file. You can install SNMP without the trap functionality. To do so, set the "TRAPIND" environment variable to "N" before running RPM. Before you install a new version, you must uninstall all previous versions. For SLES 10, perform the following steps to run SNMP: 1. Copy /etc/snmp/snmpd.conf to /etc/snmpd.conf. Installing and Configuring an SNMP Agent 6-27