PDA

View Full Version : 1.1Beta8 Userparameter that return negative value


Wolfgang
11-04-2006, 13:58
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