Re: [Puppet Users] Is it able to obtain performance metrics from puppet master?

113 views
Skip to first unread message

Erik Dalén

unread,
Dec 13, 2012, 6:24:56 PM12/13/12
to puppet...@googlegroups.com
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 <madr...@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...@googlegroups.com.
To unsubscribe from this group, send email to puppet-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.



--
Erik Dalén

Oleg Korchagin

unread,
Dec 18, 2012, 1:52:33 AM12/18/12
to puppet...@googlegroups.com
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
Reply all
Reply to author
Forward
0 new messages