From d105128f3f6b9c2182114ce2ce3e073636a637b1 Mon Sep 17 00:00:00 2001 From: Timothy Asir Jeyasingh Date: Wed, 25 Jun 2014 15:01:00 +0530 Subject: disk_usage: set rrd configuration to multiple By default perfdata are created in single rrd file which causes failure of fetching DS for newly configured disks. This patch fixes this issue by setting pnp4nagios rrd configuration to multiple. Change-Id: I05ca0561e9b926a3ee0c655699fa30544c20e2ad Signed-off-by: Timothy Asir Jeyasingh Reviewed-on: http://review.gluster.org/8169 Tested-by: Timothy Asir Reviewed-by: Sahina Bose --- nagios-server-addons.spec.in | 1 + templates/Makefile.am | 1 + templates/check_disk_and_inode.cfg | 1 + 3 files changed, 3 insertions(+) create mode 100644 templates/check_disk_and_inode.cfg diff --git a/nagios-server-addons.spec.in b/nagios-server-addons.spec.in index 7c0c338..7a1b7a7 100644 --- a/nagios-server-addons.spec.in +++ b/nagios-server-addons.spec.in @@ -232,6 +232,7 @@ fi %attr(-, root, nagios) %{_sysconfdir}/nagios/gluster/snmpmanagers.conf %{_sysconfdir}/nagios/gluster/* %{_sysconfdir}/sudoers.d/nagios +%{_sysconfdir}/pnp4nagios/check_commands/check_disk_and_inode.cfg %{_sysconfdir}/pnp4nagios/check_commands/check_interfaces.cfg /usr/share/snmp/mibs/* diff --git a/templates/Makefile.am b/templates/Makefile.am index c54953e..c229efe 100644 --- a/templates/Makefile.am +++ b/templates/Makefile.am @@ -1,5 +1,6 @@ pnp4nagioscheckcommanddir = $(sysconfdir)/pnp4nagios/check_commands pnp4nagioscheckcommand_DATA = \ + check_disk_and_inode.cfg \ check_interfaces.cfg \ $(NULL) diff --git a/templates/check_disk_and_inode.cfg b/templates/check_disk_and_inode.cfg new file mode 100644 index 0000000..718dc42 --- /dev/null +++ b/templates/check_disk_and_inode.cfg @@ -0,0 +1 @@ +RRD_STORAGE_TYPE = MULTIPLE -- cgit