Ad Widget

Collapse

Monitoring Apache2

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • matboy
    Member
    • May 2005
    • 35

    #1

    Monitoring Apache2

    I have seen that when you run apache 2 Zabbix is not recognise it as a running proces.

    Normally you check this with "check_service[http]" but this doesn't seem to work with Apache2.

    Any idea ?

    [edit]

    On some boxes it's working and on some boxes it isn't.

    [/edit]
    Last edited by matboy; 18-05-2005, 10:57.
  • jpawlowski
    Member
    • May 2005
    • 45

    #2
    make sure you are monitoring the correct process name. for apache and apache2 it is httpd (have a look to the last character)


    regards,
    Julian

    Comment

    • matboy
      Member
      • May 2005
      • 35

      #3
      Originally posted by jpawlowski
      make sure you are monitoring the correct process name. for apache and apache2 it is httpd (have a look to the last character)


      regards,
      Julian

      I have tried httpd and it wasn't supported by the agent. On another box with the same configuration it was.

      A thing that I aslo can't figure out is that when port 80 is available that it's shown as down

      Comment

      • jpawlowski
        Member
        • May 2005
        • 45

        #4
        ah i see your problem...
        you should better use proc_cnt[*] to monitor the number of processes as you you can take it for every daemon. check if the current state is >0 and the server is up, if it's 0, no process is running and therefore the server is down.

        Comment

        • matboy
          Member
          • May 2005
          • 35

          #5
          That's a good option indeed ! The option you gave me here was automaticly added by the template. So I think I will just customize everything on the servers I need.

          Thnx !

          Comment

          • jpawlowski
            Member
            • May 2005
            • 45

            #6
            no problem!

            anyhow, it's only RT(F)M

            :-)


            best regards,
            jP

            Comment

            • matboy
              Member
              • May 2005
              • 35

              #7
              Originally posted by jpawlowski
              no problem!

              anyhow, it's only RT(F)M

              :-)


              best regards,
              jP

              Already done that, but was wondering why there were 2 versions of apache-monitoring

              Comment

              • jpawlowski
                Member
                • May 2005
                • 45

                #8
                :-)

                There are always a lot of roads leading to Rome.

                Comment

                • matboy
                  Member
                  • May 2005
                  • 35

                  #9
                  Originally posted by jpawlowski
                  :-)

                  There are always a lot of roads leading to Rome.
                  Indeed, but you need to get the best and quiest one that leads to your target

                  Comment

                  Working...