| 1 |
<IfModule mod_snmp.c> |
| 2 |
|
| 3 |
SNMPEngine on |
| 4 |
|
| 5 |
# REQUIRED: Configure the agent to listen on 1.2.3.4, port 161 |
| 6 |
# Do not configure mod_snmp to listen on a public Internet address! |
| 7 |
SNMPAgent master 127.0.0.1 161 |
| 8 |
|
| 9 |
# REQUIRED: Configure the SNMP community string |
| 10 |
SNMPCommunity proftp |
| 11 |
|
| 12 |
SNMPLog /var/log/proftpd/snmp.log |
| 13 |
|
| 14 |
#The mod_snmp module supports sending notifications (via SNMP traps) whenever |
| 15 |
#certain events occur or conditions are met. Note that only SNMPv2 traps are |
| 16 |
#generated; there is currently no support for SNMPv1 traps. |
| 17 |
|
| 18 |
#Currently supported notifications: |
| 19 |
|
| 20 |
# • MaxInstances limit exceeded |
| 21 |
# • Failed FTP login due to bad/wrong password |
| 22 |
# • Failed FTP login due to bad/unknown user name |
| 23 |
|
| 24 |
# SNMPNotify |
| 25 |
|
| 26 |
# SNMPOptions |
| 27 |
|
| 28 |
# Configure the directory that mod_snmp will use for its database files |
| 29 |
SNMPTables /var/lib/proftpd/snmp |
| 30 |
|
| 31 |
# <Limit SNMP> |
| 32 |
# # Allow SNMP packets from 10.x.x.x and 127.0.0.1 addresses |
| 33 |
# Allow from 10., 127.0.0.1 |
| 34 |
# DenyAll |
| 35 |
# </Limit> |
| 36 |
|
| 37 |
</IfModule> |