Ad Widget

Collapse

Linux agent v1.1.1 userparameters '[' not working.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • cybaspace
    Member
    • Jul 2005
    • 43

    #1

    Linux agent v1.1.1 userparameters '[' not working.

    After we upgraded to the latest version the userparamaters stopped working on items with a '[' or a ']' in the key:

    benz:/usr/local/zabbix_agent# ./zabbix_agentd -t plop
    plop [t|3]
    benz:/usr/local/zabbix_agent# ./zabbix_agentd -t blob[plop]
    blob[] [m|ZBX_NOTSUPPORTED]


    plop and blob[plop] are exactly the same commands and plop works and blob[plop] doens't work (ZBX_NOTSUPPORTED).
    This used to work in earlier versions. It's not a big deal. We just removed all '[ ]' in the userparameters but I just wanted to let you guys know... ;-)
  • schneck
    Member
    • May 2006
    • 62

    #2
    Shell

    Originally posted by cybaspace
    benz:/usr/local/zabbix_agent# ./zabbix_agentd -t blob[plop]
    blob[] [m|ZBX_NOTSUPPORTED]
    Depending on which shell you use, [ and ] may have some special meaning (filename globbing, see the manpage of your shell).

    Try
    Code:
    ./zabbix_agentd -t 'blob[plop]'
    and all sould be fine.

    \B.

    Comment

    Working...