Hi,
So far we don't trust our puppet skills enough to have puppetd run
automatically every morning (for example).
This means we currently apply configurations using "puppetd --test"
manually when needed.
I'd like to monitor whether items/resources are out of sync and report
this to our monitoring system.
So far I see two options.
Parse the output of "puppetd --test --noop --summarize" as we get
something like this:
"Changes:
Total: 64
Resources:
Applied: 64
Out of sync: 64
Scheduled: 2430
Total: 1088"
Another option I've seen is "reports" (--report when running puppetd)
which sends a YAML report to the server.
I could then analyze reports on the puppetmaster. A raw " grep '^
source:' " may do the trick. I would then send the number of pending
items to zabbix (our monitoring tool) and delete the report.
Anyway, I'm wondering whether there's already a nifty feature that
does what I want and that I missed.
By the way we're running 0.24.8 but if 0.25 has better (well...
"simple to parse") reporting, we could probably move to 0.25.
Thanks for your help.
Calimero
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---