Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/utilities/s/snmptrapd.html on line 1
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/utilities/s/snmptrapd.html on line 1
Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/utilities/s/snmptrapd.html on line 8
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/utilities/s/snmptrapd.html on line 8
Receive SNMP TRAP messages
snmptrapd [-d] [-p] [-p port] [-v 1|2]
Neutrino
- -d
- Dump input and output packets.
- -p
- Print messages to standard output.
By default, messages are sent to the system log.
In order to capture the log messages, you need to have
syslogd
running.
- -p port
- Specify the destination port number.
- -v 1|2
- SNMP version (default is 2).
The snmptrapd utility receives SNMP TRAP messages
sent to the snmp-trap port on the local machine. If
you specify -p, snmptrapd prints
messages to standard output. The messages are of the form:
------------------------ Notification ------------------------
10.0.0.59: Cold Start Trap (0) Uptime: 1 day, 6:11:24
system.sysDescr.0 = "SUN 3/60: SUNOS4.0"
You must have superuser privileges when you run
snmptrapd.
- MIBFILE
- Specify the location of the mib.txt file. For example,
MIBFILE=path/mib.txt (the default path is /etc).
- SUFFIX
- If SUFFIX exists in your environment, all
object IDs with a symbolic name are printed with only
the last element. Examples:
This ID:
system.syscontact.0
is printed as:
syscontact.0
This ID:
udp.udpTable.udpEntry.udpLocalAddress.0.0.0.161
is printed as:
udpLocalAddress.0.0.0.161
/etc/acl.conf,
/etc/context.conf,
/etc/mib.txt,
/etc/party.conf,
snmpd,
/etc/snmpd.conf,
snmpget,
snmpgetnext,
snmpnetstat,
snmpset,
snmpstatus,
snmptest,
snmptranslate,
snmptrap,
snmpwalk
syslogd,
/etc/view.conf
Based on
RFC 1065, RFC 1066, RFC 1067
RFC 1441, RFC 1445, RFC 1446
RFC 1448, RFC 1449
Marshall T. Rose, The Simple Book: An Introduction to
Internet Management, Revised 2nd ed. (Prentice-Hall,
1996, ISBN 0-13-451659-1)
Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/utilities/s/snmptrapd.html on line 189
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/utilities/s/snmptrapd.html on line 189