17.2 Setting Up SNMP Notifications on Linux
-
Install the Net-SNMP RPM
packages:
net-snmp
libsnmp15
snmp-mibs
-
In /etc/snmp/snmpd.conf
configuration file:
-
Comment out the com2sec
entry:
# com2sec notConfigUser default public
-
Add the following lines at the
end of the file:
rocommunity public trapsink localhost master agentx
-
(SLES 10 only) Register the agentx
socket:
agentxsocket /var/agentx/master
-
Comment out the com2sec
entry:
-
Copy aus.mib from /usr/StorMan to
/usr/share/snmp/mibs/:
#cp /usr/StorMan/aus.mib /usr/share/snmp/mibs
-
Restart the SNMP agent:
#service snmpd restart
-
Start aus-snmpd from
/usr/StorMan:
#./aus-snmpd