Can't seem to figure out why Server Running Parameter remains "No" even when both server (zabbix_server) and agentd (zabbix_agentd) are both running.
Ad Widget
Collapse
Dashboard: Server Running Status
Collapse
X
-
-
have you set server ip and port in frontend configuration file correctly ? -
Checked zabbix_server.conf port=10051 and ip is correct.
Now using 1.6.7 which solved my issue with small agentd daemons.
Thanks for your help.
Not sure I was clear about where the "No" appears:
Dashboard page, Status of ZABBIX panel
Parameter=ZABBIX Server, Value=NoComment
-
no, not zabbix server config, but frontend config - zabbix.conf.php file, $ZBX_SERVER and $ZBX_SERVER_PORT variablesComment
-
Looks OK to me.
global $DB;
$DB["TYPE"] = "MYSQL";
$DB["SERVER"] = "localhost";
$DB["PORT"] = "0";
$DB["DATABASE"] = "zabbix";
$DB["USER"] = "root";
$DB["PASSWORD"] = "";
$ZBX_SERVER = "localhost";
$ZBX_SERVER_PORT = "10051";
$IMAGE_FORMAT_DEFAULT = IMAGE_FORMAT_PNG;Comment
-
and if you telnet to port 10051 on localhost from the host where web frontend is installed ?Comment
-
# telnet localhost 10051
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
# telnet 161.236.61.35 10051
Trying 161.236.61.35...
Connected to 161.236.61.35.
Escape character is '^]'.
^[}^H
Connection closed by foreign host.
changed
$ZBX_SERVER = "localhost"; to
$ZBX_SERVER = "161.236.61.35";
Now ZABBIX server is running = "Yes".
Thanks.Comment
-
I face the same problem. After i changed# telnet localhost 10051
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
# telnet 161.236.61.35 10051
Trying 161.236.61.35...
Connected to 161.236.61.35.
Escape character is '^]'.
^[}^H
Connection closed by foreign host.
changed
$ZBX_SERVER = "localhost"; to
$ZBX_SERVER = "161.236.61.35";
Now ZABBIX server is running = "Yes".
Thanks.
$ZBX_SERVER = "localhost"; to
$ZBX_SERVER = "my local ip";
still got no luck for me.
Please helpComment
-
Comment
-
Remember, after making changes to zabbix/conf/zabbix.conf.php I believe you must restart web server for changes to take effect.Comment
-
Comment
-
-
and can you telnet to zabbix server port 10051 from frontend machine ? (assuming you didn't change the default port)Comment
-
Disclaimer: All of the above is pure speculation.Comment
-
Comment