summaryrefslogtreecommitdiff
path: root/data/templates
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-01-17 15:19:17 +0100
committerChristian Breunig <christian@breunig.cc>2023-01-17 15:23:12 +0100
commitc1b5e0ab118f1fcf46a59fe64343fe7473556f46 (patch)
tree4691d35eca8c5f140e69b1e7c14b72c670247c41 /data/templates
parent4d58114c483975a2c10f98eb6830571ab1e7ee20 (diff)
downloadvyos-1x-c1b5e0ab118f1fcf46a59fe64343fe7473556f46.tar.gz
vyos-1x-c1b5e0ab118f1fcf46a59fe64343fe7473556f46.zip
snmp: T4902: exclude container storage from monitoring
Excluded to not spam the log as there is an access restriction to that folder which SNMP user can not access.
Diffstat (limited to 'data/templates')
-rw-r--r--data/templates/snmp/etc.snmpd.conf.j23
1 files changed, 3 insertions, 0 deletions
diff --git a/data/templates/snmp/etc.snmpd.conf.j2 b/data/templates/snmp/etc.snmpd.conf.j2
index 47bf6878f..a9bbf68ce 100644
--- a/data/templates/snmp/etc.snmpd.conf.j2
+++ b/data/templates/snmp/etc.snmpd.conf.j2
@@ -26,6 +26,9 @@ monitor -r 10 -e linkDownTrap "Generate linkDown" ifOperStatus == 2
# interface (with different ifIndex) - this is the case on e.g. ppp interfaces
interface_replace_old yes
+# T4902: exclude container storage from monitoring
+ignoreDisk /usr/lib/live/mount/persistence/container
+
########################
# configurable section #
########################