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

lld rule for log items no longer works: macro value is not numeric

    XMLWordPrintable

Details

    • Incident report
    • Status: Closed
    • Trivial
    • Resolution: Duplicate
    • 3.0.14
    • None
    • None
    • redhat Linux

    Description

      zabbix active agent executes script and gets:

      { "data":[
       {"{#INSTANCE_NAME}":"+ASM1","{#ALERTLOG}":"/u01/app/grid/diag/asm/+asm/+ASM1/alert/log.xml"}
      ,{"{#INSTANCE_NAME}":"+APX1","{#ALERTLOG}":"/u01/app/grid/diag/apx/+apx/+APX1/alert/log.xml"}
      ,{"{#INSTANCE_NAME}":"-MGMTDB","{#ALERTLOG}":"/u01/app/grid/diag/rdbms/_mgmtdb/-MGMTDB/alert/log.xml"}
      ]}
      

      as the discovery array.
      Goal is to generate log items so the {#ALERTLOG} macro obviously is not going to contain a numerical value.

      I am not 100% sure when this worked last time but this certainly was before 3.0.14

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ik_zelf Ronald Rood
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: