monit-general
[Top][All Lists]
Advanced

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

Re: Problem with connection testing


From: 1earthling
Subject: Re: Problem with connection testing
Date: Wed, 12 Apr 2006 09:22:20 -0700

It is now working!!? I'm baffled, i didn't change a thing. I'll try to reproduce the problem.
btw, i was accessing the status page locally with lynx.

On 4/12/06, 1earthling <address@hidden> wrote:
Here's some output:

09:25:02.278449 IP monit.45917 > remote.http: S 666682962:666682962(0) win 5840 <mss 1460,sackOK,timestamp 757915747 0,nop,wscale 2>
09:25:02.310052 IP remote.http > monit.45917: S 1885397419:1885397419(0) ack 666682963 win 5792 <mss 1460,sackOK,timestamp 215140567 757915747,nop,wscale 2>
09:25:02.310142 IP monit.45917 > remote.http: . ack 1 win 1460 <nop,nop,timestamp 757915779 215140567>
09:25:02.310875 IP monit.45917 > remote.http: P 1:85(84) ack 1 win 1460 <nop,nop,timestamp 757915779 215140567>
09:25:02.343065 IP remote.http > monit.45917: . ack 85 win 1448 <nop,nop,timestamp 215140601 757915779>
09:25:02.347920 IP remote.http > monit.45917: P 1:265(264) ack 85 win 1448 <nop,nop,timestamp 215140602 757915779>
09:25:02.347984 IP monit.45917 > remote.http: . ack 265 win 1728 <nop,nop,timestamp 757915816 215140602>
09:25:02.348447 IP monit.45917 > remote.http: F 85:85(0) ack 265 win 1728 <nop,nop,timestamp 757915817 215140602>
09:25:02.349391 IP remote.http > monit.45917: F 265:265(0) ack 85 win 1448 <nop,nop,timestamp 215140602 757915779>
09:25:02.349461 IP monit.45917 > remote.http: . ack 266 win 1728 <nop,nop,timestamp 757915818 215140602>
09:25:02.381482 IP remote.http > monit.45917: . ack 86 win 1448 <nop,nop,timestamp 215140639 757915818>



 Log                = False
 Use syslog         = False
 Is Daemon          = True
 Use process engine = True
 Poll time          = 120 seconds
 Mail server(s)     = localhost
 Mail from          = (not defined)
 Mail subject       = (not defined)
 Mail message       = (not defined)
 Start monit httpd  = True
 httpd bind address = Any/All
 httpd portnumber   = 2812
 httpd signature    = True
 Use ssl encryption = False
 httpd auth. style  = Basic Authentication and Host/Net allow list
 Alert mail to      = address@hidden
   Alert on         = All events

The service list contains the following entries:

System Name           = monit
 Monitoring mode      = active
 CPU wait limit       = if greater than 20.0% 1 times within 1 cycle(s) then alert else if passed 1 times within 1 cycle(s) then alert
 CPU system limit     = if greater than 30.0% 1 times within 1 cycle(s) then alert else if passed 1 times within 1 cycle(s) then alert
 CPU user limit       = if greater than 70.0% 1 times within 1 cycle(s) then alert else if passed 1 times within 1 cycle(s) then alert
 Memory usage limit   = if greater than 75.0% 1 times within 1 cycle(s) then alert else if passed 1 times within 1 cycle(s) then alert
 Load avg. (5min)     = if greater than 2.0 1 times within 1 cycle(s) then alert else if passed 1 times within 1 cycle(s) then alert
 Load avg. (1min)     = if greater than 4.0 1 times within 1 cycle(s) then alert else if passed 1 times within 1 cycle(s) then alert

Remote Host Name      = Remote
 Monitoring mode      = active
 Port                 = if failed remote.somewhere.net:80/alive [HTTP via TCP] with timeout 5 seconds 1 times within 1 cycle(s) then alert else if passed 1 times within 1 cycle(s) then alert

-------------------------------------------------------------------------------
monit: pidfile '/var/run/monit.pid' does not exist
Starting monit daemon with http interface at [*:2812]






On 4/12/06, Martin Pala <address@hidden > wrote:
Please try to:

1.) run monit in debug mode (using -v switch) and send the output

2.) send the tcpdump output for the test session

Thanks,
Martin

1earthling wrote:
> Hi,
>
> I'm running monit 4.7,  trying to monitor a remote webserver and monit
> reports:
>
>  MyServer Connection failed [HTTP] at port 80
>
> In my monitrc file:
>
> check host MyServer with address x.y.z
>         if failed url http://FQDN/alive then alert
>
> I verified traffic with tcpdump and my webserver access log file has the
> following entries:
>
> <ip removed> - - [12/Apr/2006:23:29:33 -0700] "GET /alive HTTP/1.1" 200
> 3 "-" "monit/4.7"
>
> I even tried checking localhost in the same and it fails also. Other
> service checks work fine.
>
> Any ideas ?





--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general



reply via email to

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