[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Checking on a url does not work (from newbie)

From: Moshe Cohen
Subject: Checking on a url does not work (from newbie)
Date: Sat, 17 Sep 2016 23:20:26 +0300

I have the following url, that when called with https, return 200 as shown here:

> curl -i
HTTP/1.1 200 OK
Cache-Control: no-cache, no-store, must-revalidate, max-age=0
Content-Type: application/json; charset=utf-8
Date: Sat, 17 Sep 2016 20:09:39 GMT
Content-Length: 0

The following Monit test fails :

# Check ArogaCenter is alive
  check host ArogaCenter with address
    if failed
    port 443 protocol https
    request /checkalive
    status = 200
    then alert

The log message is:

[UTC Sep 17 20:14:05] error    : 'ArogaCenter' failed protocol test [HTTP] at []:443/checkalive [TCP/IP SSL] -- HTTP error: Server returned status 404

Since the response is a 404, it seems the server is reached but for some reason it is looking for another path that does not exist.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]