Hi
When i define an External Script using the PHP Front end it will not except script('value') It will only except script['value'] Which Returns "External check [script['value']] is not supported"
I've update the frontends/php/includes/defines.inc.php
--- defines.inc.php 2007-06-29 17:50:28.000000000 -0300
+++ /var/www/html/zabbix/include/defines.inc.php 2007-07-06 11:11:16.000000000 -0300
@@ -388,7 +388,7 @@
define('ZBX_EREG_DNS_FORMAT', '([0-9a-zA-Z\_\.\$[.-.]]+)');
define('ZBX_EREG_HOST_FORMAT', ZBX_EREG_INTERNAL_NAMES);
define('ZBX_EREG_NODE_FORMAT', ZBX_EREG_INTERNAL_NAMES);
- define('ZBX_EREG_ITEM_KEY_FORMAT', '('.ZBX_EREG_INTERNAL_NAMES.'(\['.ZBX_EREG_PARAMS.'\]){0,1})');
+ define('ZBX_EREG_ITEM_KEY_FORMAT', '('.ZBX_EREG_INTERNAL_NAMES.'(\('.ZBX_EREG_PARAMS. '\)){0,1})');
define('ZBX_KEY_ID', 1);
define('ZBX_KEY_NAME_ID', 2);
define('ZBX_KEY_PARAM_ID', 4);
When i define an External Script using the PHP Front end it will not except script('value') It will only except script['value'] Which Returns "External check [script['value']] is not supported"
I've update the frontends/php/includes/defines.inc.php
--- defines.inc.php 2007-06-29 17:50:28.000000000 -0300
+++ /var/www/html/zabbix/include/defines.inc.php 2007-07-06 11:11:16.000000000 -0300
@@ -388,7 +388,7 @@
define('ZBX_EREG_DNS_FORMAT', '([0-9a-zA-Z\_\.\$[.-.]]+)');
define('ZBX_EREG_HOST_FORMAT', ZBX_EREG_INTERNAL_NAMES);
define('ZBX_EREG_NODE_FORMAT', ZBX_EREG_INTERNAL_NAMES);
- define('ZBX_EREG_ITEM_KEY_FORMAT', '('.ZBX_EREG_INTERNAL_NAMES.'(\['.ZBX_EREG_PARAMS.'\]){0,1})');
+ define('ZBX_EREG_ITEM_KEY_FORMAT', '('.ZBX_EREG_INTERNAL_NAMES.'(\('.ZBX_EREG_PARAMS. '\)){0,1})');
define('ZBX_KEY_ID', 1);
define('ZBX_KEY_NAME_ID', 2);
define('ZBX_KEY_PARAM_ID', 4);
check.dbconsole[]] error: Script /etc/zabbix/local_scripts//pcheck.dbconsole returned nothing.
Additional suggestions are much appreciated.
Comment