From 6bf9db0a488cf42e2d6e7452beb1e8b2f38d8405 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 e1f25b835..79a59c571 100644 --- a/Dockerfiles/snmptraps/README.md +++ b/Dockerfiles/snmptraps/README.md @@ -85,6 +85,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 4caa38c8b..31fa4984f 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.