Ad Widget

Collapse

External script value in map

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • andre.heinemann
    Junior Member
    • Nov 2021
    • 5

    #1

    External script value in map

    Hi,

    I'm on Zabbix 6.0.0alpha5, I use a script to collect some data from an IBM server, the data is shown correctly in "Lastest Data" on the host, but I can't show this information on the map. In zabbix 4.0 I could show this information without problems, I've tried to put it in several ways:

    Temperature {last(/BladeCenterGRC/ibm_amm_snmpget.sh["{$SNMP_COMMUNITY}",{HOST.IP},".1.3.6.1.4.1.2. 3.51 .2.2.1.1.2.0","1"])=0 }

    Temperature: {last(/BladeCenterGRC/ibm_amm_snmpget.sh["{$SNMP_COMMUNITY}",{HOST.IP},".1.3.6.1.4.1.2. 3.51 .2.2.1.1.2.0","1"])= 0}

    Temperature {ibm_amm_snmpget.sh["{$SNMP_COMMUNITY}",{HOST.IP},".1.3.6.1.4.1.2. 3.51 .2.2.1.1.2.0","1"","1"]}

    What am I doing wrong?
    Attached Files
  • andre.heinemann
    Junior Member
    • Nov 2021
    • 5

    #2
    In fact, I noticed that only the Identification Macros are working in the labes ( {HOST.HOST}, {HOST.IP}), no macro with function works anymore {{HOST.HOST}:system.cpu.util[hrProcessorLoad.7].last(0)} for example only resolves the hostname, the function is shown as text with no return.

    Comment

    Working...