Ad Widget

Collapse

Check Apache running on certain IP always returning 0

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • cermisch
    Junior Member
    • Nov 2005
    • 3

    #1

    Check Apache running on certain IP always returning 0

    Hello,

    I am pretty new to Zabbix and still trying to figure out our setup.

    I managed to check for SMTP and SSH service using the agent - that was pretty straight-forward. But now I want to check for http and https which only listens to a second IP on te same physical server.

    After looking through the manual I came up with these two options:

    Using the agent: check_service[http,83.220.131.80,80]
    Using simple check: http,83.220.131.80

    Both of the above checks always return 0 even though the webserver is running perfectly.

    Any ideas what I am doing wrong? Thanks in advance...

    btw: we are using Zabbix 1.0 on a suse linux 9.3 system; client is installed on a suse linux 10 with apache2 to be checked...
  • cermisch
    Junior Member
    • Nov 2005
    • 3

    #2
    I might add, that if I setup an own host for this IP in Zabbix and do a simple check http,83.220.131.80 if does return the correct value (1) for Apache.

    Any ideas?

    Comment

    • elkor
      Senior Member
      • Jul 2005
      • 299

      #3
      can you do a wget for index.html to the offending ipaddress manually from the zabbix server command line?

      Comment

      • cermisch
        Junior Member
        • Nov 2005
        • 3

        #4
        the problem is solved...

        we only opened up port 80 as the destination port on in the firewall. but the agent seems to wir for a response from apache with port 80 as the source port.

        so allowing the server ip to contact itself with port 80 as source port solved the problem.

        Comment

        Working...