Home > Storage > PowerScale (Isilon) > Product Documentation > Management and Migration > PowerScale OneFS: Advanced Alert Configurations > snmptrapd
snmptrapd is the tool in the Net-SNMP tool chain that receives and logs SNMP TRAP messages. By default, it listens on UDP port 162 on all IPv4 interfaces. Since port 162 is a privileged port, snmptrapd must be run as root.
To set up a minimal SNMP TRAP server to validate the OneFS SNMP TRAP settings, use the following CLI commands.
echo "authCommunity log public" > /tmp/traps.cfg
snmptrapd -Lf /tmp/snmptrapd_traps.log -C -c /tmp/traps.cfg -m ALL
Wait for several minutes, then check to see if there is a corresponding entry in the /tmp/snmptrapd_traps.log file.
NET-SNMP version 5.7.2
2018-05-07 04:56:46 <UNKNOWN> [UDP: [10.yyy.yyy.yyy]:35488->[10.xxx.xxx.xxx]:162]:
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (873813181) 101 days, 3:15:31.81
SNMPv2-MIB::snmpTrapOID.0 = OID: ISILON-TRAP-MIB::testEventCrit
ISILON-TRAP-MIB::instanceIdentifier = STRING: "2221"
ISILON-MIB::clusterName = STRING: x41040g
ISILON-MIB::nodeName = STRING: x41040g-1
ISILON-MIB::nodeSerialNumber = STRING: SX410-301448-0070
ISILON-TRAP-MIB::eventKbUrl = STRING: "Unavailable."
ISILON-TRAP-MIB::eventKbUrl = STRING: "Unavailable."
To validate the OneFS SNMP TRAP configuration in a Windows environment, see the KB article How to install 'Net-SNMP' tools in Windows and use snmptrapd/snmpwalk to test receive/send SNMP trap information.