NRPE check_replica_sets in 21.01 mongodb charm shows CRITICAL on single unit mongo deployment

Bug #1914080 reported by Drew Freiberger
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
MongoDB Charm
Fix Released
Medium
Chris Johnston

Bug Description

I'm noticing two issues with the newly added check_replica_sets nrpe monitor for mongodb:

1. the check is named check_check_replica_sets. This is a visual issue, and not a functionality issue.

2. The check should not be enabled on single-node mongodb installations (like in single-node graylog + mongodb setups)

Related branches

Changed in charm-mongodb:
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
Chris Johnston (cjohnston) wrote :

On a single-node mongo install the nagios alert is:

CRITIAL: unable to determine the replica set name

Changed in charm-mongodb:
assignee: nobody → Chris Johnston (cjohnston)
status: Triaged → Fix Committed
Xav Paice (xavpaice)
Changed in charm-mongodb:
milestone: none → 21.10
Celia Wang (ziyiwang)
Changed in charm-mongodb:
status: Fix Committed → Fix Released
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.