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

"Oracle by Zabbix agent 2" ASM LLD Wrong macro defined in the JSON path preprocessing steps

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • 6.0.4
    • Templates (T)

      There were two problems in "ASM disk groups discovery" LLD rule:
      first, the agent returned the discovered data with the {#DGNAME} macro while the template used {#DG_NAME}
      secondly, preprocessing is configured on the path

      '$..[''{#DG_NAME}''].used_percent.first()'
      '$..[''{#DG_NAME}''].size_byte.first()'
      '$..[''{#DG_NAME}''].free_size_byte.first()'
      

      while the agent returns

      'total_bytes' VALUE 
      	ROUND(TOTAL_MB / DECODE(TYPE, 'EXTERN', 1, 'NORMAL', 2, 'HIGH', 3) * 1024 * 1024),
      'free_bytes'  VALUE 
      	ROUND(USABLE_FILE_MB * 1024 * 1024),
      'used_pct'    VALUE 
      	ROUND(100 - (USABLE_FILE_MB / (TOTAL_MB / 
      	DECODE(TYPE, 'EXTERN', 1, 'NORMAL', 2, 'HIGH', 3))) * 100, 2)
      

      must be aligned with each other.
      Regards, Elina

            asebiskveradze Aleksandre Sebiskveradze
            elina.kuzyutkina Elina Kuzyutkina (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: