Commit Graph

22 Commits

Author SHA1 Message Date
Kenyon Ralph 7869455fcb puppet_runtime: fix perlpod
perlpod needs these blank lines in order to detect and format the
documentation.
2022-06-19 22:14:52 +02:00
Martin Gebhardt 1f61b7235a
Update DOP and code cleanup 2022-03-12 00:52:12 +01:00
Martin Gebhardt ba142817c7
Add example graph 2022-02-27 17:50:13 +01:00
Martin Gebhardt 452f3f2f4f
Enable dynamic reading of puppet report, independent of operating system and puppet version 2022-02-27 17:49:45 +01:00
Lars Kruse a7139bcaee Unify shebang for python scripts 2020-10-28 23:38:41 +01:00
Lars Kruse c6f88968d1 Improve perlpod formatting for multiple plugins
Escpecially the final marker ("=cut") was missing in these plugins.
2020-10-06 00:29:38 +02:00
Lars Kruse 809639ab65 Ruby plugins: apply code changes as suggested by "rubocop --auto-correct" 2020-08-25 17:44:17 +02:00
Kenyon Ralph 6052c56d94 plugins/puppet/puppet_runtime: fix formatting
Used rufo https://github.com/ruby-formatter/rufo
2020-08-23 14:21:37 +02:00
Gabriel Filion 70f565c503 puppetdb: implement cert validation and client cert auth
It is very common for PuppetDB installs to run on a different host than
the puppetmaster. In such cases, a certificate file is normally used to
establish an encrypted communication to the server.

The most common setup for this server certificate is to use a
certificate that was signed by the puppetmaster's CA, so one would want
to verify the server cert against this same CA (it should be present on
puppet clients).

Moreover, to ensure that *only* puppet clients can communicate with
PuppetDB, a pair of client certificat/key files are usually used to
authenticate clients.
2020-01-21 12:24:36 +01:00
Gabriel Filion 6a8fbf3bd3 change category of puppet plugins to "other"
using the "devel" category is a bit weird. there's currently no good
category to place those into so let's use "other" instead.
2020-01-03 06:32:51 +01:00
Gabriel Filion d4188712d9 create new plugin for graphing PuppetDB's usage of JVM Heapspace
PuppetDB requires a pretty high amount of memory allocated to it. If you
don't give enough memory space to the JVM, PuppetDB might crash when it
has fully used the available max memory. This plugin should be useful
for better tuning up your instance(s) of PuppetDB.

Currently, it's only compatible with PuppetDB 6.x since it's requesting
data from the API as described for that version:

https://puppet.com/docs/puppetdb/6.0/api/metrics/v1/mbeans.html#jvm-metrics

To add support for more versions, one would need to consult the same
documentation for different versions and to adapt URLs used and the code
that's obtaining the data from JSON if the layout of the responses is
different.
2020-01-03 06:32:51 +01:00
Lars Kruse 7a37bfb1d8 Plugins: unify shebang for ruby scripts 2018-07-11 19:35:32 +02:00
dipohl ae4e85ab60 Plugin-Gallery: Better 2nd level headings 2017-02-24 03:13:08 +01:00
Stig Sandbeck Mathisen f4d81e1926 Retire plugin for old puppet master installations
- "puppetd" and "puppetmasterd" is no longer in use

 - The use of "/etc/sysconfig" made this plugin specific for RedHat-ish
   systems

 - any plugin to replace this should use the "puppet" command to get
   configuration, and be implemented as a multigraph plugin.

This closes issue #424
2014-10-05 23:16:26 +02:00
Steve Schnepp e109323f0f Merge pull request #514 from jasperla/puppet_runtime
Add plugin to retrieve the time puppet agent took to apply the catalog
2014-08-26 14:18:48 +02:00
Jasper Lievisse Adriaanse f6d7cf5965 Add plugin to retrieve the time puppet agent took to apply the catalog 2014-08-13 11:05:59 +02:00
Jasper Lievisse Adriaanse 5182fee7a3 Allow for a custom puppet facts directory
For example on OpenBSD, /var/lib/puppet doesn't exist and /var/puppet is used
2014-08-12 19:33:51 +02:00
Antoine Beaupré 93a7c79350 document the plugin 2013-07-09 22:03:12 -04:00
Antoine Beaupré e5be4561c0 specify units of compilation time 2013-06-17 16:36:35 -04:00
Antoine Beaupré ee0f13f366 allow customizing tiem format, use standard
by default, syslog doesn't use iso timestamps..
2013-06-17 16:36:28 -04:00
Antoine Beaupré d2491a1977 use a proper interpretor
env is not in /bin in debian
2013-06-17 16:36:03 -04:00
Steve Schnepp 08346aac58 - have some dirs 2012-02-13 18:24:46 +01:00