diff --git a/examples/compose/librenms.env b/examples/compose/librenms.env index a1d0492..bf9f336 100644 --- a/examples/compose/librenms.env +++ b/examples/compose/librenms.env @@ -14,3 +14,5 @@ LIBRENMS_SNMP_COMMUNITY=librenmsdocker LIBRENMS_WEATHERMAP=false LIBRENMS_WEATHERMAP_SCHEDULE=*/5 * * * * + +SNMP_TRAP_DIRS=/opt/librenms/mibs:/opt/librenms/mibs/cisco \ No newline at end of file diff --git a/examples/rrdcached-server/librenms.env b/examples/rrdcached-server/librenms.env index 44da1f5..70aa2f1 100644 --- a/examples/rrdcached-server/librenms.env +++ b/examples/rrdcached-server/librenms.env @@ -15,3 +15,5 @@ RRDCACHED_SERVER=rrdcached:42217 LIBRENMS_WEATHERMAP=false LIBRENMS_WEATHERMAP_SCHEDULE=*/5 * * * * + +SNMP_TRAP_DIRS=/opt/librenms/mibs:/opt/librenms/mibs/cisco \ No newline at end of file diff --git a/examples/traefik/librenms.env b/examples/traefik/librenms.env index d650129..1133063 100644 --- a/examples/traefik/librenms.env +++ b/examples/traefik/librenms.env @@ -14,3 +14,5 @@ LIBRENMS_SNMP_COMMUNITY=librenmsdocker LIBRENMS_WEATHERMAP=false LIBRENMS_WEATHERMAP_SCHEDULE=*/5 * * * * + +SNMP_TRAP_DIRS=/opt/librenms/mibs:/opt/librenms/mibs/cisco \ No newline at end of file diff --git a/rootfs/etc/cont-init.d/08-svc-snmptrapd.sh b/rootfs/etc/cont-init.d/08-svc-snmptrapd.sh index 4837606..516219d 100644 --- a/rootfs/etc/cont-init.d/08-svc-snmptrapd.sh +++ b/rootfs/etc/cont-init.d/08-svc-snmptrapd.sh @@ -42,6 +42,6 @@ mkdir -p /etc/services.d/snmptrapd cat >/etc/services.d/snmptrapd/run <