Need NRPE monitors for OVN status

Bug #1897816 reported by Xav Paice
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
charm-ovn-central
New
Undecided
Unassigned

Bug Description

Following on from LP: #1896674, we should monitor for the following:

ovn-central:

Ussuri:
ovn-appctl -t /var/run/ovn/ovnnb_db.ctl cluster/status OVN_Northbound
ovn-appctl -t /var/run/ovn/ovnsb_db.ctl cluster/status OVN_Southbound

Train:
ovs-appctl -t /var/run/openvswitch/ovnsb_db.ctl cluster/status OVN_Southbound
ovs-appctl -t /var/run/openvswitch/ovnnb_db.ctl cluster/status OVN_Northbound

Check that:
Status: cluster member

ovn-chassis (and dedicated-chassis):
ovs-appctl connection-status (Needs more details)

Given that these commands require root, and that NRPE does not run as root, we will need the checks to be run via cron and results stored in a file, which NRPE checks can read. We will also want to check for the freshness of the file.

Revision history for this message
Xav Paice (xavpaice) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-ovn-central (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/x/charm-ovn-central/+/819317

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on charm-ovn-central (master)

Change abandoned by "Przemysław Lal <email address hidden>" on branch: master
Review: https://review.opendev.org/c/x/charm-ovn-central/+/819317
Reason: The community won't accept any new nrpe checks.

Andrea Ieri (aieri)
Changed in charm-ovn-central:
status: In Progress → New
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers