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: Frantisek Lev
Subject: RE: Monit [TCP/IP] -- HTTP error: Regular expression doesn't match
Date: Thu, 25 May 2017 14:31:05 +0000

Hello Martin,

Here is main and app monit config file.
Monit service restart has no positive impact to the test result

Thanks

-----Original Message-----
From: monit-general [mailto:address@hidden On Behalf Of Martin Pala
Sent: Thursday, May 25, 2017 10:20 AM
To: This is the general mailing list for monit <address@hidden>
Subject: Re: Monit [TCP/IP] -- HTTP error: Regular expression doesn't match

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://urldefense.proofpoint.com/v2/url?u=https-3A__lists.nongnu.org_
> mailman_listinfo_monit-2Dgeneral&d=DwIGaQ&c=MHZppzMdXMt3JYjCV71UsQ&r=1
> ZtIzYQEmb5MRLzA0X_q9SfdWBc8c7bZrYvLlA74dWw&m=1TVrw937FaU7-pPVXntQq1N5M
> I0VrNKSCuYjz_eJQ6E&s=VgGSvodk8j6Alk88y1_MPhrQaa5VnZATWCL0O8EO250&e=


--
To unsubscribe:
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.nongnu.org_mailman_listinfo_monit-2Dgeneral&d=DwIGaQ&c=MHZppzMdXMt3JYjCV71UsQ&r=1ZtIzYQEmb5MRLzA0X_q9SfdWBc8c7bZrYvLlA74dWw&m=1TVrw937FaU7-pPVXntQq1N5MI0VrNKSCuYjz_eJQ6E&s=VgGSvodk8j6Alk88y1_MPhrQaa5VnZATWCL0O8EO250&e=
 

Attachment: fecim_monit.conf
Description: fecim_monit.conf

Attachment: monit.conf
Description: monit.conf


reply via email to

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