mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-21 18:41:03 +00:00
document the plugin
This commit is contained in:
parent
e5be4561c0
commit
93a7c79350
1 changed files with 23 additions and 0 deletions
|
@ -1,5 +1,28 @@
|
|||
#!/usr/bin/ruby
|
||||
|
||||
# this plugin reports various performance statistics from a puppetmaster
|
||||
# server and client
|
||||
#
|
||||
# linked as puppet_mem, it will display memory usage of the puppet
|
||||
# client and puppet master on the local server.
|
||||
#
|
||||
# linked as puppet_clients, it will report the average compile time, the
|
||||
# number of clients that checked in in the last 5 minutes and 24h and
|
||||
# the number of known clients.
|
||||
#
|
||||
# it requires read access to the puppet logfile.
|
||||
#
|
||||
# CONFIGURATION
|
||||
#
|
||||
# [puppet*]
|
||||
# env.puppet_logfile /var/log/message
|
||||
# env.puppet_logformat "^%b %d"
|
||||
#
|
||||
# the logfile is where the puppetmaster is expected to log its
|
||||
# compilation statistics. the format is the format of the date syslog
|
||||
# writes to the file, which may vary according to locale and
|
||||
# configuration.
|
||||
|
||||
# returns the mem usage of a given process
|
||||
def plist(psname)
|
||||
counter = 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue