Ad Widget

Collapse

Zabbix Not Accepting ExternalScript's Float Values

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jgp77
    Junior Member
    • May 2013
    • 3

    #1

    Zabbix Not Accepting ExternalScript's Float Values

    I have a very simple php script, that is executed via a bash script, that returns a simple float variable letting me know how long a certain operation took. The values are in the form 0.33340 etc. Below are the errors I'm getting:

    became not supported: Received value [0.3052] is not suitable for value type [Numeric (float)]
    became not supported: Received value [0.4040] is not suitable for value type [Numeric (float)]
    became not supported: Received value [0.4776] is not suitable for value type [Numeric (float)]
    became not supported: Received value [0.4598] is not suitable for value type [Numeric (float)]
    became not supported: Received value [0.5070] is not suitable for value type [Numeric (float)]
    became not supported: Received value [0.4234] is not suitable for value type [Numeric (float)]

    To output return values I'm using: print trim(substr($time, 0, -10));

    This is a custom item using an external script. Stored: "as is" and Displayed "as is"

    Any help is greatly appreciated as I'd like to start graphing these.
Working...