----- "Tim" <tedwa...@eso.org> wrote:

> Hi,
> 
> I was wondering how people here monitor puppet runs on the clients.
> For puppet 0.25.x I enabled reporting and then wrote a nagios plugin
> to parse the YAML report files that each client returned after a run.
> Specifically I was looking for any 'failures' or 'failed_restarts'.

for detailed monitoring right now the reports are the only option unfortunately.

Ideally http://projects.puppetlabs.com/issues/4339 would get implemented 
so we can do this better and on the node but alas no joy yet.

> 1) If there were any failures during the puppet run on the client
> 2) When the last puppet run on each client was (ie. if it was more
> than 50 mins ago raise a warning)

You can check the ages of the localconfig cache or the state file.

The state file will get touched on every run so that will indicate if
its running while the local config cache will get updated on each compile
so that will show you if the node is getting new catalogs - there arent
any obvious syntax errors and your master is up etc

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to