Installing and Configuring an SNMP Agent
6-27
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
.
Summary of Contents for ThinkServer RD230
Page 1: ...ThinkServer RD230 RD240 and TD230 MegaRAID SAS Software User Guide ...
Page 2: ......
Page 3: ...ThinkServer RD230 RD240 and TD230 MegaRAID SAS Software User Guide ...
Page 16: ...Contents ...
Page 24: ...Contents ...
Page 68: ...2 36 Introduction to RAID ...
Page 252: ...7 10 MegaRAID Storage Manager Window and Menus ...
Page 300: ...8 48 Configuration ...
Page 328: ...9 28 Monitoring System Events and Storage Devices ...
Page 334: ...10 6 Maintaining and Managing Storage Configurations ...
Page 360: ...B 12 Glossary ...
Page 363: ......
Page 364: ......