ceph / ceph/ceph-nagios-plugins

Adjust to work with Octopus installed via cephadm

Open
#66 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
81
Forks
84
PR merge metrics
No merged PRs in 30d

Description

In Octopus the default way to install ceph is to use cephadm, which runs all the ceph daemons in Docker Containers. However, therefore the Ceph Nodes will have names conatining the Container ID. Especially the MDS Check is not working anymore in this case.

As a quick workaround, I suggest to make a substring check for the hostname instead of an exact string match, this should prevent reconfiguration of the nagios check.

replace Line 109 by:
` if name in mds.get_name():`

and replace line 118 by:
` if not name in mds.get_name():`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.