Ad Widget

Collapse

ERROR zabbix_trap_receiver.pl | Zabbix 3.2.4.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • hakna
    Junior Member
    • Mar 2018
    • 14

    #1

    ERROR zabbix_trap_receiver.pl | Zabbix 3.2.4.


    Hi, I have the following problem about the zabbix TRAPS. I am able to receive the traps on my server since I visualize them in the log. But I am not able to pick up the traps through the zabbix item or with the snmptrap.fallback item, it is not able to pick up the log traps.

    The zabbix_trap_receiver.pl script in its execution presents the error

    Undefined subroutine & NetSNMP :: TrapReceiver :: register and if I define the routine it presents the error,

    Can not locate NetSNMP / TrapReceiver / register.pm in @INC (@INC contains: / usr / local / lib64 / perl5 / usr / local / share / perl5 / usr / lib64 / perl5 / vendor_perl / usr / share / perl5 / vendor_perl / usr / lib64 / perl5 / usr / share / perl5.) at ./receiver.pl line 56 BEGIN failed - compilation aborted at ./receiver.pl line 56.

    The truth is that at this point I am stuck and I can not move forward. The only thing I need is that zabbix pick up the traps through the items, I have also rapsado the documentation offical following the steps but still I have not been able.

    Thank you very much to all
  • Atsushi
    Senior Member
    • Aug 2013
    • 2028

    #2
    Please read the error message carefully.
    The dependent Perl module is missing.

    If you are using CentOS 7, you can solve by installing the net-snmp-perl package.

    Comment

    • hakna
      Junior Member
      • Mar 2018
      • 14

      #3
      Hi,

      Thanks,but it's already installe.
      snmptrapd.service if it shows the traps Regards.
      Attached Files

      Comment

      • hakna
        Junior Member
        • Mar 2018
        • 14

        #4
        Good morning, do you have any idea that I can look?
        Thank you very much.

        Comment


        • Atsushi
          Atsushi commented
          Editing a comment
          Is the content of the question changed?
          Please arrange your question and ask what you have done and what is the problem at the moment.

          Also, when a problem occurs, check logs properly in addition to the command output.

        • hakna
          hakna commented
          Editing a comment
          The question remains the same, because snmptrap.fallback does not collect the traps or the specific items?.

          Everything seems to be working less catching traps.


          I have tried several configurations as well as re-installing the SNMP components without having any results.


          Thank you very much for the help.Regards
      Working...