-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

windowsrefund wrote:
> Hello group,
> 
> I've got a check defined in nagios that allows me to determine if a
> puppet client has not updated itself in awhile
> 
> /usr/lib/nagios/plugins/check_file_age -f /var/lib/puppet/state/
> state.yaml -w 3600 -c 4000
> 
> Now I'd like to start thinking about adding some facts and thought I'd
> ping the group for ideas. Some interesting things to know would
> include:
> 
> - Time stamp of last run
> - Number of errors (or if errors is just > 0)
> - Age of lock file if present (useful when a paranoid admin runs
> puppetd --disable)

Have you seen the puppetlast script?  It's in the ext/ directory of the
Puppet package.  That might be useful too.

Cheers

James Turnbull

- --
Author of:
* Pulling Strings with Puppet
(http://www.amazon.com/gp/product/1590599780/)
* Pro Nagios 2.0
(http://www.amazon.com/gp/product/1590596099/)
* Hardening Linux
(http://www.amazon.com/gp/product/1590594444/)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJZRiH9hTGvAxC30ARAvMwAKDSbw5ew1nCPYlO2xSVEq3N3T7TYwCdGavK
0D8mUXovqYVbuR3YITFT1KI=
=vXRa
-----END PGP SIGNATURE-----

--~--~---------~--~----~------------~-------~--~----~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to