PDA

View Full Version : Scripts: Ping/Traceroute from frontend not working, nor is server status.


elementuser
24-09-2010, 04:57
I just finished my first zabbix server install. The most current stable release (1.8.3) I believe.

On the main dashboard it claims the server isn't running: "Zabbix Server running: no", even though I know it is from Services panel (Fedora 13-Selinux set to permissive, I've even tried disabled on selinux), ps and service zabbix_server status. zabbix_server is running as zabbix user.

Ping and traceroute scripts from the dashboard fail as well, with the message "Error: Script Error" "Error description: connection refused".

zabbix_server.log, even at level 3 debugging doesn't seem to contain any pertinent information.

Anybody know how to fix these problems?

richlv
24-09-2010, 08:05
frontend should be able to connect to the server on whatever host & port you specified in the config wizard - or you can doublecheck it in conf/zabbix.conf.php file in the frontend directory (and it will be visible in the frontend in 1.8.4)

elementuser
24-09-2010, 08:13
Well the frontend seems to be connected to the server, it is showing me active issues that have been triggered for the machine it is monitoring.. It has correctly identified that smtp and ftp aren't running on the remote machine.
Since it's properly registering and dealing with that data from the agent and is displaying it on the web frontend, I figured the frontend is properly connected to the zabbix_server or DB.

Any ideas on what direction I should head now with trying to solve it?

richlv
24-09-2010, 08:17
it is connected to the database.

but not to the zabbix server. connection to zabbix server is only used to... surprise, show zabbix server status and execute those scripts ;)

elementuser
24-09-2010, 08:35
Very tricky..

Thanks alot, That fixed it. =)

I was about to have nightmare of trying to debug php. ;)