1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-21 18:41:03 +00:00
Commit graph

5 commits

Author SHA1 Message Date
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
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