Ad Widget

Collapse

all item diagnostics ok but UI shows zero

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kljl43
    Junior Member
    • Apr 2014
    • 5

    #1

    all item diagnostics ok but UI shows zero

    I have a key defined in zabbix_agend.conf

    Code:
    UserParameter=weather.indoortemp, /dir/temperhum_cachedata.pl printtocli | awk '{print $1}'
    when I run this script from the command line everything works. If I run zabbix_agentd -t weather.indoortemp I get proper ouput ([t|84.32]). However, the UI shows "0F". Everything seems as if it should be retrieving the correct values, but it only shows 0. Logs don't show errors, type is set to float, other similar scripts work.

    Any suggestions of a procedure that I could use to find out what's going on?
Working...