Ad Widget

Collapse

Error in zabbix_server.conf settings for snmp traps on Appliance 4.4?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mbobkiewicz
    Member
    • Aug 2005
    • 36

    #1

    Error in zabbix_server.conf settings for snmp traps on Appliance 4.4?

    Hi,
    I think there is a bug in the zabbix server config comming with the Zabbix VMWare OVA Appliance 4.4. I´ve installed a fresh copy of the appliance on a VMWare ESXi 6.5 host which I plan to use as a snmp proxy. Only changes to the appliance so far are the network settings the rest is vanilla. I´ve created a test host with a snmptrap.fallback item just to test if I could send data to the zabbix server. I then send a snmptrap from another machine to the server without any error messages but can´t see the data in zabbix. The data I send are both applied to /var/log/syslog and /var/log/zabbix/snmptrapfmt.log. Checking /var/log/zabbix/zabbix_server.log there were "cannot stat SNMP trapper file "/var/log/snmptrap/snmptrap.log": [2] No such file or directory" entries. I then checked the zabbix_server.conf file to find this two lines:
    SNMPTrapperFile=/var/log/zabbix/snmptrapfmt.log
    SNMPTrapperFile=/var/log/snmptrap/snmptrap.log
    While the second line overrides the first line I removed the second line from the config, restarted the zabbix server service and now all traps I send are showing up in Zabbix. Is this a misconfiguration of the appliance or has the second line a wrong option name?

    Best regards,

    Mike
  • dimir
    Zabbix developer
    • Apr 2011
    • 1080

    #2
    It's a bug, please create a ZBX in https://support.zabbix.com . Thank you for reporting it.

    Comment

    • mbobkiewicz
      Member
      • Aug 2005
      • 36

      #3
      Thanks for the reply Dimir, reported as ZBX-16946

      Best regards,

      Mike

      Comment

      • legane
        Junior Member
        • Nov 2019
        • 1

        #4
        Originally posted by mbobkiewicz
        Hi,
        I think there is a bug in the zabbix server config comming with the Zabbix VMWare OVA Appliance 4.4. I´ve installed a fresh copy of the appliance on a VMWare ESXi 6.5 host which I plan to use as a snmp proxy. Only changes to the appliance so far are the network settings the rest is vanilla. I´ve created a test host with a snmptrap.fallback item just to test if I could send data to the zabbix server. I then send a snmptrap from another machine to the server without any error messages but can´t see the data in zabbix. The data I send are both applied to /var/log/syslog and /var/log/zabbix/snmptrapfmt.log. Checking /var/log/zabbix/zabbix_server.log there were "cannot stat SNMP trapper file "/var/log/snmptrap/snmptrap.log": [2] No such file or directory" entries. I then checked the zabbix_server.conf file to find this two lines:
        SNMPTrapperFile=/var/log/zabbix/snmptrapfmt.log
        SNMPTrapperFile=/var/log/snmptrap/snmptrap.log
        While the second line overrides the first line I removed the second line from the config, restarted the zabbix server service and now all traps I send are showing up in Zabbix. Is this a misconfiguration of the appliance or has the second line a wrong option name?

        Best regards,

        Mike
        It's a bug, please create a ZBX in https://support.zabbix.com . Thank you for reporting it.
        Thank ya so much for this thread. I was going through the same problem

        Comment

        Working...