Proxmox mit Ceph

Hallo,

ich benötige euer Schwarm wissen…

wir betreiben ein Proxmoxcluster mit Ceph,
Proxmox wird bereits über Check-mk über den normalen Agenten überwacht, was auch funktioniert. Allerdings schaffe ich es nicht, Ceph zu überwachen.

zum Vorgehen:

ich habe auf einem Proxmox Node unter

/usr/lib/check_mk_agent/plugins

das Ceph Plugin “mk_ceph” abgelegt,
und die Services bei dem Node neu eingelesen, allerdings wird mir kein Service für Ceph angezeigt.

Have you configured the necessary credentials as described in the plugin file?

# Check Ceph storage
# Config file must contain:
# USER=client.admin
# KEYRING=/etc/ceph/ceph.client.admin.keyring

Hi Robin,

thanks for the Information,

i found the Keyring on the PVE Node here

/etc/pve/priv/ceph/Ceph.keyring

when i open the File i can See the User ist client.adin


[client.admin]
key = **
caps mds = “allow *”
caps mgr = “allow *”
caps mon = “allow *”
caps osd = “allow *”

so i edit the files in the “mk_ceph” Plugin to

USER=client.admin
KEYRING=/etc/pve/priv/ceph/Ceph.keyring

is that so right?
the services are unfortunately not yet recognized

Well, as the plugin suggests in the header it is reading the configuration file from $MK_CONFDIR/ceph.cfg. That is where the credentials should be stored. Adding them to the plugin should work too, but it is not good practice.
If no services are discovered, you might want to try to run the plugin by hand to verify the output looks good.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.