Ad Widget

Collapse

UserParameter ZBX_NOTSUPPORTED on 1.6.2

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • alkeksibus
    Junior Member
    • Sep 2008
    • 5

    #1

    UserParameter ZBX_NOTSUPPORTED on 1.6.2

    Hello,

    I have a strange problem with an 1.6.2 zabbix_agentd just
    flawlessly compiled on a debian box.

    UserParameter = wget.f1,/usr/bin/time -f "%e" /usr/bin/wget -q -O /dev/null www.domain.com

    works from the command line (as user zabbix), debug log shows a successfully returned float value, but then - ZBX_NOTSUPPORTED. Replacing UserParameter with a simple "echo 0.10" works. So what can be wrong here ?
  • vhm3
    Junior Member
    • Jun 2008
    • 13

    #2
    Quite possible that you've got a CR in your output. The values returned by any external scripts cannot have any, so you'll need to strip them out.

    Chip

    Comment

    Working...