diff options
author | Timothy Asir Jeyasingh <tjeyasin@redhat.com> | 2014-06-25 15:01:00 +0530 |
---|---|---|
committer | Sahina Bose <sabose@redhat.com> | 2014-06-26 02:37:53 -0700 |
commit | d105128f3f6b9c2182114ce2ce3e073636a637b1 (patch) | |
tree | 2048d644cc3771c73cc4d01d350a122f33299cbc | |
parent | 1d1b95d1e84383bdd6d53ffbd9e0a21b06fece24 (diff) |
disk_usage: set rrd configuration to multiplev0.1.1
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 <tjeyasin@redhat.com>
Reviewed-on: http://review.gluster.org/8169
Tested-by: Timothy Asir <tim.gluster@gmail.com>
Reviewed-by: Sahina Bose <sabose@redhat.com>
-rw-r--r-- | nagios-server-addons.spec.in | 1 | ||||
-rw-r--r-- | templates/Makefile.am | 1 | ||||
-rw-r--r-- | templates/check_disk_and_inode.cfg | 1 |
3 files changed, 3 insertions, 0 deletions
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 |