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:
objectThis component uses
Pscombiner to determine if the host is a Ceph monitor or not. If not Ceph monitor, it raisesSkipComponent.- Raises:
SkipComponent -- When it’s not a Ceph monitor.