Initial snmp management seq
Two extends included (raspberry, osupdate)
This commit is contained in:
61
seqs/snmpd.conf
Normal file
61
seqs/snmpd.conf
Normal file
@@ -0,0 +1,61 @@
|
||||
# AGENT BEHAVIOUR
|
||||
agentAddress udp:161,udp6:[::1]:161
|
||||
|
||||
# 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
|
||||
#rocommunity public localhost
|
||||
# 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
|
||||
|
||||
# SYSTEM INFORMATION
|
||||
|
||||
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
|
||||
|
||||
# Disk Monitoring
|
||||
# 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
|
||||
load 12 10 5
|
||||
|
||||
# ACTIVE MONITORING
|
||||
# send SNMPv1 traps
|
||||
trapsink localhost public
|
||||
|
||||
# Event MIB - automatically generate alerts
|
||||
# Remember to activate the 'createUser' lines above
|
||||
iquerySecName internalUser
|
||||
rouser internalUser
|
||||
|
||||
# AgentX Sub-agents
|
||||
# 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.
|
||||
dontLogTCPWrappersConnects true
|
||||
|
||||
# EXTENDING THE AGENT
|
||||
|
Reference in New Issue
Block a user