Ad Widget

Collapse

Problem with UserParameter

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nick147
    Junior Member
    • Jun 2006
    • 2

    #1

    Problem with UserParameter

    Zabbix server and client 1.1

    I create UserParameter:

    UserParameter=test,lynx -dump http://localhost/monitoring.php?read_mark|grep OK|wc -l

    when server connect to client I get:

    sh: line 1: 5412 Done lynx -dump http://localhost/monitoring.php?read_mark
    5414 | grep OK
    5415 Broken pipe | wc -l

    If I use telnet I get:
    ZBX_ERROR

    what is wrong?
    Thnx
Working...