gnu.cfengine.help
[Top] [All Lists]

cfengine for monitoring - reasonable defaults?

Subject: cfengine for monitoring - reasonable defaults?
From: scarolan <scarolan@xxxxxxxxx>
Date: Mon, 19 May 2008 12:28:04 -0700 (PDT)
Newsgroups: gnu.cfengine.help

I would like to know if any of you use cfengine for monitoring URLs
and web servers, and if so what is the best way to go about
configuring URL monitors.

I would like to build some logic like this.  URLs A, B, and C are
served up by httpd running on linuxhost1.  If URLs A, B, and C are all
down, AND the httpd service is down then cfengine should only alert my
pager one time.

Our current monitoring system (brand X) alerts the administrator for
each and every URL when apache dies, this can be 30-40 or more SMS
pages, repeated every 10 or 15 minutes.  Its annoying because the
alerts do not tell us anything about which server the URL lives on.

I am hopeful that cfengine can rectify this situation, possibly even
restarting apache when it arises.  But for starters I would like to
get the alerts under control and make sure that when apache or tomcat
dies that we are not bombarded with URL alerts.

Any suggestions are most welcome.  I'd like to hear how other cfengine
users would tackle this problem.  I am open to using a hybrid solution
like nagios + cfengine to make this work.

<Prev in Thread] Current Thread [Next in Thread>