Hi,
First of all, sorry for my English. It's not my main language
I configured Zabbix and all is working fine, untill i used the ping script.
I get the following 2 errors and I really don't know what to do with it.
Error 1:
socket_connect() [<a href='function.socket-connect'>function.socket-connect</a>]: unable to connect [111]: Connection refused[/var/www/zabbix/include/scripts.inc.php:76]
Error 2:
Cannot connect to ZABBIX server [localhost:10051] [Connection refused]
This are the lines 74, 75 and 76 in scripts.inc.php:
if(res){
global $ZBX_SERVER, $ZBX_SERVER_PORT;
$res = socket+connect($socket, $ZBX_SERVER, $ZBX_SERVER_PORT);}
Do i get it right that the $ZBX_SERVER and the $ZBX_SERVER_PORT parameters are defined in the zabbix.conf.php file?
I manually added the IP and the port number in the file and when i only manually insert the portnumber, the first error disappears.
But the second error get even stanger.
Cannot connect to ZABBIX server [localhost:10051] [succes]
I really don't know what to do at the moment
First of all, sorry for my English. It's not my main language
I configured Zabbix and all is working fine, untill i used the ping script.
I get the following 2 errors and I really don't know what to do with it.
Error 1:
socket_connect() [<a href='function.socket-connect'>function.socket-connect</a>]: unable to connect [111]: Connection refused[/var/www/zabbix/include/scripts.inc.php:76]
Error 2:
Cannot connect to ZABBIX server [localhost:10051] [Connection refused]
This are the lines 74, 75 and 76 in scripts.inc.php:
if(res){
global $ZBX_SERVER, $ZBX_SERVER_PORT;
$res = socket+connect($socket, $ZBX_SERVER, $ZBX_SERVER_PORT);}
Do i get it right that the $ZBX_SERVER and the $ZBX_SERVER_PORT parameters are defined in the zabbix.conf.php file?
I manually added the IP and the port number in the file and when i only manually insert the portnumber, the first error disappears.
But the second error get even stanger.
Cannot connect to ZABBIX server [localhost:10051] [succes]
I really don't know what to do at the moment
):
Comment