If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to REGISTER before you can post. To start viewing messages, select the forum that you want to visit from the selection below.
My key in item ICMP-PL External check is : packetloss.sh (192.168.200.165)
After pres save button zabbix say : * Incorrect key format key_name[param1,param2,...]'
When I tried in key field type packetloss.sh [192.168.200.165] in log is :
Parameter [packetloss.sh[192.168.200.165]] is not supported by agent on host [Martin-Test] Old status [0]
Also if I copy your plane string to script pl.sh and key is : pl.sh have in log:
Parameter [pl.sh] is not supported by agent on host [Martin-Test] Old status [0]
My zabbix version is: ZABBIX Server (daemon) v1.4.1 (29 June 2007)
In /zabbix_server.conf I have : ExternalScripts=/etc/zabbix/externalscripts
/etc/zabbix/externalscripts is owned by zabbix:zabbix,scripts have 4750
and are also owned by zabbix:zabbix
Please help me if you can. This function is verry important for me.
Dear Gescheit,
thank you for script upgrade,but I have always similar problem.
When I trying make new item for host and type as key
packetloss.sh() zabbix say after press save : * Incorrect key format 'key_name[param1,param2,...]'
When I type packetloss.sh[] always have in log Parameter [packetloss.sh[]] is not supported by agent on host [Martin-Test] Old status [0]
For more accurately informations I have not running agent on server even host side.
Thanks for any help.
This is a bug in web interface on zabbix 1.4.1.
Zabbix_server 1.4.1 understands keys like (), but in web interface keys with () do not pass. I solved the problem using zabbix_server 1.4.1 and web interface from zabbix 1.4.0.
Dear Gescheit,
I thank you verry much for your help and time.
It works just perfectly!
Only I has had to insert -w 4 parameter for ping because if line is down timeout was to long and in log zabbix said: Timeout while answering request.
This is a bug in web interface on zabbix 1.4.1.
Zabbix_server 1.4.1 understands keys like (), but in web interface keys with () do not pass. I solved the problem using zabbix_server 1.4.1 and web interface from zabbix 1.4.0.
You can also solve it by entering the key with [] in web interface and change it to () directly in the database. You probably have to set it back to "activated" and remove the "error" entry also, at least that happened to me.
Hello,
I'm still having problems with monitoring packet loss. I have made a shell script like "gescheit" recommended.
It has read & execute rights by others and it looks like this:
I have tryed executing the script in command line and it worked: ncs:/etc/zabbix/externalscripts# ./packetloss "test"
0
Then I changed the line 404 in my defines.inc.php like "holtet" recommended.
From: define('ZBX_EREG_ITEM_KEY_FORMAT', '('.ZBX_EREG_KEY_NAME.'(\['.ZBX_EREG_PARAMS.'\]){0,1})');
to: define('ZBX_EREG_ITEM_KEY_FORMAT', '('.ZBX_EREG_KEY_NAME.'(\('.ZBX_EREG_PARAMS.'\)){0 ,1})');
I even checked the database and my key_ in items looks like this: "packetloss(test)".
So I have a host "test" and I put in an Item with type "external check" and the key looks like "packetloss(test)" and I still get the problem: Parameter [packetloss(test)] is not supported by agent on host [test] Old status [0]
Any ideas? Am I doing somthing wrong? Please give me some advice. This is very important to me.
Comment