Hi all, I currently use puppet and cacti, and am in need of an alerting system for systems/services that are down. Alerts through cacti are a major pain, so I have begun looking at a small and simple tool called monit. Monit, however, seems to be doing a lot of things that puppet is already doing for me (such as checking if services are running and starting them if they aren''t, etc), so I was wondering, is there any way to do alerts through puppet? While monit is more monitoring oriented and puppet is more configuration oriented, it would be nice if there is a way to have puppet alert me upon dead hosts, failing services etc. Thanks, Jordan _______________________________________________ Puppet-users mailing list Puppet-users@madstop.com https://mail.madstop.com/mailman/listinfo/puppet-users
On Mon, Sep 17, 2007 at 11:20:40PM -0700, Jordan Mendler wrote:> While monit is more monitoring oriented and puppet is more configuration > oriented, it would be nice if there is a way to have puppet alert me upon > dead hosts, failing services etc.Just use a real monitoring system. I like Nagios. - Matt
Matthew Palmer wrote:> On Mon, Sep 17, 2007 at 11:20:40PM -0700, Jordan Mendler wrote: >> While monit is more monitoring oriented and puppet is more configuration >> oriented, it would be nice if there is a way to have puppet alert me upon >> dead hosts, failing services etc. > > Just use a real monitoring system. I like Nagios. >I am somewhat biased but I second Matthew''s recommendation. You can also link the two - use alerts from Nagios to initiate configuration runs (using tags) on hosts. And alerting on configuration changes back to Nagios. Regards James Turnbull -- James Turnbull <james@lovedthanlost.net> --- Author of Pro Nagios 2.0 (http://www.amazon.com/gp/product/1590596099/) Hardening Linux (http://www.amazon.com/gp/product/1590594444/) --- PGP Key (http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x0C42DF40) _______________________________________________ Puppet-users mailing list Puppet-users@madstop.com https://mail.madstop.com/mailman/listinfo/puppet-users
James Turnbull wrote:> I am somewhat biased but I second Matthew''s recommendation. You can > also link the two - use alerts from Nagios to initiate configuration > runs (using tags) on hosts. And alerting on configuration changes back > to Nagios.you could probably generate snmp traps via puppet as well. but it''s kinda overkill. -scott
Odd that we touched on this at the Seattle meet up just a few hours ago... One of the problems in using puppet to determine the state of <something> is the ''running-but-broken'' state. Take for example apache, puppet starts it up, everything is fine. Someone then rm -rf''s all your web content, or the database password changes, or a million other things happen . Puppet continues to ensure that apache is running, but for all purposes the website is broken. While I won''t disagree that current monitoring systems have grave limitations in terms of configuration, your best bet IMHO is to some type of resource collect and export that into the monitoring solution of your choice. Or write a wrapper for the service provider that will drop in a configuration for your monitoring system. .r'' On 9/17/07, Jordan Mendler <jmendler@ucla.edu> wrote:> > Hi all, > > I currently use puppet and cacti, and am in need of an alerting system for > systems/services that are down. Alerts through cacti are a major pain, so I > have begun looking at a small and simple tool called monit. Monit, however, > seems to be doing a lot of things that puppet is already doing for me (such > as checking if services are running and starting them if they aren''t, etc), > so I was wondering, is there any way to do alerts through puppet? > > While monit is more monitoring oriented and puppet is more configuration > oriented, it would be nice if there is a way to have puppet alert me upon > dead hosts, failing services etc. > > Thanks, > Jordan > >_______________________________________________ Puppet-users mailing list Puppet-users@madstop.com https://mail.madstop.com/mailman/listinfo/puppet-users