Oleg Korchagin
2012-Dec-13 17:09 UTC
[Puppet Users] Is it able to obtain performance metrics from puppet master?
Hello Is it able to obtain performance metrics from puppet master ( or puppet dashboard ) ? I intend to use this metrics in external monitoring system. Of particular interest are the following metrics: * list of agents * time since the certain agent last apply manifest ( to find stuck agents ) * time used to compile manifest by puppet master for the certain agent * time used by the certain agent to apply manifest P.S. sorry for my english, it is not my native language -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/vcbg7SIFH7oJ. 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 http://groups.google.com/group/puppet-users?hl=en.
Erik Dalén
2012-Dec-13 23:24 UTC
Re: [Puppet Users] Is it able to obtain performance metrics from puppet master?
most of these are available in the reports, have a look in he reportdir (puppet master --configprint reportdir). You can also write a report processor to feed them directly into your monitoring system. On 13 December 2012 18:09, Oleg Korchagin <madrouter@gmail.com> wrote:> Hello > > Is it able to obtain performance metrics from puppet master ( or puppet > dashboard ) ? > > I intend to use this metrics in external monitoring system. > Of particular interest are the following metrics: > > * list of agents > * time since the certain agent last apply manifest ( to find stuck agents ) > * time used to compile manifest by puppet master for the certain agent > * time used by the certain agent to apply manifest > > P.S. sorry for my english, it is not my native language > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/puppet-users/-/vcbg7SIFH7oJ. > 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 > http://groups.google.com/group/puppet-users?hl=en. >-- Erik Dalén -- 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 http://groups.google.com/group/puppet-users?hl=en.
Oleg Korchagin
2012-Dec-18 06:52 UTC
Re: [Puppet Users] Is it able to obtain performance metrics from puppet master?
Thanks for perply I had write perl script to get metrics from log file ( /var/log/messages in rhel, /var/log/syslog in debian ) http://pastebin.com/u0HZNesZ ( it is for xymon monitoring system ) Also, at other forum, i get 2 advice: 1) It is able to get most of this metrics at agent side, from state file ( last_run_summary.yaml) , script for nagios: https://raw.github.com/aswen/nagios-plugins/master/check_puppet_agent 2) foreman http://theforeman.org/ cat give all of this metrics in json format. As a result, i use my script and start to learn foreman -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/xaOPi3XPMXwJ. 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 http://groups.google.com/group/puppet-users?hl=en.