From 69cdfa9ffd4f82d4ddffc24143059a80b855c04f 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 1a7b05023..3e702820b 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 3b56bf88a..ead9b4f1e 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.