Use the grafanadash module
Grafana
provides a web-based, customizable, Graphite-compatible dashboard. The grafanadash
module installs and configures a basic Graphite test instance with
the Grafana extension. When installed on a Puppet agent, the purpose of this module is to demonstrate how
Graphite and Grafana can consume and display Puppet Server metrics.
The grafanadash module is not a Puppet-supported module. It is for testing and
demonstration purposes only, is considered insecure, and is tested against CentOS 7 only. Install this module only on a dedicated
agent. Do not install the grafanadash module on your primary server. This module
makes the following security policy changes that are inappropriate for a primary server.
- SELinux can cause issues with Graphite and Grafana, so the module temporarily disables SELinux. If you reboot the machine after
using the
grafanadash
module to install Graphite, you must disable SELinux again and restart the Apache service to use Graphite and Grafana. - The module disables the iptables firewall and enables cross-origin resource sharing on Apache, which are potential security risks.
For the above reasons, we recommend using another method to View and manage Puppet Server metrics, such as the puppet_operational_dashboards
module or the Metrics API.