snmp — remotely monitor hosts running SNMP agents
[ server1 novell hub2 hub server3 type=ping,net,storage,nwusers,cpu,novell snmp router1 community=secret type=net,ping
]snmp
The default community (when not passwed with "community=...") is 'public'. "type" may be a list of checks out of the following:
ping
report in host.conn if snmp poll was successfull
net
check any network interface for InputErrors and OutputErrors and report a failure if device reports more than 2/s (yellow) or 6/s (red)
storage
(currently only together with "novell" and "nt") use the 'hrStorage' oid for checking disk and memory usage
cpu
uses 'hrProcessorLoad' to monitor CPU load. Does report "yellow" if load is>80%
nwusers
(will only work with Netware servers) Does check 'nwMaxLogins' against 'nwLoginCount', report 'yellow' if only 10 users are left, 'red' if less than 2 are left
hub / nt / novell / caty / cds / notes / linux
these do not include any check but will tell 'snmp' which types of machine are checked. Some snmp checks are depending on the type of host:
hub
: network hub
nt
: Windows NT
novell
: Novell Netware
caty
: Cisco Catalyst
cds
: Axis CD-Server
linux
: Linux (whith UCD SNMP)
![]() | Note |
---|---|
snmp does read the file etc/mibs.txt. By default this contains only the Internet MIB-II (ping/net). You need to add more mibs from the contrib/mibs directory, e.g. |