Re: [Puppet Users] Puppet agent exit code for monitoring script

R.I.Pienaar
2012-12-04T19:41:41Z

----- Original Message -----
> From: "Andreas Ntaflos" <daff@pseudoterminal.org>
> To: puppet-users@googlegroups.com
> Sent: Tuesday, December 4, 2012 6:35:12 PM
> Subject: Re: [Puppet Users] Puppet agent exit code for monitoring script
>
> On 04/12/12 16:40, Felix Müller wrote:
> > Hello,
> >
> > I would like to build a script, which notifies me, when a
> > production
> > host notices, that there change on a host, based on the Puppet exit
> > codes without executing it.
>
> Probably easier and more effective to examine
> /var/lib/puppet/state/last_run_summary.yaml. As obvious from the
> filename it contains information about the latest Puppet run in a
> simple
> YAML format.

there''s a check script that uses this file @
https://github.com/ripienaar/monitoring-scripts/blob/master/puppet/check_puppet.rb

the file has a lot of strange behaviors, sometimes empty, sometimes full
of values etcetc. the script above attempt to handle those well

--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to
puppet-users+unsubscribe@googlegroups.com.
For more options, visit this group at