Ad Widget

Collapse

zabbix-snmptraps container, Can't find module

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Megaman
    Junior Member
    • Jun 2024
    • 4

    #1

    zabbix-snmptraps container, Can't find module

    Hello,

    I'm setting up docker on windows with zabbix-snmptraps, however I'm getting an issue as per below, any ideas on how to fix this?

    This is my docker command
    Code:
    docker run --name zabbix-snmptraps -t -v /zbx_instance/snmptraps:/var/lib/zabbix/snmptraps:rw -v /var/lib/zabbix/mibs:/usr/share/snmp/mibs:ro --network=zabbix-net -p 162:1162/udp --restart unless-stopped  -d zabbix/zabbix-snmptraps:alpine-6.4-latest
    Logs
    Code:
    /var/lib/zabbix/snmptraps$ /usr/sbin/snmptrapd -n -C -c /etc/snmp/snmptrapd.conf -Lo -A
    MIB search path: /usr/share/snmp/mibs:/var/lib/zabbix/mibs
    Cannot find module (SNMPv2-MIB): At line 0 in (none)
    Cannot find module (IF-MIB): At line 0 in (none)
    Cannot find module (IP-MIB): At line 0 in (none)
    Cannot find module (TCP-MIB): At line 0 in (none)
    Cannot find module (UDP-MIB): At line 0 in (none)
    Cannot find module (HOST-RESOURCES-MIB): At line 0 in (none)
    Cannot find module (NOTIFICATION-LOG-MIB): At line 0 in (none)
    Cannot find module (DISMAN-EVENT-MIB): At line 0 in (none)
    Cannot find module (DISMAN-SCHEDULE-MIB): At line 0 in (none)
    Cannot find module (UCD-SNMP-MIB): At line 0 in (none)
    Cannot find module (UCD-DEMO-MIB): At line 0 in (none)
    Cannot find module (SNMP-TARGET-MIB): At line 0 in (none)
    Cannot find module (NET-SNMP-AGENT-MIB): At line 0 in (none)
    Cannot find module (HOST-RESOURCES-TYPES): At line 0 in (none)
    Cannot find module (SNMP-FRAMEWORK-MIB): At line 0 in (none)
    Cannot find module (SNMP-MPD-MIB): At line 0 in (none)
    Thanks
  • Megaman
    Junior Member
    • Jun 2024
    • 4

    #2
    any ideas would be appreciated!

    Comment

    • Megaman
      Junior Member
      • Jun 2024
      • 4

      #3
      any ideas would be appreciated!

      Comment

      • tcweb
        Member
        • Jun 2024
        • 35

        #4
        I have been desperately searching for answers on docker (on windows) monitoring. I'm not finding much. What have you learned so far? I've been exploring creating my own UserParameter commands and doing LLD. But I'm running into challenges there as well.

        -Tom

        Comment

        • markfree
          Senior Member
          • Apr 2019
          • 868

          #5
          You've set up the "-v /var/lib/zabbix/mibs:/usr/share/snmp/mibs:ro" volume and it appears to be empty.
          Since the "snmptrapd" binary can't find those default MIBs, it displays those messages.

          Comment

          • Megaman
            Junior Member
            • Jun 2024
            • 4

            #6
            I did manage to get it working, although I can't remember how unfortunatley.
            I've since switched over to using Zabbix on a RasberryPi, I found if wasn't very reliable in Docker on Windows, the SNMP would constanly not be able to connect to hosts and find the correct OID's.
            RasberryPi has been flawless!

            Comment

            Working...