FAQ:Agent 16
From Net-SNMP Wiki
What traps are sent by the agent?
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. It can be configured to do this using the directive 'linkUpDownNotifications'.
See the 'snmpd.conf(5)' man page (under ACTIVE MONITORING)
for details.
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'
directive (again documented under ACTIVE MONITORING).
Note that these facilities are only available with the v5 Net-SNMP agent, and are not supported by the v4 UCD agent.
FAQ:Agent
- What MIBs are supported?
- What protocols are supported?
- How do I configure the agent?
- How do I remove a MIB from the agent?
- I've installed a new MIB file. Why can't I query it?
- How do I add a MIB to the agent?
- What's the difference between 'exec', 'sh' and 'pass'?
- What's the difference between AgentX, SMUX and proxied SNMP?
- What about 'dlmod' - what's that about?
- Which should I use?
- Can I use AgentX when running under Windows?
- Can I use AgentX (or an embedded SNMP agent) in a threaded application?
- How can I run AgentX with a different socket address?
- How can I turn off SMUX support?
- How can I combine two copies of the 'mib2' tree from separate subagents?
- What traps are sent by the agent?
- Where are these traps sent to?
- How can I send a particular trap to selected destinations?
- When I run the agent it runs and then quits without staying around. Why?
- After a while the agent stops responding, and starts eating CPU time. Why?
- How can I stop other people getting at my agent?
- How can I listen on just one particular interface?
- How do I configure access control?
- I don't understand the new access control stuff - what does it mean?
- How do I configure SNMPv3 users?
- The 'createUser' line disappears when I start the agent. Why?
- What's the difference between /var/net-snmp and /usr/local/share/snmp?
- My new agent is ignoring the old snmpd.conf file. Why?
- Why am I getting "Connection refused"?
- Why can't I see values in the UCDavis 'extensible' or 'disk' trees?
- Why can't I see values in the UCDavis 'memory' or 'vmstat' tree?
- What do the CPU statistics mean - is this the load average?
- How do I get percentage CPU utilization using ssCpuRawIdle?
- What about multi-processor systems?
- The speed/type of my network interfaces is wrong - how can I fix it?
- The interface statistics for my subinterfaces are all zero - why?
- Does the agent support the RMON-MIB?
- What does "klread: bad address" mean?
- What does "nlist err: wombat not found" (or similar) mean?
- How about "Can't open /dev/kmem"?
- The agent is complaining about 'snmpd.conf'. Where is this?
- The system uptime (sysUpTime) returned is wrong!
- Can the agent run multi-threaded?
