Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-4997

Import of modified SNMP Template leads to SNMP checks failing for all Items of affected Host

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 2.0.0rc5
    • 2.0.0rc4
    • Templates (T)
    • Zabbix server v2.0.0rc4 (revision 27508) (12 May 2012)
      Compilation time: May 14 2012 11:17:25
      psql (PostgreSQL) 9.1.3

      When exporting a Template with SNMP Items, modifying it offline and importing it again, SNMP checks fail for all SNMP Items.

      I have attached two test scenarios which replicate the problem.
      The _ORIG xml files are the original Templates exported. The _MODIFIED xml files contain the modification.
      After importing the _MODIFIED xml files, the problem will occur.

      zabbix_server.log:

      Test_A zabbix_server.log:
      26894:20120514:220408.548 enabling SNMP checks on host [test.example.com]: host became available
      26929:20120514:220712.691 item [test.example.com:sysname.1.3.6.1.2.1.1.5.0] became not supported: : [-3] Temporary failure in name resolution

      Test_B zabbix_server.log:
      26894:20120514:221441.686 enabling SNMP checks on host [test.example.com]: host became available
      26894:20120514:221641.722 SNMP item [sysdesc.SNMP] on host [test.example.com] failed: first network error, wait for 15 seconds
      26896:20120514:221656.739 SNMP item [sysdesc.SNMP] on host [test.example.com] failed: another network error, wait for 15 seconds
      26896:20120514:221711.747 SNMP item [sysdesc.SNMP] on host [test.example.com] failed: another network error, wait for 15 seconds
      26896:20120514:221726.755 SNMP item [sysdesc.SNMP] on host [test.example.com] failed: another network error, wait for 15 seconds
      26896:20120514:221741.775 temporarily disabling SNMP checks on host [test.example.com]: host unavailable

      zabbix_server restart does not solve the problem.

      Maybe some problem in the Interface code of zabbix_server?

      Test_A:
      Just one Item in one Template with one Host.
      zbx_host_A.xml
      zbx_template_A_ORIG.xml
      zbx_template_A_MODIFIED.xml

      Test_B:
      Two Items in one Template with one Host. Only one Item will be modified.
      zbx_host_B.xml
      zbx_template_B_ORIG.xml
      zbx_template_B_MODIFIED.xml

        1. zbx_host_A.xml
          2 kB
          Simon Kowallik
        2. zbx_host_B.xml
          2 kB
          Simon Kowallik
        3. zbx_templates_A_MODIFIED.xml
          2 kB
          Simon Kowallik
        4. zbx_templates_A_ORIG.xml
          2 kB
          Simon Kowallik
        5. zbx_templates_B_MODIFIED.xml
          4 kB
          Simon Kowallik
        6. zbx_templates_B_ORIG.xml
          4 kB
          Simon Kowallik

            Unassigned Unassigned
            skr Simon Kowallik
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: