PDA

View Full Version : zabbix_server is running but web page reports it's not


avenueb
31-10-2005, 06:35
This is a new install on FC4.

When I login to the web page-

Status of ZABBIX

ZABBIX server is running No

However, zabbix_server is indeed running:

[root@boston zabbix]# ps -ef | grep zabbix
zabbix 833 1 0 Oct30 ? 00:00:04 ./zabbix_agentd
zabbix 834 833 0 Oct30 ? 00:00:00 ./zabbix_agentd
zabbix 835 833 0 Oct30 ? 00:00:00 ./zabbix_agentd
zabbix 836 833 0 Oct30 ? 00:00:00 ./zabbix_agentd
zabbix 837 833 0 Oct30 ? 00:00:00 ./zabbix_agentd
zabbix 838 833 0 Oct30 ? 00:00:00 ./zabbix_agentd
zabbix 3034 1 1 00:28 ? 00:00:00 ./zabbix_server
zabbix 3036 3034 0 00:28 ? 00:00:00 ./zabbix_server
zabbix 3038 3034 0 00:28 ? 00:00:00 ./zabbix_server
zabbix 3040 3034 0 00:28 ? 00:00:00 ./zabbix_server
zabbix 3043 3034 0 00:28 ? 00:00:00 ./zabbix_server
zabbix 3045 3034 1 00:28 ? 00:00:00 ./zabbix_server
zabbix 3046 3034 0 00:28 ? 00:00:00 ./zabbix_server
zabbix 3047 3034 0 00:28 ? 00:00:00 ./zabbix_server
zabbix 3052 3034 0 00:28 ? 00:00:00 ./zabbix_server
zabbix 3054 3034 0 00:28 ? 00:00:00 ./zabbix_server
zabbix 3056 3034 0 00:28 ? 00:00:00 ./zabbix_server


Thoughts?

James Wells
31-10-2005, 18:08
Greetings,

Right off the bat, I suspect that you are running the frontend on a different machine than the Zabbix server itself.

avenueb
31-10-2005, 18:19
Greetings,

Right off the bat, I suspect that you are running the frontend on a different machine than the Zabbix server itself.

actually no, the zabbix_server is running on the same machine as the web frontend.

One thing I did do is there was another post about how best to set up zabbix on a FC4 server, following the instructions there I had copied my zabbix binaries to /opt/zabbix/ and have started the zabbix_server (and agent) process from there.

Could that be an issue?

elkor
31-10-2005, 20:11
I had this issue. It resolved itself at some point so I never got around to investigating it.

As I could clearly see that zabbix_server was running I wasn't too worried about it and it was a very low priority.

Nate Bell
01-11-2005, 15:20
Well, the command that Zabbix uses to find if the server is running is the following:

if( (exec("ps -ef|grep zabbix_server|grep -v grep|wc -l")>0) ||
(exec("ps -ax|grep zabbix_server|grep -v grep|wc -l")>0) )

and from the look of your ps -ef output, the first conditional should be met. If you are able to collect data, and everything seems to be functioning, I don't think this is a problem. And as happened with elkor, your server may suddenly figure out that Zabbix is running.

Nate