[packages/nagios-plugin-check_raid/DEVEL] up to 3.0.6

glen glen at pld-linux.org
Thu Sep 11 17:12:57 CEST 2014


commit e66d9caf710bd93ccb48d42d5ad67c9e9b46fe1b
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Mon Dec 16 21:23:48 2013 +0200

    up to 3.0.6

 nagios-plugin-check_raid.spec | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)
---
diff --git a/nagios-plugin-check_raid.spec b/nagios-plugin-check_raid.spec
index 547be4d..290a981 100644
--- a/nagios-plugin-check_raid.spec
+++ b/nagios-plugin-check_raid.spec
@@ -3,13 +3,13 @@
 %define		plugin	check_raid
 Summary:	Nagios plugin to check current server's RAID status
 Name:		nagios-plugin-%{plugin}
-Version:	3.0
+Version:	3.0.6
 Release:	0.1
 License:	GPL v2
 Group:		Networking
 #Source0:	https://github.com/glensc/nagios-plugin-check_raid/tarball/%{version}/%{plugin}-%{version}.tgz
 Source0:	https://github.com/glensc/nagios-plugin-check_raid/tarball/master/%{plugin}-%{version}.tgz
-# Source0-md5:	df0a73c32c4bec3a7faa1fc35cb26a06
+# Source0-md5:	b54ad9b1a676063ab3161fed9c879cba
 URL:		https://github.com/glensc/nagios-plugin-check_raid
 Requires:	nagios-common
 Requires:	perl-base >= 1:5.8.0
@@ -86,6 +86,14 @@ if [ "$1" = 0 ]; then
 	%{__sed} -i -e '/CHECK_RAID/d' /etc/sudoers
 fi
 
+%triggerin -- nagios-nrpe
+set -x
+%nagios_nrpe -a %{plugin} -f %{_sysconfdir}/%{plugin}.cfg
+
+%triggerun -- nagios-nrpe
+set -x
+%nagios_nrpe -d %{plugin} -f %{_sysconfdir}/%{plugin}.cfg
+
 %files
 %defattr(644,root,root,755)
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{plugin}.cfg
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/nagios-plugin-check_raid.git/commitdiff/c49666e5a761d98cc7e5f5b0c1ae3d8c3c60c608



More information about the pld-cvs-commit mailing list