Issue #4339 has been updated by R.I. Pienaar.
I tested this, this is awesome can't wait for it to be released :)
it works but it would be nice if it recorded as zero some data, see --summarize:
<pre>
Changes:
Total: 2
Events:
Success: 2
Total: 2
Resources:
Changed: 1
Out of sync: 1
Total: 605
Time:
Class: 0.06
Config retrieval: 16.44
Cron: 0.01
Exec: 1.78
File: 5.64
Filebucket: 0.00
Group: 0.00
Package: 0.75
Schedule: 0.00
Service: 5.99
User: 0.01
Yumrepo: 0.01
</pre>
vs the recorded file from a different run
<pre>
---
time:
user: 0.004353
schedule: 0.000956
last_run: 1289571358
class: 0.059414
yumrepo: 0.007088
service: 6.342315
cron: 0.00156
config_retrieval: 15.8536801338196
package: 0.627695
filebucket: 0.000161
group: 0.001211
file: 174.504257
exec: 0.932128
resources:
total: 471
changes: {}
</pre>
a run with changes looks like:
<pre>
resources:
out_of_sync: 1
changed: 1
total: 471
changes:
total: 1
events:
total: 1
</pre>
would be good if in the 2nd data where no changes were made all the data from
the 3rd would still be in the file just with 0s
----------------------------------------
Feature #4339: Record last run status on the node
https://projects.puppetlabs.com/issues/4339
Author: R.I. Pienaar
Status: Accepted
Priority: Normal
Assignee:
Category: reports
Target version: Statler
Affected Puppet version: 2.6.0
Keywords:
Branch: https://github.com/masterzen/puppet/tree/feature/master/4339
It would be helpful for monitoring if the status of the last run from either a
daemonized puppetd or one from --test etc could be recorded in $vardir
somewhere.
The whole report would be too big to parse regularly from nagios so maybe a
smaller structured yaml file with the information that --summarize would show.
This way we could easily monitor the detailed status of our node runs in a way
that isnt very resource intensive or requiring extra tools like dashboards -
just generally tighter integration with our existing toolset.
Additionally it would be helpful if the reports could be written on the nodes
as well as to the network.
--
You have received this notification because you have either subscribed to it,
or are involved in it.
To change your notification preferences, please click here:
http://projects.puppetlabs.com/my/account
--
You received this message because you are subscribed to the Google Groups
"Puppet Bugs" 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-bugs?hl=en.