PDA

View Full Version : Linux agent v1.1.1 userparameters '[' not working.


cybaspace
05-09-2006, 15:23
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
06-09-2006, 08:49
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 ./zabbix_agentd -t 'blob[plop]' and all sould be fine.

\B.