Ask Your Question
0

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

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

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
0

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

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
0

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

fnaard 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?

https://docs.puppetlabs.com/puppetdb/...

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

Stats

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

Seen: 160 times

Last updated: Oct 10 '14