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

Details

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

    Description

      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

      Attachments

        Activity

          People

            asebiskveradze Aleksandre Sebiskveradze
            elina.kuzyutkina Elina Kuzyutkina
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: