Skip to content

Commit

Permalink
debian: add ceph-grafana-dashboards package
Browse files Browse the repository at this point in the history
Signed-off-by: Sage Weil <[email protected]>
  • Loading branch information
liewegas committed Mar 24, 2020
1 parent f1b516d commit 01015f8
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 0 deletions.
1 change: 1 addition & 0 deletions debian/ceph-grafana-dashboards.install
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
etc/grafana/dashboards/ceph-dashboard/*
1 change: 1 addition & 0 deletions debian/ceph-prometheus-alerts.install
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
etc/prometheus/ceph/ceph_default_alerts.yml
20 changes: 20 additions & 0 deletions debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -1152,3 +1152,23 @@ Description: interactive shell for the Ceph distributed file system
a nice pseudo-shell which works like an FTP client.
.
This package contains a CLI for interacting with the CephFS.

Package: ceph-grafana-dashboards
Architecture: all
Description: grafana dashboards for the ceph dashboard
Ceph is a massively scalable, open-source, distributed
storage system that runs on commodity hardware and delivers object,
block and file system storage.
.
This package contains Grafana dashboards that are used by the Ceph Dashboard
for monitoring.

Package: ceph-prometheus-alerts
Architecture: all
Description: prometheus alerts for the ceph dashboard
Ceph is a massively scalable, open-source, distributed
storage system that runs on commodity hardware and delivers object,
block and file system storage.
.
This package contains alerts used for prometheus to interact with the
Ceph Dashboard.
3 changes: 3 additions & 0 deletions debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ extraopts += -DWITH_PYTHON3=3
extraopts += -DWITH_CEPHFS_JAVA=ON
extraopts += -DWITH_CEPHFS_SHELL=ON
extraopts += -DWITH_SYSTEMD=ON -DCEPH_SYSTEMD_ENV_DIR=/etc/default
extraopts += -DWITH_GRAFANA=ON
# assumes that ceph is exmpt from multiarch support, so we override the libdir.
extraopts += -DCMAKE_INSTALL_LIBDIR=/usr/lib
extraopts += -DCMAKE_INSTALL_LIBEXECDIR=/usr/lib
Expand Down Expand Up @@ -65,6 +66,8 @@ override_dh_auto_install:

install -m 755 src/cephadm/cephadm $(DESTDIR)/usr/sbin/cephadm

install -m 644 -D monitoring/prometheus/alerts/ceph_default_alerts.yml $(DESTDIR)/etc/prometheus/ceph/ceph_default_alerts.yml

# doc/changelog is a directory, which confuses dh_installchangelogs
override_dh_installchangelogs:
dh_installchangelogs --exclude doc/changelog
Expand Down

0 comments on commit 01015f8

Please sign in to comment.