]>
Commit | Line | Data |
---|---|---|
1 | # | |
2 | # snmpd.conf - configuration file for the Net-SNMP SNMP agent | |
3 | # See snmpd.conf(5) for more information. | |
4 | ||
5 | ########################################################################### | |
6 | # SECTION: Access Control Setup | |
7 | # | |
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] | |
11 | ||
12 | rocommunity public localhost | |
13 | #rwcommunity rw localhost | |
14 | ||
15 | ########################################################################### | |
16 | # SECTION: Monitor Various Aspects of the Running Host | |
17 | ||
18 | # proc: Check for processes that should be running. | |
19 | #proc sshd 10 1 | |
20 | #proc crond 10 1 | |
21 | ||
22 | # disk: Check for disk space usage of a partition. | |
23 | # /bin/df -P | awk '/^\/dev/{printf("disk %s\n", $NF)}' | |
24 | #disk / | |
25 | ||
26 | # load: Check for unreasonable load average values. | |
27 | #load 2 1 1 | |
28 | ||
29 | # file: Check on the size of a file. | |
30 | #file /etc/passwd 10 | |
31 | ||
32 | ########################################################################### | |
33 | # SECTION: System Information Setup | |
34 | ||
35 | # syslocation: The [typically physical] location of the system. | |
36 | #syslocation "Unknown" | |
37 | ||
38 | # syscontact: The contact information for the administrator | |
39 | #syscontact "Root <root@localhost>" | |
40 | ||
41 | # minimum swap free in KiB, default 16000 | |
42 | #swap 256000 | |
43 | ||
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 |