With new ceph luminous ceph.rules are obsolete.
Added a new rule for ceph-mgr count
Changed ceph_monitor_quorum_count to ceph_mon_quorum_count
Updated ceph_cluster_usage_highas ceph_cluster_used_bytes,
ceph_cluster_capacity_bytes aren't valid
Updated ceph_placement_group_degrade_pct_high as
ceph_degraded_pgs, ceph_total_pgs aren't valid
Updated ceph_osd_down_pct_high as ceph_osds_down,
ceph_osds_up aren't available, ceph_osd_up is
available but ceph_osd_down isn't. Need to
calculate the down based on count(ceph_osd_up==0)
and total osd using count(ceph_osd_metadata)
Removed ceph_monitor_clock_skew_high as the metric
ceph_monitor_clock_skew_seconds isn't valid anymore
Added new alarms ceph_osd_down, ceph_osd_out
Implements: prometheus ceph.rules changes with new valid metrics
Closes-Bug: #1800548
Change-Id: Id68e64472af12e8dadffa61373c18bbb82df96a3
Signed-off-by: Kranthi Guttikonda <kranthi.guttikonda@b-yond.com>