Ad Widget

Collapse

WEB (HTTP) server is running: Down (0)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rokka
    Junior Member
    • Jun 2009
    • 15

    #1

    WEB (HTTP) server is running: Down (0)

    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.
    Last edited by rokka; 18-06-2009, 17:07.
  • richlv
    Senior Member
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Oct 2005
    • 3112

    #2
    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
    Zabbix 3.0 Network Monitoring book

    Comment

    • rokka
      Junior Member
      • Jun 2009
      • 15

      #3
      Originally posted by richlv
      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.

      Comment

      Working...