packages: nagios-plugin-check_bacula_log/check_bacula_log.pl, nagios-plugin...

glen glen at pld-linux.org
Tue Jan 11 13:20:35 CET 2011


Author: glen                         Date: Tue Jan 11 12:20:35 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- changed min backups to 1 to avoid 0 backups being ok state:
  OK - Backups: 0 backups completed successfully

---- Files affected:
packages/nagios-plugin-check_bacula_log:
   check_bacula_log.pl (1.7 -> 1.8) , nagios-plugin-check_bacula_log.spec (1.13 -> 1.14) 

---- Diffs:

================================================================
Index: packages/nagios-plugin-check_bacula_log/check_bacula_log.pl
diff -u packages/nagios-plugin-check_bacula_log/check_bacula_log.pl:1.7 packages/nagios-plugin-check_bacula_log/check_bacula_log.pl:1.8
--- packages/nagios-plugin-check_bacula_log/check_bacula_log.pl:1.7	Mon Oct 25 11:49:12 2010
+++ packages/nagios-plugin-check_bacula_log/check_bacula_log.pl	Tue Jan 11 13:20:30 2011
@@ -46,7 +46,7 @@
 my $totalbackups = 0;
 my $okbackups = 0;
 my $failedbackups = 0;
-my $minbackups = 0;
+my $minbackups = 1;
 
 # Option checking
 my %opt;

================================================================
Index: packages/nagios-plugin-check_bacula_log/nagios-plugin-check_bacula_log.spec
diff -u packages/nagios-plugin-check_bacula_log/nagios-plugin-check_bacula_log.spec:1.13 packages/nagios-plugin-check_bacula_log/nagios-plugin-check_bacula_log.spec:1.14
--- packages/nagios-plugin-check_bacula_log/nagios-plugin-check_bacula_log.spec:1.13	Mon Oct 25 17:52:00 2010
+++ packages/nagios-plugin-check_bacula_log/nagios-plugin-check_bacula_log.spec	Tue Jan 11 13:20:30 2011
@@ -3,7 +3,7 @@
 %include	/usr/lib/rpm/macros.perl
 Summary:	Nagios plugin to check bacula status via bacula log
 Name:		nagios-plugin-%{plugin}
-Version:	1.7
+Version:	1.8
 Release:	1
 License:	GPL v2
 Group:		Networking
@@ -20,7 +20,7 @@
 %define		_sysconfdir	/etc/nagios/plugins
 %define		plugindir	%{_prefix}/lib/nagios/plugins
 
-%define		_noautoreq	'perl(utils)'
+%define		_noautoreq	perl(utils)
 
 %description
 Nagios plugin that checks whether the backups made for today with the
@@ -56,6 +56,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.14  2011/01/11 12:20:30  glen
+- changed min backups to 1 to avoid 0 backups being ok state:
+  OK - Backups: 0 backups completed successfully
+
 Revision 1.13  2010/10/25 15:52:00  glen
 - claimed and renamed plugin
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/nagios-plugin-check_bacula_log/check_bacula_log.pl?r1=1.7&r2=1.8&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/nagios-plugin-check_bacula_log/nagios-plugin-check_bacula_log.spec?r1=1.13&r2=1.14&f=u



More information about the pld-cvs-commit mailing list