Ad Widget

Collapse

Zabbix 3 appliance ans snmp trap

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • fpahud
    Junior Member
    • Aug 2016
    • 4

    #1

    Zabbix 3 appliance ans snmp trap

    Hi all,
    I installed Zabbix 3 Appliance and tried to start with snmp trap management.
    In the documentation i can read that all is configured to use snmptrapfmt for the trap mannagement. Unfortunately, it doesn’t work. In think the format defined in snmptrapfmt.conf is not adapted for zabbix.
    I want to try to use perl script.
    I added the perl script in the snmptrapd.conf file like that:

    perl to "/usr/bin/zabbix_trap_receiver.pl"

    I copied the file zabbix_trap_receiver.pl in /urs/bin and executed an chmod +x

    When I restart the server I can see in the syslog file, the following error:

    Aug 19 09:59:10 zabbix snmptrapd[705]: embedded perl support failed to initialize (perl_parse(/usr/share/snmp/snmp_perl_trapd.pl) returned 2)
    Aug 19 09:59:10 zabbix snmptrapd[710]: NET-SNMP version 5.7.2

    Could anybody help me with this issue?

    Thank you in advance for your help.
  • fpahud
    Junior Member
    • Aug 2016
    • 4

    #2
    Zabbix Apliance 3 and snmptrapfmt

    Good morning,
    I work with the Appliance of Zabbix 3. All works correctly, excepted the trap management:
    In the documentation of Zabbix 3 Appliance, we can read that the following comment about trap management:
    SNMP traps
    Zabbix appliance uses snmptrapfmt to handle SNMP traps. It is configured to receive all traps from everywhere.
    Authentication is not required. If you would like to enable authentication, you need to change the /etc/snmp/snmptrapd.conf file and specify required auth settings.
    All traps are stored in the /var/log/zabbix/snmptrapfmt.log file. It is rotated by logrotate before reaching 2GB file size.

    Really, if I send a trap via snmptrap command, I receive the trap in the file /var/log/zabbix/snmptrapfmt.log, but it is not possible tosee them in the zabbix web interface, even if Items are correctly defined:

    Is there anybody who meat this kind of problem and solved it?

    Thank you in advance for your help.

    Comment

    • fpahud
      Junior Member
      • Aug 2016
      • 4

      #3
      A small up for this ticket

      Comment

      • bbrendon
        Senior Member
        • Sep 2005
        • 870

        #4
        I'll second that
        Unofficial Zabbix Expert
        Blog, Corporate Site

        Comment

        • bbrendon
          Senior Member
          • Sep 2005
          • 870

          #5
          Looks like the appliance is broken and hasn't yet been fixed.
          Unofficial Zabbix Expert
          Blog, Corporate Site

          Comment

          Working...