snmpd - fix indentation

This commit is contained in:
2022-12-04 23:40:46 +01:00
parent f50a235dae
commit cff7a8e167

View File

@@ -1,57 +1,57 @@
# AGENT BEHAVIOUR
agentAddress udp:161,udp6:[::1]:161
# system + hrSystem groups only
# system + hrSystem groups only
view systemonly included .1.3.6.1.2.1.1
view systemonly included .1.3.6.1.2.1.25.1
# Full access from the local host
# Full access from the local host
#rocommunity public localhost
# Default access to basic system info
rocommunity public default -V systemonly
# rocommunity6 is for IPv6
rocommunity6 public default -V systemonly
# Default access to basic system info
rocommunity public default -V systemonly
# rocommunity6 is for IPv6
rocommunity6 public default -V systemonly
# Full read-only access for SNMPv3
rouser authOnlyUser
# Full read-only access for SNMPv3
rouser authOnlyUser
# SYSTEM INFORMATION
sysLocation Sitting on the Dock of the Bay
sysContact Me <me@example.org>
# Application + End-to-End layers
# Application + End-to-End layers
sysServices 72
# Process Monitoring
# At least one 'mountd' process
# At least one 'mountd' process
proc mountd
# No more than 4 'ntalkd' processes - 0 is OK
# No more than 4 'ntalkd' processes - 0 is OK
proc ntalkd 4
# At least one 'sendmail' process, but no more than 10
# At least one 'sendmail' process, but no more than 10
proc sendmail 10 1
# Disk Monitoring
# 10MBs required on root disk, 5% free on /var, 10% free on all other disks
# 10MBs required on root disk, 5% free on /var, 10% free on all other disks
disk / 10000
disk /var 5%
includeAllDisks 10%
# System Load
# Unacceptable 1-, 5-, and 15-minute load averages
# Unacceptable 1-, 5-, and 15-minute load averages
load 12 10 5
# ACTIVE MONITORING
# send SNMPv1 traps
trapsink localhost public
# send SNMPv1 traps
trapsink localhost public
# Event MIB - automatically generate alerts
# Remember to activate the 'createUser' lines above
# Remember to activate the 'createUser' lines above
iquerySecName internalUser
rouser internalUser
# AgentX Sub-agents
# Run as an AgentX master agent
master agentx
# Run as an AgentX master agent
master agentx
#If the snmpd was compiled with TCP Wrapper support, it logs every connection made to the agent. This setting disables the
#log messages for accepted connections. Denied connections will still be logged.