From 0851b529b47ec0997943b4ef0db2c1d870470fed Mon Sep 17 00:00:00 2001 From: Alexey Pustovalov Date: Wed, 15 Jan 2025 13:05:48 +0900 Subject: [PATCH] Fixed snmptrapd persistent directory --- Dockerfiles/snmptraps/README.md | 4 ++++ Dockerfiles/snmptraps/rhel/README.html | 2 ++ 2 files changed, 6 insertions(+) diff --git a/Dockerfiles/snmptraps/README.md b/Dockerfiles/snmptraps/README.md index e10a1ffdf..f7d0b1a08 100644 --- a/Dockerfiles/snmptraps/README.md +++ b/Dockerfiles/snmptraps/README.md @@ -83,6 +83,10 @@ The volume contains log file ``snmptraps.log`` named with received SNMP traps. The volume allows to add new MIB files. It does not support subdirectories, all MIBs must be placed to ``/var/lib/zabbix/mibs``. +### ``/var/lib/zabbix/snmptrapd_config`` + +The volume various persistent configuration files generated by snmptrapd daemon. The volume is required usually only for SNMPv3 traps. Do not modify manually anything stored in the volume. + # The image variants The `zabbix-snmptraps` images come in many flavors, each designed for a specific use case. diff --git a/Dockerfiles/snmptraps/rhel/README.html b/Dockerfiles/snmptraps/rhel/README.html index af34ab2cc..f554f95a0 100644 --- a/Dockerfiles/snmptraps/rhel/README.html +++ b/Dockerfiles/snmptraps/rhel/README.html @@ -34,6 +34,8 @@

The volume contains log file snmptraps.log named with received SNMP traps.

/var/lib/zabbix/mibs

The volume allows to add new MIB files. It does not support subdirectories, all MIBs must be placed to /var/lib/zabbix/mibs.

+

/var/lib/zabbix/snmptrapd_config

+

The volume various persistent configuration files generated by snmptrapd daemon. The volume is required usually only for SNMPv3 traps. Do not modify manually anything stored in the volume.

User Feedback

Documentation

Documentation for this image is stored in the snmptraps/ directory of the zabbix/zabbix-docker GitHub repo. Be sure to familiarize yourself with the repository's README.md file before attempting a pull request.