monit-general
[Top][All Lists]
Advanced

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

Re: Monit [TCP/IP] -- HTTP error: Regular expression doesn't match


From: Martin Pala
Subject: Re: Monit [TCP/IP] -- HTTP error: Regular expression doesn't match
Date: Thu, 25 May 2017 10:19:35 +0200

Hello,

the error is strange - the HTTP test should trigger the content match test only 
if "content" option is present - there's no such option in your configuration, 
so unless the configuration was changed without reloading Monit (i.e. Monit is 
still running with old configuration), or the test is related to different 
service then in the configuration snip, the "HTTP error: Regular expression 
doesn't match" should'n happen.

Please can you send your full configuration?

Best regards,
Martin



> On 23 May 2017, at 22:18, Frantisek Lev <address@hidden> wrote:
> 
> Hello,
> 
> I have question about Reqular expressiion error in Monit 5.14
> 
> Test:
> 
> check process mapvault-gui_1 matching "Dcatalina.home=x/mapvault-gui"
>  start program = "x/mapvault-gui/bin/mon_start.sh"
>  as uid x gid x with timeout 60 seconds
>  stop program  = " x/mapvault-gui/bin/mon_stop.sh"
>  as uid x gid x with timeout 60 seconds
>   if failed port 60001 and protocol http
>     for 3 cycles
>     then alert
> 
> Result:
> 
> (monit -v output)
> 
> [PHT May 24 04:06:41] debug    : Socket test failed for [x.x.x.x]:60001 -- 
> HTTP error: Regular expression doesn't match: No match
> [PHT May 24 04:06:41] error    : 'mapvault-gui_1' failed protocol test [HTTP] 
> at [x]:60001/map-spy/ [TCP/IP] -- HTTP error: Regular expression doesn't 
> match: No match
> 
> I see this behviour only on few servers.
> http service is up and runing and I can get it via wget on the server
> The option is to updte monit agent from 5.14 to newer version but im not sure 
> if it can solve the problem
> (We are vaiting for release of newer version in EPEL repository)
> 
> Do you have any advice on how to get to the core  reason of failure and how 
> to prevent it?
> 
> Thanks
> 
> František Lev | ON Semiconductor
> Senior CIM Engineer (TL)
> 1. máje 2634 | Rožnov pod Radhoštěm, Česká republika 756 61
>   +420571753345 (O) | +420725439496  (M) | address@hidden
> 
> 
> 
> 
> 
> 
> 
> --
> To unsubscribe:
> https://lists.nongnu.org/mailman/listinfo/monit-general




reply via email to

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