Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust to work with Octopus installed via cephadm #66

Open
romulus-ai opened this issue Feb 8, 2021 · 1 comment
Open

Adjust to work with Octopus installed via cephadm #66

romulus-ai opened this issue Feb 8, 2021 · 1 comment

Comments

@romulus-ai
Copy link

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():

@romulus-ai
Copy link
Author

On the other hand it makes much more sence to use prometheus or similar to monitor such a volatile system

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant