]> git.pld-linux.org Git - packages/net-snmp.git/blame - net-snmpd.conf
Provide hrMIB data via librpm for rpm 4.16
[packages/net-snmp.git] / net-snmpd.conf
CommitLineData
f2121eaa 1#
8e96cdc4
ER
2# snmpd.conf - configuration file for the Net-SNMP SNMP agent
3# See snmpd.conf(5) for more information.
f2121eaa 4
8e96cdc4
ER
5###########################################################################
6# SECTION: Access Control Setup
f2121eaa 7#
8e96cdc4
ER
8# rocommunity: a SNMPv1/SNMPv2c read-only access community name
9# rwcommunity: a SNMPv1/SNMPv2c read-write access community name
10# arguments: community [default|hostname|network/bits] [oid]
f2121eaa 11
8e96cdc4
ER
12rocommunity public localhost
13#rwcommunity rw localhost
f2121eaa 14
8e96cdc4
ER
15###########################################################################
16# SECTION: Monitor Various Aspects of the Running Host
f2121eaa 17
8e96cdc4
ER
18# proc: Check for processes that should be running.
19#proc sshd 10 1
20#proc crond 10 1
f2121eaa 21
8e96cdc4
ER
22# disk: Check for disk space usage of a partition.
23# /bin/df -P | awk '/^\/dev/{printf("disk %s\n", $NF)}'
24#disk /
f2121eaa 25
8e96cdc4
ER
26# load: Check for unreasonable load average values.
27#load 2 1 1
f2121eaa 28
8e96cdc4
ER
29# file: Check on the size of a file.
30#file /etc/passwd 10
f2121eaa 31
8e96cdc4
ER
32###########################################################################
33# SECTION: System Information Setup
f2121eaa 34
8e96cdc4
ER
35# syslocation: The [typically physical] location of the system.
36#syslocation "Unknown"
f2121eaa 37
8e96cdc4
ER
38# syscontact: The contact information for the administrator
39#syscontact "Root <root@localhost>"
f2121eaa 40
8e96cdc4
ER
41# minimum swap free in KiB, default 16000
42#swap 256000
f2121eaa 43
8e96cdc4
ER
44# This setting disables the log messages for accepted connections.
45# Denied connections will still be logged. You may want to enable this option
46# as default may be too noisy for you.
47#dontLogTCPWrappersConnects 1
This page took 0.06369 seconds and 4 git commands to generate.