[Top][All Lists]

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

No alert but error log for "failed url"

From: Nestor Urquiza
Subject: No alert but error log for "failed url"
Date: Wed, 10 Nov 2010 13:41:53 -0500

Hi guys,

I have been struggling with this for a while now (monit 5.2.1). I see
no google results neither similar issues in the mailing archives so I
am almost certain I am missing some configuration or this is a problem
with latest versions of monit.

1) First I configure a regular expression I know will not match the
server response to be sure an error is triggered. So in /etc/monitrc:
check host with address
  if failed url and content == "loginme" then alert
group server

2) I can see monit complaining from logs. In /var/log/messages:
Nov 10 13:17:24 p2365879 monit[1270]: HTTP error: Failed regular
expression test on content returned from server
Nov 10 13:17:24 p2365879 monit[1270]: '' failed protocol
test [HTTP] at INET[] via TCPSSL

3) No email alert is received though. Email is working as I get
notified when monit stops and starts. In /var/log/maillog:
Nov 10 13:09:26 p2365879 sendmail[1278]: oAAI9O0L001276:
to=<address@hidden>, delay=00:00:02, xdelay=00:00:02,
mailer=esmtp, pri=120501, [m.y.i.p], dsn=2.0.0,
stat=Sent (Thanks)

Any help on this is really appreciated. Thanks!


reply via email to

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