monit-general
[Top][All Lists]
Advanced

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

Monit and https... Second try


From: Yahoo - Tjstroker
Subject: Monit and https... Second try
Date: Thu, 14 Oct 2010 11:47:03 -0700 (PDT)

Can someone tell me what I am missing here... simple I'm sure

I have monit 5.2.1 and have the following item failing on one server while working on another. The difference is the that is the PASSING example I am requesting a page. Is that required for SSL?


  check process obsr with pidfile /var/run/obsr.pid
        start program = "/etc/init.d/obsr start"
        stop program = "/etc/init.d/obsr stop"
        if failed host localhost port 80 protocol http with timeout 15 seconds then restart
        if failed host localhost port 443 type TCPSSL proto http with timeout 15 seconds then alert     ##this one fails
        if 3 restarts within 3 cycles then timeout

Process 'obsr'
  status                            Connection failed
  monitoring status                 monitored
  pid                               32297
  parent pid                        1
  uptime                            1h 42m 
  children                          0
  memory kilobytes                  971028
  memory kilobytes total            971028
  memory percent                    23.9%
  memory percent total              23.9%
  cpu percent                       0.0%
  cpu percent total                 0.0%
  port response time                0.000s to localhost:443 [HTTP via TCPSSL]
  port response time                0.002s to localhost:80 [HTTP via TCP]
  data collected                    Tue Oct 12 11:12:26 2010


However this one passes:

check host https with address xxx.xxx.xxx.xxx
  if failed port 443 type TCPSSL proto http 
  and request '/Admin' 
     with timeout 20 seconds for 2 cycles 
  then alert


Remote Host 'https'
  status                            online with all services
  monitoring status                 monitored
  port response time                0.032s to XXX.XXX.XXX.XXX:443/Admin [HTTP via TCPSSL]
  data collected                    Tue Oct 12 11:18:48 2010



reply via email to

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