On 1/21/10 3:27 AM, "Erlend Leganger" <erlend.legan...@gmail.com> wrote: > 2010/1/21 Michael Potter <mega...@gmail.com> >> On Thu, Jan 21, 2010 at 8:00 PM, Erlend Leganger <erlend.legan...@gmail.com> >> wrote: >>> I have played with cfengine for a while and set up an environment with about >>> 20 client machines.One day /var/cfengine/inputs was empty on one of these >>> machines. I don't know why and it was easy to fix, but I wasn't warned about >>> it - I came across it by accident. So, how many of my cfengine-activated >>> clients do really run cfengine? I ended up visiting all of them and found a >>> few more with problems - such a brute force method doesn't scale well. >>> >>> How do you monitor this? >> >> I use Nagios(3). I run a nagios check on each host that runs cfengine(3), >> that checks that both cf-execd and cf-serverd are running, and captures the >> tail of promises.log. That way, I can easily check through the Nagios web >> interface the status of cfengine running on each host. It would be easy to >> extend this to capture a whole lot more information, but that's all I really >> need, and by the sounds of it, would probably suit you aswell.
+1 on using Nagios or a similar tool they are made to monitor, so let them do what they are made for. Personally, I prefer that approach. If you plan to grow to any size, having a real monitoring system like nagios around will be essential anyhow. It will give you more than just this one check, and provide better escalation, alerting, and trending. Figure it out early, and get it integrated with your installs. To scale, you¹ll want each host to run a series of local checks, and submit back to the primary monitoring cluster with nsca (no clunky SSH checks)... The local client code can/should still be distributed and managed by cfengine. Of course remember... A shell script or policy that emails you now can hold you over until Nagios is ready for deployment. "Don't let best be the enemy of good," and all that. Good luck! _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine