Ask Your Question

Can we get puppet to email the admin for unresponsive nodes?

asked 2014-10-06 21:09:41 -0600

Anandk gravatar image

We are required to monitor nodes for puppet, problem is too many and opening up console for each environment is troublesome. Can puppet email or alert the admins of nodes that gone wrong?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2014-10-07 01:47:13 -0600

jonn gravatar image

We push out this nagios plugin (using Puppet of course) and that takes care of this problem for us - it will alert us if the agent fails to run successfully for a given period of time, which you can configure to suit your needs.

edit flag offensive delete link more

answered 2014-10-10 16:23:08 -0600

gabe_sky gravatar image

You might be able to get a cron job to pull this out of the PuppetDB with a REST query. I didn't immediately find a "canned" query to do it, but the Enterprise Console and PuppetDB's own auto-deactivation of nodes can see when a node hasn't had a catalog compiled within some span of time.

Start here?

Hope this helps.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2014-10-06 21:09:41 -0600

Seen: 181 times

Last updated: Oct 10 '14