Este contenido no está disponible en el idioma seleccionado.
Chapter 11. Setting up graphical representation of PCP metrics
Using a combination of pcp, grafana, pcp redis, pcp bpftrace, and pcp vector provides graphical representation of the live data or data collected by Performance Co-Pilot (PCP).
11.1. Setting up PCP with pcp-zeroconf Copiar enlaceEnlace copiado en el portapapeles!
This procedure describes how to set up PCP on a system with the pcp-zeroconf package. Once the pcp-zeroconf package is installed, the system records the default set of metrics into archived files.
Procedure
Install the
pcp-zeroconfpackage:dnf install pcp-zeroconf
# dnf install pcp-zeroconfCopy to Clipboard Copied! Toggle word wrap Toggle overflow
Verification
Ensure that the
pmloggerservice is active, and starts archiving the metrics:pcp | grep pmlogger
# pcp | grep pmlogger pmlogger: primary logger: /var/log/pcp/pmlogger/localhost.localdomain/20200401.00.12Copy to Clipboard Copied! Toggle word wrap Toggle overflow
11.2. Setting up a Grafana server Copiar enlaceEnlace copiado en el portapapeles!
Grafana generates graphs that are accessible from a browser. The Grafana server is a back-end server for the Grafana dashboard. It listens, by default, on all interfaces, and provides web services accessed through the web browser. The grafana-pcp plugin interacts with the pmproxy daemon in the backend.
This procedure describes how to set up a Grafana server.
Prerequisites
- PCP is configured. For more information, see Setting up PCP with pcp-zeroconf.
Procedure
Install the following packages:
dnf install grafana grafana-pcp
# dnf install grafana grafana-pcpCopy to Clipboard Copied! Toggle word wrap Toggle overflow Restart and enable the following service:
systemctl restart grafana-server systemctl enable grafana-server
# systemctl restart grafana-server # systemctl enable grafana-serverCopy to Clipboard Copied! Toggle word wrap Toggle overflow Open the server’s firewall for network traffic to the Grafana service.
firewall-cmd --permanent --add-service=grafana firewall-cmd --reload
# firewall-cmd --permanent --add-service=grafana success # firewall-cmd --reload successCopy to Clipboard Copied! Toggle word wrap Toggle overflow
Verification
Ensure that the Grafana server is listening and responding to requests:
ss -ntlp | grep 3000
# ss -ntlp | grep 3000 LISTEN 0 128 *:3000 *:* users:(("grafana-server",pid=19522,fd=7))Copy to Clipboard Copied! Toggle word wrap Toggle overflow Ensure that the
grafana-pcpplugin is installed:grafana-cli plugins ls | grep performancecopilot-pcp-app
# grafana-cli plugins ls | grep performancecopilot-pcp-app performancecopilot-pcp-app @ 5.1.1Copy to Clipboard Copied! Toggle word wrap Toggle overflow
11.3. Accessing the Grafana web UI Copiar enlaceEnlace copiado en el portapapeles!
This procedure describes how to access the Grafana web interface.
Using the Grafana web interface, you can:
- Add PCP Redis, PCP bpftrace, and PCP Vector data sources
- Create dashboard
- View an overview of any useful metrics
- Create alerts in PCP Redis.
Prerequisites
- PCP is configured. For more information, see Setting up PCP with pcp-zeroconf.
- The Grafana server is configured. For more information, see Setting up a Grafana server.
Procedure
-
On the client system, open
http://<grafana_server_IP_address_or_hostname>:3000in your browser. For the first login, enter admin in both the Email or username and Password field.
Grafana prompts to set a New password to create a secured account.
- In the menu, navigate to Administration and then click Plugins.
-
In the Plugins tab, type
performance co-pilotin the Search Grafana plugins text box and then click Performance Co-Pilot (PCP) plugin. - In the Plugins / Performance Co-Pilot pane, click .
Click the Grafana icon
. The Grafana Home page is displayed.
Figure 11.1. Home Dashboard
NoteThe top right corner of the screen has a settings (gear) icon
that controls the general Dashboard settings.
In the Grafana Home page, click Add your first data source to add PCP Redis, PCP bpftrace, and PCP Vector data sources. For more information about adding data source, see:
- To add pcp redis data source, view default dashboard, create a panel, and an alert rule, see Creating panels and alert in PCP Redis data source.
- To add pcp bpftrace data source and view the default dashboard, see Viewing the PCP bpftrace System Analysis dashboard.
- To add pcp vector data source, view the default dashboard, and to view the vector checklist, see Viewing the PCP Vector Checklist.
-
Optional: From the menu, hover over the admin profile icon
to update your Profile, view Notification history, Change password, or to Sign out.
11.4. Configuring secure connections for Grafana Copiar enlaceEnlace copiado en el portapapeles!
You can establish secure connections between Grafana and Performance Co-Pilot (PCP) components. Establishing secure connections between these components helps prevent unauthorized parties from accessing or modifying the data being collected and monitored.
Prerequisites
- PCP is installed. For more information, see Installing and enabling PCP.
- The Grafana server is configured. For more information, see Setting up a Grafana server.
The private client key is stored in the
/etc/grafana/grafana.keyfile. If you use a different path, modify the path in the corresponding steps of the procedure.For details about creating a private key and certificate signing request (CSR), as well as how to request a certificate from a certificate authority (CA), see your CA’s documentation.
-
The TLS client certificate is stored in the
/etc/grafana/grafana.crtfile. If you use a different path, modify the path in the corresponding steps of the procedure.
Procedure
As a root user, open the
/etc/grafana/grafana.inifile and adjust the following options in the[server]section to reflect the following:protocol = https cert_key = /etc/grafana/grafana.key cert_file = /etc/grafana/grafana.crt
protocol = https cert_key = /etc/grafana/grafana.key cert_file = /etc/grafana/grafana.crtCopy to Clipboard Copied! Toggle word wrap Toggle overflow Ensure grafana can access the certificates:
su grafana -s /bin/bash -c \ 'ls -1 /etc/grafana/grafana.crt /etc/grafana/grafana.key'
# su grafana -s /bin/bash -c \ 'ls -1 /etc/grafana/grafana.crt /etc/grafana/grafana.key' /etc/grafana/grafana.crt /etc/grafana/grafana.keyCopy to Clipboard Copied! Toggle word wrap Toggle overflow Restart and enable the Grafana service to apply the configuration changes:
systemctl restart grafana-server systemctl enable grafana-server
# systemctl restart grafana-server # systemctl enable grafana-serverCopy to Clipboard Copied! Toggle word wrap Toggle overflow
Verification
- On the client system, open a browser and access the Grafana server machine on port 3000, using the https://192.0.2.0:3000 link. Replace 192.0.2.0 with your machine IP.
Confirm the lock icon
is displayed beside the address bar.
NoteIf the protocol is set to
httpand an HTTPS connection is attempted, you will receive aERR_SSL_PROTOCOL_ERRORerror. If the protocol is set tohttpsand an HTTP connection is attempted, the Grafana server responds with a “Client sent an HTTP request to an HTTPS server” message.
11.5. Configuring PCP Redis Copiar enlaceEnlace copiado en el portapapeles!
Use the PCP Redis data source to:
- View data archives
- Query time series using pmseries language
- Analyze data across multiple hosts
Prerequisites
- PCP is configured. For more information, see Setting up PCP with pcp-zeroconf.
- The Grafana server is configured. For more information, see Setting up a Grafana server.
-
Mail transfer agent, for example,
sendmailorpostfixis installed and configured.
Procedure
Install the
redispackage:dnf install redis
# dnf install redisCopy to Clipboard Copied! Toggle word wrap Toggle overflow Start and enable the following services:
systemctl start pmproxy redis systemctl enable pmproxy redis
# systemctl start pmproxy redis # systemctl enable pmproxy redisCopy to Clipboard Copied! Toggle word wrap Toggle overflow Restart the Grafana server:
systemctl restart grafana-server
# systemctl restart grafana-serverCopy to Clipboard Copied! Toggle word wrap Toggle overflow
Verification
Ensure that the
pmproxyandredisare working:pmseries disk.dev.read
# pmseries disk.dev.read 2eb3e58d8f1e231361fb15cf1aa26fe534b4d9dfCopy to Clipboard Copied! Toggle word wrap Toggle overflow This command does not return any data if the
redispackage is not installed.
11.6. Configuring secure connections for PCP redis Copiar enlaceEnlace copiado en el portapapeles!
You can establish secure connections between performance co-pilot (PCP), Grafana, and PCP redis. Establishing secure connections between these components helps prevent unauthorized parties from accessing or modifying the data being collected and monitored.
Prerequisites
- PCP is installed. For more information, see Installing and enabling PCP.
- The Grafana server is configured. For more information, see Setting up a Grafana server.
- PCP redis is installed. For more information, see Configuring PCP Redis.
The private client key is stored in the
/etc/redis/client.keyfile. If you use a different path, modify the path in the corresponding steps of the procedure.For details about creating a private key and certificate signing request (CSR), as well as how to request a certificate from a certificate authority (CA), see your CA’s documentation.
-
The TLS client certificate is stored in the
/etc/redis/client.crtfile. If you use a different path, modify the path in the corresponding steps of the procedure. -
The TLS server key is stored in the
/etc/redis/redis.keyfile. If you use a different path, modify the path in the corresponding steps of the procedure. -
The TLS server certificate is stored in the
/etc/redis/redis.crtfile. If you use a different path, modify the path in the corresponding steps of the procedure. -
The CA certificate is stored in the
/etc/redis/ca.crtfile. If you use a different path, modify the path in the corresponding steps of the procedure.
Additionally, for the pmproxy daemon:
-
The private server key is stored in the
/etc/pcp/tls/server.keyfile. If you use a different path, modify the path in the corresponding steps of the procedure.
Procedure
As a root user, open the
/etc/redis/redis.conffile and adjust the TLS/SSL options to reflect the following properties:Copy to Clipboard Copied! Toggle word wrap Toggle overflow Ensure
rediscan access the TLS certificates:su redis -s /bin/bash -c \ 'ls -1 /etc/redis/ca.crt /etc/redis/redis.key /etc/redis/redis.crt'
# su redis -s /bin/bash -c \ 'ls -1 /etc/redis/ca.crt /etc/redis/redis.key /etc/redis/redis.crt' /etc/redis/ca.crt /etc/redis/redis.crt /etc/redis/redis.keyCopy to Clipboard Copied! Toggle word wrap Toggle overflow Restart the
redisserver to apply the configuration changes:systemctl restart redis
# systemctl restart redisCopy to Clipboard Copied! Toggle word wrap Toggle overflow
Verification
Confirm the TLS configuration works:
redis-cli --tls --cert /etc/redis/client.crt \ --key /etc/redis/client.key \ --cacert /etc/redis/ca.crt <<< "PING"# redis-cli --tls --cert /etc/redis/client.crt \ --key /etc/redis/client.key \ --cacert /etc/redis/ca.crt <<< "PING" PONGCopy to Clipboard Copied! Toggle word wrap Toggle overflow Unsuccessful TLS configuration might result in the following error message:
Could not negotiate a TLS connection: Invalid CA Certificate File/Directory
Could not negotiate a TLS connection: Invalid CA Certificate File/DirectoryCopy to Clipboard Copied! Toggle word wrap Toggle overflow
11.7. Creating panels and alerts in PCP Redis data source Copiar enlaceEnlace copiado en el portapapeles!
After adding the PCP Redis data source, you can view the dashboard with an overview of useful metrics, add a query to visualize the load graph, and create alerts that help you to view the system issues after they occur.
Prerequisites
- The PCP Redis is configured. For more information, see Configuring PCP Redis.
- The Grafana server is accessible. For more information, see Accessing the Grafana web UI.
Procedure
- Log into the Grafana web UI.
- In the Grafana Home page, click Add your first data source.
-
In the Add data source pane, type
redisin the Filter by name or type text box and then click PCP Redis. In the Data Sources / PCP Redis pane, perform the following:
-
Add
http://localhost:44322in the URL field and then click . -
Click
to see a dashboard with an overview of any useful metrics. Optional: In the drop-down menu next to the clock icon
, you can set the timeline of the displayed metrics either by setting the absolute time range or by selecting a predefined range. You can also use the zoom out icon
to modify the displayed time range.
NoteThe time frame displayed by default might not be aligned with the time frame covered by the archive files created by the
pmloggerservice.Figure 11.2. PCP Redis: Host Overview
-
Add
Add a new panel:
-
From the plus sign
drop-down menu, select New dashboard.
-
From the Add
drop-down menu, select Visualization.
- In the Query tab, select the pcp-redis-datasource as the Data source.
-
In the text field below A, enter metric, for example,
kernel.all.loadto visualize the kernel load graph. - Optional: From the Time series drop-down menu on the right, select another format of visualization, for example, Bar chart, Table, or Heatmap.
- Optional: Add Panel title and Description, and update other options.
- Click to apply changes and save the dashboard. Add Title.
Click to apply changes and go back to the dashboard.
Figure 11.3. PCP Redis query panel
-
From the plus sign
Create an alert rule:
-
In the PCP Redis query panel, click Alert
and then click New alert rule.
- Enter alert rule name.
- Define query and alert condition.
- Set evaluation behavior.
- Optional: Add annotations.
- Add labels and notifications.
- Click to apply changes in alert rules.
Click to apply changes and go back to the dashboard.
Figure 11.4. Creating alerts in the PCP Redis panel
To add a notification channel for the created alert rule to receive an alert notification from Grafana, see Adding notification channels for alerts.
-
In the PCP Redis query panel, click Alert
11.8. Adding notification channels for alerts Copiar enlaceEnlace copiado en el portapapeles!
By adding notification channels, you can receive an alert notification from Grafana whenever the alert rule conditions are met and the system needs further monitoring.
You can receive these alerts after selecting any one type from the supported list of notifiers, which includes:
- Alertmanager
- Cisco Webex Teams
- DingDing
- Discord
- Google Chat
- Kafka REST Proxy
- LINE
- Microsoft Teams
- OpsGenie
- PagerDuty
- Pushover
- Sensu Go
- Slack
- Telegram
- Threema Gateway
- VictorOps
- WeCom
- Webhook
Prerequisites
- The Grafana server is accessible. For more information, see Accessing the Grafana web UI.
- An alert rule is created. For more information, see Creating panels and alert in PCP Redis data source.
Procedure
Configure SMTP and add a valid sender’s email address in the
/etc/grafana/grafana.inifile:[smtp] enabled = true from_address = <sender_email_address>
[smtp] enabled = true from_address = <sender_email_address>Copy to Clipboard Copied! Toggle word wrap Toggle overflow Restart the Grafana server.
systemctl restart grafana-server.service
# systemctl restart grafana-server.serviceCopy to Clipboard Copied! Toggle word wrap Toggle overflow From the menu, select
. Figure 11.5. Alerting in Grafana
In the Create contact point details view, perform the following:
- Enter your name in the Name text box.
- Select the Integration type, for example, Email and enter the email address or multiple email addresses.
- Optional: Configure Optional Email settings and Notification settings.
- Click .
Select a notification channel in the alert rule:
- From the Alerting menu, select Notification policies.
-
Click the three dots icon
on the far right of Default policy and select Edit.
- Choose the Contact point you have just created and click Update default policy.
- Optional: Configure a nested policy in addition to the default policy.
- Optional: Configure Mute Timings.
11.9. Setting up authentication between PCP components Copiar enlaceEnlace copiado en el portapapeles!
You can setup authentication using the scram-sha-256 authentication mechanism, which is supported by PCP through the Simple Authentication Security Layer (SASL) framework.
Procedure
Install the
saslframework for thescram-sha-256authentication mechanism:dnf install cyrus-sasl-scram cyrus-sasl-lib
# dnf install cyrus-sasl-scram cyrus-sasl-libCopy to Clipboard Copied! Toggle word wrap Toggle overflow Specify the supported authentication mechanism and the user database path in the
pmcd.conffile:vi /etc/sasl2/pmcd.conf
# vi /etc/sasl2/pmcd.conf mech_list: scram-sha-256 sasldb_path: /etc/pcp/passwd.dbCopy to Clipboard Copied! Toggle word wrap Toggle overflow Create a new user:
useradd -r metrics
# useradd -r metricsCopy to Clipboard Copied! Toggle word wrap Toggle overflow Replace metrics by your user name.
Add the created user in the user database:
saslpasswd2 -a pmcd metrics
# saslpasswd2 -a pmcd metrics Password: Again (for verification):Copy to Clipboard Copied! Toggle word wrap Toggle overflow To add the created user, you are required to enter the metrics account password.
Set the permissions of the user database:
chown root:pcp /etc/pcp/passwd.db chmod 640 /etc/pcp/passwd.db
# chown root:pcp /etc/pcp/passwd.db # chmod 640 /etc/pcp/passwd.dbCopy to Clipboard Copied! Toggle word wrap Toggle overflow Restart the
pmcdservice:systemctl restart pmcd
# systemctl restart pmcdCopy to Clipboard Copied! Toggle word wrap Toggle overflow
Verification
Verify the
saslconfiguration:pminfo -f -h "pcp://127.0.0.1?username=metrics" disk.dev.read
# pminfo -f -h "pcp://127.0.0.1?username=metrics" disk.dev.read Password: disk.dev.read inst [0 or "sda"] value 19540Copy to Clipboard Copied! Toggle word wrap Toggle overflow
11.10. Installing PCP bpftrace Copiar enlaceEnlace copiado en el portapapeles!
Install the PCP bpftrace agent to introspect a system and to gather metrics from the kernel and user-space tracepoints.
The bpftrace agent uses bpftrace scripts to gather the metrics. The bpftrace scripts use the enhanced Berkeley Packet Filter (eBPF).
This procedure describes how to install a pcp bpftrace.
Prerequisites
- PCP is configured. For more information, see Setting up PCP with pcp-zeroconf.
- The Grafana server is configured. For more information, see Setting up a Grafana server.
-
The
scram-sha-256authentication mechanism is configured. For more information, see Setting up authentication between PCP components.
Procedure
Install the
pcp-pmda-bpftracepackage:dnf install pcp-pmda-bpftrace
# dnf install pcp-pmda-bpftraceCopy to Clipboard Copied! Toggle word wrap Toggle overflow Edit the
bpftrace.conffile and add the user that you have created in Setting up authentication between PCP components:Copy to Clipboard Copied! Toggle word wrap Toggle overflow Replace metrics by your user name.
Install
bpftracePMDA:Copy to Clipboard Copied! Toggle word wrap Toggle overflow The
pmda-bpftraceis now installed, and can only be used after authenticating your user. For more information, see Viewing the PCP bpftrace System Analysis dashboard.
11.11. Viewing the PCP bpftrace System Analysis dashboard Copiar enlaceEnlace copiado en el portapapeles!
Using the PCP bpftrace data source, you can access the live data from sources which are not available as normal data from the pmlogger or archives
In the PCP bpftrace data source, you can view the dashboard with an overview of useful metrics.
Prerequisites
- The PCP bpftrace is installed. For more information, see Installing PCP bpftrace.
- The Grafana server is accessible. For more information, see Accessing the Grafana web UI.
Procedure
- Log into the Grafana web UI.
-
In the menu, navigate to
. - In the Add data source pane, type bpftrace in the Filter by name or type text box and then click PCP bpftrace.
In the Data Sources / pcp-bpftrace-datasource pane, perform the following:
-
Add
http://localhost:44322in the URL field. - Toggle the Basic Auth option and add the created user credentials in the User and Password field.
Click .
Figure 11.6. Adding PCP bpftrace in the data source
Click
to see a dashboard with an overview of any useful metrics. Figure 11.7. PCP bpftrace: System Analysis
-
Add
11.12. Installing PCP Vector Copiar enlaceEnlace copiado en el portapapeles!
Install a pcp vector data source to show live, on-host metrics from the real-time pmwebapi interfaces. This data source is intended for on-demand performance monitoring of an individual host and includes container support.
Prerequisites
- PCP is configured. For more information, see Setting up PCP with pcp-zeroconf.
- The Grafana server is configured. For more information, see Setting up a Grafana server.
Procedure
Install the
pcp-pmda-bccpackage:dnf install pcp-pmda-bcc
# dnf install pcp-pmda-bccCopy to Clipboard Copied! Toggle word wrap Toggle overflow Install the
bccPMDA:Copy to Clipboard Copied! Toggle word wrap Toggle overflow
11.13. Viewing the PCP Vector Checklist Copiar enlaceEnlace copiado en el portapapeles!
The PCP Vector data source displays live metrics and uses the pcp metrics. It analyzes data for individual hosts.
After adding the PCP Vector data source, you can view the dashboard with an overview of useful metrics and view the related troubleshooting or reference links in the checklist.
Prerequisites
- The PCP Vector is installed. For more information, see Installing PCP Vector.
- The Grafana server is accessible. For more information, see Accessing the Grafana web UI.
Procedure
- Log into the Grafana web UI.
-
In the menu, navigate to
. - In the Add data source pane, type vector in the Filter by name or type text box and then click PCP Vector.
In the Data Sources / pcp-vector-datasource pane, perform the following:
-
Add
http://localhost:44322in the URL field and then click . Click
to see a dashboard with an overview of any useful metrics. Figure 11.8. PCP Vector: Host Overview
-
Add
In the menu, navigate to
. In the PCP checklist, click the question mark icon
for help or the warning icon
to view the related troubleshooting or reference links.
Figure 11.9. Performance Co-Pilot / PCP Vector Checklist
11.14. Using heatmaps in Grafana Copiar enlaceEnlace copiado en el portapapeles!
You can use heatmaps in Grafana to view histograms of your data over time, identify trends and patterns in your data, and see how they change over time. Each column within a heatmap represents a single histogram with different colored cells representing the different densities of observation of a given value within that histogram.
This specific workflow is for the heatmaps in Grafana version 10 and later on RHEL9.
Prerequisites
- PCP Redis is configured. For more information see Configuring PCP Redis.
- The Grafana server is accessible. For more information see Accessing the Grafana Web UI.
- The PCP Redis data source is configured. For more information see Creating panels and alerts in PCP Redis data source.
Procedure
-
In the menu, select
. - In the Select data source pane, select pcp-redis-datasource.
-
In the Query tab, in the text field below A, enter a metric, for example,
kernel.all.loadto visualize the kernel load graph. - From the Time series drop-down menu on the right, select Heatmap.
- Optional: In the Panel Options dropdown menu, add a Panel Title and Description.
In the Heatmap dropdown menu, under the Calculate from data setting, click Yes.
Heatmap
- Optional: In the Colors dropdown menu, change the Scheme from the default Orange and select the number of steps (color shades).
Optional: In the Tooltip dropdown menu, click the toggle to display a cell’s position within its specific histogram when hovering your cursor over a cell in the heatmap. For example:
Show histogram (Y Axis) cell display
11.15. Managing SELinux booleans for Grafana Copiar enlaceEnlace copiado en el portapapeles!
The grafana-selinux subpackage includes several SELinux booleans that control Grafana’s access to external services. These booleans are off by default. You can turn them on or off based on your system requirements.
Prerequisites
-
You have installed
grafana-selinuxsubpackage. - You have root privileges.
Procedure
View all Grafana-related SELinux booleans:
semanage boolean -l | grep grafana
# semanage boolean -l | grep grafanaCopy to Clipboard Copied! Toggle word wrap Toggle overflow Enable a SELinux boolean:
setsebool [-P] <boolean_name> on
# setsebool [-P] <boolean_name> onCopy to Clipboard Copied! Toggle word wrap Toggle overflow - Replace <boolean_name> with the name of the SELinux boolean you want to enable.
- Use the -P option to make the change persistent across system reboots.
Optional: Turn off any SELinux option:
setsebool [-P] <boolean_name> off
# setsebool [-P] <boolean_name> offCopy to Clipboard Copied! Toggle word wrap Toggle overflow
11.16. Troubleshooting Grafana issues Copiar enlaceEnlace copiado en el portapapeles!
It is sometimes neccesary to troubleshoot Grafana issues, such as, Grafana does not display any data, the dashboard is black, or similar issues.
Procedure
Verify that the
pmloggerservice is up and running by executing the following command:systemctl status pmlogger
$ systemctl status pmloggerCopy to Clipboard Copied! Toggle word wrap Toggle overflow Verify if files were created or modified to the disk by executing the following command:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Verify that the
pmproxyservice is running by executing the following command:systemctl status pmproxy
$ systemctl status pmproxyCopy to Clipboard Copied! Toggle word wrap Toggle overflow Verify that
pmproxyis running, time series support is enabled, and a connection to Redis is established by viewing the/var/log/pcp/pmproxy/pmproxy.logfile and ensure that it contains the following text:pmproxy(1716) Info: Redis slots, command keys, schema version setup
pmproxy(1716) Info: Redis slots, command keys, schema version setupCopy to Clipboard Copied! Toggle word wrap Toggle overflow Here, 1716 is the PID of pmproxy, which will be different for every invocation of
pmproxy.Verify if the Redis database contains any keys by executing the following command:
redis-cli dbsize
$ redis-cli dbsize (integer) 34837Copy to Clipboard Copied! Toggle word wrap Toggle overflow Verify if any PCP metrics are in the Redis database and
pmproxyis able to access them by executing the following commands:Copy to Clipboard Copied! Toggle word wrap Toggle overflow Copy to Clipboard Copied! Toggle word wrap Toggle overflow Verify if there are any errors in the Grafana logs by executing the following command:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow