Component identifies Ceph Monitor

The Is* component in this module is valid if the insights.combiners.ps.Ps combiner indicates the host is a Ceph monitor. Otherwise, it raises a insights.core.exceptions.SkipComponent to prevent dependent components from executing.

class insights.components.ceph.IsCephMonitor(ps)[source]

Bases: object

This component uses Ps combiner to determine if the host is a Ceph monitor or not. If not Ceph monitor, it raises SkipComponent.

Raises:

SkipComponent -- When it’s not a Ceph monitor.