Template:FAQ:Agent 16

From Net-SNMP Wiki
Revision as of 21:54, 22 October 2006 by Dts12 (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The agent sends a 'coldStart(0)' trap when it first starts up, and an enterprise-specific trap 'nsNotifyShutdown' (or 'ucdShutdown') when it stops. It can also be configured to send an 'authenticationFailure(4)' trap when it receives an SNMPv1 request using an unknown community name. The Net-SNMP agent generates an enterprise-specific trap 'nsNotifyRestart' (rather than the standard 'coldStart(0)' or 'warmStart(1)' traps) on receiving a HUP signal - typically after being re-configured.

The agent does not send 'linkUp' or 'linkDown' traps by default. The Net-SNMP agent can be configured to do this using the 'monitor' config directive. See the 'snmpd.conf(5)' man page (under DISMAN-EVENT-MIB) for details (including the need for an 'agentSecName' setting).

Similarly, it does not generate traps by default when one of the monitored characteristics (disk usage, running processes, etc) enters or leaves an error state. This can be configured using the 'defaultMonitors' config directive (also documented under DISMAN-EVENT-MIB). Note that these facilities are only available with the v5 Net-SNMP agent, and are not supported by the v4 UCD agent.