I want to monitor the URL using Monit tool

Issue #29 invalid
Former user created an issue

Hi Team ,

Good Morning ,

 I want to configure URL in monit tool how to do that ? Please provide me the steps.

Thank you, Jatin Alve

Comments (5)

  1. Tildeslash repo owner

    Hello,

    please see the Monit manual: http://www.mmonit.com/monit/documentation/monit.html#http

    You can split the URL to particular segments, for example to check "http://www.foobar.com/my/file.html":

    check host foobar with address www.foobar.com
        if failed 
          port 80
          protocol http
          request "/my/file.html"
        then alert
    

    P.S. the bitbucket issue tracker is not meant for general questions, but for bugs and feature requests - you can use Monit mailinglist to post your questions: https://lists.nongnu.org/mailman/listinfo/monit-general

    Regards, The M/Monit team

  2. Log in to comment