From dd02bfe7e5814a747515af94d6781a1e38e1c146 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 cd3d15c40a..bd07c0d1bb 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 0c10421a39..d9fe74c06b 100644 --- a/Dockerfiles/snmptraps/rhel/README.html +++ b/Dockerfiles/snmptraps/rhel/README.html @@ -34,6 +34,8 @@

/var/lib/zabbix/snmptraps

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.