PDA

View Full Version : WEB (HTTP) server is running: Down (0)


rokka
18-06-2009, 16:08
zabbix agent can't check Apache service on Centos 5.2

In frontend I see:
"WEB (HTTP) server is running Down (0)"

For other servers with opensuse it works perfect.

#/opt/zabbix/zabbix_agent -V
ZABBIX Agent v1.6.4 (3 April 2009)
Compilation time: Jun 16 2009 09:51:21

#uname -a
Linux smtproxy0 2.6.18-92.1.17.el5PAE #1 SMP Tue Nov 4 14:17:52 EST 2008 i686 i686 i386 GNU/Linux

# cat /etc/redhat-release
CentOS release 5.2 (Final)

I tried to define different items:
net.tcp.service[apache]
net.tcp.service[httpd]
net.tcp.service[http]

zabbix server logs:
13270:20090618:094917 Item [smtproxy0.net.tcp.service[apache]] error: Not supported by ZABBIX agent

Well, ok, there is no apache service.
But why httpd service can't be checked on Centos? Agent logs are empty.

richlv
25-06-2009, 13:26
is apache listening on localhost ? by default zabbix checks localhost, so either make apache to listen on localhost, or specify correct ip for the item key

rokka
25-06-2009, 14:51
is apache listening on localhost ? by default zabbix checks localhost, so either make apache to listen on localhost, or specify correct ip for the item key

Thank you for the information, it helped.