Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ snmptrapd(1) — NEWS-os 4.2.1R

Media Vault

Software Library

Restoration Projects

Artifacts Sought

SNMPTRAPD(1)  —  NEWS-OS Programmer’s Manual

NAME

snmptrapd − Trap daemon to accept SNMP traps

SYNOPSIS

snmptrapd configfile &

DESCRIPTION

snmptrapd is a trap daemon designed to sit and await traps generated via the Simple Network Management Protocol directed at the host on which it is running. Which managed entities it will accept traps from, and where it indicates the receipt of a trap are determined by its configuration file configfile as described below. 

SNMPTRAPD CONFIGURATION FILE

The snmptrapd configuration file is consulted upon initial startup of the daemon.  Based on its contents, snmptrapd determines whether or not to accept the trap, and where to indicate receipt of the trap. Options in the snmptrapd configuration file are:

-SEPLOG gateway_address logname - log all incoming traps from the gateway with address gateway_address in a separate log logname. Multiple occurrences of the SEPLOG option are allowed within a single configuration file to allow for the logging of traps from more than one gateway. gateway_address should be a dot notation IP address such as ’128.94.248.254’. 

-NETLOG net logname - log all incoming traps from network net into log logname. net should be a dot notation IP address for a network, such as ’128.213.0.0’. Multiple occurrences of the NETLOG option are allowed within a single configuration file. 

-ALLLOG logname - log all traps in logname. This includes the logging of traps that are also separately logged with the SEPLOG or NETLOG options. Every configuration file must have one ALLLOG option specified. 

-COMMUNITY community_name - accept traps in community community_name.  This is a required parameter that must occur once in every configuration file. 

Currently, snmptrapd will only log into UNIX flat files, although an extension of its logging capabilities is planned. Note that the SIGHUP signal will cause snmptrapd to reread its configuration file. 

SNMPTRAPD LOGS

All incoming traps received by snmptrapd are logged into the appropriate log in the format:

Time Stamp  Vendor-ID  Source Address  Trap Type

Any errors encountered while running the application are written into the errorlog /etc/snmptrapd.errlog. 

FILES

logFor logging traps
/etc/snmptrapd.errlogError log

SEE ALSO

J.D. Case, J.R. Davin, M.S. Fedor, M.L. Schoffstall, Simple Network Management Protocol, Request for Comments 1157, Network Information Center, SRI International, Menlo Park, California, May, 1990.  M.T. Rose, K. McCloghrie, Structure of Management Information, Request for Comments 1155, Network Information Center, SRI International, Menlo Park, California, May, 1990.  K. McCloghrie, M.T. Rose, Management Information Base, Request for Comments 1156, Network Information Center, SRI International, Menlo Park, California, May, 1990.  M.T. Rose, Editor Management Information Base: MIB-II, Request for Comments 1158, Network Information Center, SRI International, Menlo Park, California, May, 1990. 

NEWS-OSRelease 4.2.1R

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026