I am running 1.4.5 on the server.
I have put some scripts for the agent (running on the server) to check at the end of the zabbix_agentd.conf file
UserParameter=PINGnet1,php /var/www/html/zabbix/scripts/ping.php 137.203.xxx.xxx
UserParameter=PINGnet2,php /var/www/html/zabbix/scripts/ping.php 72.248.xxx.xxx
UserParameter=PINGnet3,php /var/www/html/zabbix/scripts/ping.php 72.248.xxx.xxx
UserParameter=PINGnet4,php /var/www/html/zabbix/scripts/ping.php 69.26.xxx.xxx
UserParameter=PINGnet5,php /var/www/html/zabbix/scripts/ping.php 69.26.xxx.xxx
This one is a simple script that pings some network equipment, if it is up it returns a 1 if not a zero.
For one of these zabbix is storing a zero (down) but when I run the script from the command line I get a one. The other instances are storing correct values.
Is this a bug?
-Barton
I have put some scripts for the agent (running on the server) to check at the end of the zabbix_agentd.conf file
UserParameter=PINGnet1,php /var/www/html/zabbix/scripts/ping.php 137.203.xxx.xxx
UserParameter=PINGnet2,php /var/www/html/zabbix/scripts/ping.php 72.248.xxx.xxx
UserParameter=PINGnet3,php /var/www/html/zabbix/scripts/ping.php 72.248.xxx.xxx
UserParameter=PINGnet4,php /var/www/html/zabbix/scripts/ping.php 69.26.xxx.xxx
UserParameter=PINGnet5,php /var/www/html/zabbix/scripts/ping.php 69.26.xxx.xxx
This one is a simple script that pings some network equipment, if it is up it returns a 1 if not a zero.
For one of these zabbix is storing a zero (down) but when I run the script from the command line I get a one. The other instances are storing correct values.
Is this a bug?
-Barton
Comment