Nrpe-external-master relation is missing

Bug #2023933 reported by Connor Chamberlain
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MySQL InnoDB Cluster Charm
Triaged
Wishlist
Unassigned

Bug Description

The nrpe-external-master relation for this charm does not exist, which prevents charm-nrpe from rendering any MySQL-specific checks.

This can be reproduced by deploying mysql-innodb-cluster and adding nrpe as a subordinate. You will see that the juju-info relation is used by default. If you attempt to use the nrpe-external-master relation, you will see:

$ juju relate mysql-innodb-cluster:nrpe-external-master nrpe-container:nrpe-external-master
ERROR application "mysql-innodb-cluster" has no "nrpe-external-master" relation

Note that this relation does exist for the older mysql-percona-cluster charm.

Charm-nrpe is working as expected, and it will render any other Nagios checks based on its other relations. However, there is currently no way to render Nagios checks related to MySQL without building the charm locally or reverting to mysql-percona-cluster. The expected behavior here is that the relation I attempted above would succeed and result in several MySQL checks being rendered in /etc/nagios/nrpe.d/ on the mysql-innodb-cluster units.

This missing feature impacts the efficacy of Nagios as a monitoring tool for mysql-innodb-cluster but does not impact the functionality of mysql-innodb-cluster itself.

Changed in charm-mysql-innodb-cluster:
status: New → Triaged
importance: Undecided → Wishlist
Revision history for this message
Przemyslaw Lal (przemeklal) wrote :

Please note that this was implemented over a year ago but denied:
https://review.opendev.org/c/openstack/charm-mysql-innodb-cluster/+/818401

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.