88 lines
2.8 KiB
Plaintext
88 lines
2.8 KiB
Plaintext
# Listen for connections on all interfaces (both IPv4 *and* IPv6)
|
|
agentAddress udp:161,udp6:[::1]:161
|
|
|
|
view systemonly included .1.3.6.1.2.1.1
|
|
view systemonly included .1.3.6.1.2.1.25.1
|
|
|
|
|
|
rocommunity PRTG 128.1.10.73
|
|
rocommunity PRTG 178.15.152.60
|
|
|
|
rocommunity SDW 138.201.126.41 #root3.sdw.systems
|
|
rocommunity SDW 88.99.138.96 #root4.sdw.systems
|
|
rocommunity SDW 94.130.135.216 #root5.sdw.systems
|
|
|
|
rocommunity SDW 178.15.59.28 #core-open-diakonie.de
|
|
rocommunity SDW 178.15.152.60 #core-open-diaknoie.de behind reverse proxy
|
|
|
|
# Default access to basic system info
|
|
rocommunity public default -V systemonly
|
|
# rocommunity6 is for IPv6
|
|
rocommunity6 public default -V systemonly
|
|
|
|
|
|
###############################################################################
|
|
#
|
|
# SYSTEM INFORMATION
|
|
#
|
|
|
|
# Note that setting these values here, results in the corresponding MIB objects being 'read-only'
|
|
# See snmpd.conf(5) for more details
|
|
sysLocation Sitting on the Dock of the Bay
|
|
sysContact Me <me@example.org>
|
|
# Application + End-to-End layers
|
|
sysServices 72
|
|
|
|
|
|
#
|
|
# Process Monitoring
|
|
#
|
|
# At least one 'mountd' process
|
|
proc mountd
|
|
# No more than 4 'ntalkd' processes - 0 is OK
|
|
proc ntalkd 4
|
|
# At least one 'sendmail' process, but no more than 10
|
|
proc sendmail 10 1
|
|
|
|
# Walk the UCD-SNMP-MIB::prTable to see the resulting output
|
|
# Note that this table will be empty if there are no "proc" entries in the snmpd.conf file
|
|
|
|
|
|
#
|
|
# Disk Monitoring
|
|
#
|
|
# 10MBs required on root disk, 5% free on /var, 10% free on all other disks
|
|
disk / 10000
|
|
disk /var 5%
|
|
includeAllDisks 10%
|
|
|
|
# Walk the UCD-SNMP-MIB::dskTable to see the resulting output
|
|
# Note that this table will be empty if there are no "disk" entries in the snmpd.conf file
|
|
|
|
|
|
#
|
|
# System Load
|
|
#
|
|
# Unacceptable 1-, 5-, and 15-minute load averages
|
|
load 12 10 5
|
|
|
|
# Walk the UCD-SNMP-MIB::laTable to see the resulting output
|
|
# Note that this table *will* be populated, even without a "load" entry in the snmpd.conf file
|
|
|
|
|
|
|
|
###############################################################################
|
|
#
|
|
# ACTIVE MONITORING
|
|
#
|
|
|
|
# send SNMPv1 traps
|
|
trapsink localhost public
|
|
# send SNMPv2c traps
|
|
#
|
|
# Event MIB - automatically generate alerts
|
|
#
|
|
# Remember to activate the 'createUser' lines above
|
|
iquerySecName internalUser
|
|
rouser internalUser
|