Ad Widget

Collapse

1.1Beta8 Userparameter that return negative value

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Wolfgang
    Senior Member
    Zabbix Certified Trainer
    Zabbix Certified Specialist
    • Apr 2005
    • 116

    #1

    1.1Beta8 Userparameter that return negative value

    Hello,
    Using: Zabbix version 1.1beta8.
    i tried returning a negative value from a userparameter using type float in the webinterface.

    the script used for testing the userparameter is very simple:
    #!/bin/sh
    echo "-10"

    This leads to unsupported.
    "Type of received value [-10] is not sutable for [test.status@woltest]"

    However this one works:
    #!/bin/sh
    echo "10"

    And also this one is ok:
    #!/bin/sh
    echo "0"


    Does the agent not support negative return values when using type float in the webinterface?
    Because the values i need to collect are numeric, i would not want to use type character.

    Thanks

    Wolfgang
    Last edited by Wolfgang; 11-04-2006, 16:03.
    http://www.intellitrend.de
    Specialised in monitoring large environments and Zabbix API programming.
Working...