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

If the dynamic indexes use a macros an item set is unsupported

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 2.0.3rc2, 2.1.0
    • 2.0.2rc2, 2.1.0
    • Server (S)
    • CentOS release 5.8 (Final)

      After installing the new version of the pre-zabbix-2.1.0-30326 stopped working an item with dynamic indices that use macros.

      not working example SNMP OID
      IF-MIB :: ifHCInOctets ["index", "IF-MIB :: ifDescr", "{$ SNMP_IFDESCR}"]

      Log:
      10194:20120926:201134.144 In DCconfig_get_poller_items() poller_type:0
      10194:20120926:201134.144 End of DCconfig_get_poller_items():1
      10194:20120926:201134.144 In substitute_key_macros() data:'ifInOctets'
      10194:20120926:201134.144 End of substitute_key_macros():SUCCEED data:'ifInOctets'
      10194:20120926:201134.144 In substitute_simple_macros() data:'161'
      10194:20120926:201134.144 In substitute_simple_macros() data:'{$SNMP_COMMUNITY}'
      10194:20120926:201134.144 In DCget_user_macro() macro:'{$SNMP_COMMUNITY}'
      10194:20120926:201134.144 In DCget_host_macro() macro:'{$SNMP_COMMUNITY}'
      10194:20120926:201134.144 End of DCget_host_macro():SUCCEED
      10194:20120926:201134.144 End of DCget_user_macro()
      10194:20120926:201134.144 End substitute_simple_macros() data:'public'
      10194:20120926:201134.144 In substitute_key_macros() data:'IF-MIB::ifHCInOctets["index","IF-MIB::ifDescr","{$SNMP_IFDESCR}"]'
      10194:20120926:201134.144 In substitute_simple_macros() data:'{$SNMP_IFDESCR}'
      10194:20120926:201134.144 In DCget_user_macro() macro:'{$SNMP_IFDESCR}'
      10194:20120926:201134.144 In DCget_host_macro() macro:'{$SNMP_IFDESCR}'
      10194:20120926:201134.144 End of DCget_host_macro():FAIL
      10194:20120926:201134.144 In DCget_global_macro() macro:'{$SNMP_IFDESCR}'
      10194:20120926:201134.144 End of DCget_global_macro()
      10194:20120926:201134.144 End of DCget_user_macro()
      10194:20120926:201134.144 End substitute_simple_macros() data:'{$SNMP_IFDESCR}'
      10194:20120926:201134.144 End of substitute_key_macros():SUCCEED data:'IF-MIB::ifHCInOctets["index","IF-MIB::ifDescr","{$SNMP_IFDESCR}"]'
      10194:20120926:201134.144 In get_value() key:'ifInOctets'
      10194:20120926:201134.144 In get_value_snmp() key:'ifInOctets' oid:'IF-MIB::ifHCInOctets["index","IF-MIB::ifDescr","{$SNMP_IFDESCR}"]'
      10194:20120926:201134.144 In snmp_open_session()
      10194:20120926:201134.144 SNMP [[email protected]:161]
      10194:20120926:201134.144 End of snmp_open_session()
      10194:20120926:201134.144 Special processing
      10194:20120926:201134.144 method:index
      10194:20120926:201134.144 oid_index:IF-MIB::ifDescr
      10194:20120926:201134.144 index_value:{$SNMP_IFDESCR}
      10194:20120926:201134.144 In snmp_normalize(oid:IF-MIB::ifDescr)
      10194:20120926:201134.144 End of snmp_normalize():IF-MIB::ifDescr
      10194:20120926:201134.144 In cache_get_snmp_index() oid:'IF-MIB::ifDescr' value:'{$SNMP_IFDESCR}'
      10194:20120926:201134.144 End of cache_get_snmp_index():FAIL index:0
      10194:20120926:201134.144 In snmp_get_index() oid:'IF-MIB::ifDescr' value:'{$SNMP_IFDESCR}' bulk:1
      10194:20120926:201134.147 snmp_get_index() snmp_synch_response():0
      10194:20120926:201134.147 In snmp_get_octet_string()
      10194:20120926:201134.147 snmp_get_octet_string() full value:'STRING: FastEthernet1'
      10194:20120926:201134.147 End of snmp_get_octet_string():'FastEthernet1'
      10194:20120926:201134.148 snmp_get_index() snmp_synch_response():0
      10194:20120926:201134.148 In snmp_get_octet_string()
      10194:20120926:201134.148 snmp_get_octet_string() full value:'STRING: TenGigabitEthernet1/1'
      10194:20120926:201134.148 End of snmp_get_octet_string():'TenGigabitEthernet1/1'
      10194:20120926:201134.148 snmp_get_index() snmp_synch_response():0
      10194:20120926:201134.148 In snmp_get_octet_string()

        1. item config.jpg
          255 kB
          Victor Bashkirov
        2. node items status.jpg
          285 kB
          Victor Bashkirov
        3. node macros config.jpg
          200 kB
          Victor Bashkirov

            Unassigned Unassigned
            bashkirovvm Victor Bashkirov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: