[-]
[+]
|
Changed |
check_updates.changes
|
|
[-]
[+]
|
Changed |
check_updates.spec
^
|
|
[-]
[+]
|
Changed |
check_updates-1.6.3.tar.bz2/AUTHORS
^
|
@@ -7,9 +7,10 @@
* Tomas Edwardsson for a patch fixing the detection of RH EL 6 systems
* Cott Lang for the Amazon Linux patch
* Joop Boonen for the yum arguments patch
+ * Franky Van Liedekerke for the perfomance data and security plugin patch
# File version information:
-# $Id: AUTHORS 1329 2013-03-29 09:19:16Z corti $
-# $Revision: 1329 $
+# $Id: AUTHORS 1332 2013-05-11 12:36:35Z corti $
+# $Revision: 1332 $
# $HeadURL: https://svn.id.ethz.ch/nagios_plugins/check_updates/AUTHORS $
-# $Date: 2013-03-29 10:19:16 +0100 (Fri, 29 Mar 2013) $
+# $Date: 2013-05-11 14:36:35 +0200 (Sat, 11 May 2013) $
|
[-]
[+]
|
Changed |
check_updates-1.6.3.tar.bz2/Changes
^
|
@@ -1,3 +1,9 @@
+2013-05-11 Matteo Corti <matteo.corti@id.ethz.ch>
+
+ * Version 1.6.3
+ * check_updates: do not print the performance data of the security
+ updates if the Yum security plugin is not installed
+
2013-03-29 Matteo Corti <matteo.corti@id.ethz.ch>
* Version 1.6.2
@@ -212,7 +218,7 @@
* check_updates: recognizes CentOS
# File version information:
-# $Id: Changes 1331 2013-03-29 13:31:14Z corti $
-# $Revision: 1331 $
+# $Id: Changes 1332 2013-05-11 12:36:35Z corti $
+# $Revision: 1332 $
# $HeadURL: https://svn.id.ethz.ch/nagios_plugins/check_updates/Changes $
-# $Date: 2013-03-29 14:31:14 +0100 (Fri, 29 Mar 2013) $
+# $Date: 2013-05-11 14:36:35 +0200 (Sat, 11 May 2013) $
|
[-]
[+]
|
Changed |
check_updates-1.6.3.tar.bz2/NEWS
^
|
@@ -1,3 +1,5 @@
+2013-05-11: 1.6.3 - Do not print performance data on security updates if Yum
+ security plugin is not installed
2013-03-29: 1.6.2 - Applied a patch adding the possibility to pass arguments
to Yum
2012-09-03: 1.6.1 - recognizes PUIAS Lunux
@@ -48,7 +50,7 @@
First stable release
2008-02-21: 0.9.9 - checks if the running kernel is the latest installed
-# $Id: NEWS 1331 2013-03-29 13:31:14Z corti $
-# $Revision: 1331 $
+# $Id: NEWS 1332 2013-05-11 12:36:35Z corti $
+# $Revision: 1332 $
# $HeadURL: https://svn.id.ethz.ch/nagios_plugins/check_updates/NEWS $
-# $Date: 2013-03-29 14:31:14 +0100 (Fri, 29 Mar 2013) $
+# $Date: 2013-05-11 14:36:35 +0200 (Sat, 11 May 2013) $
|
[-]
[+]
|
Changed |
check_updates-1.6.3.tar.bz2/check_updates
^
|
@@ -18,17 +18,17 @@
# enable substitution with:
# $ svn propset svn:keywords "Id Revision HeadURL Source Date"
#
-# $Id: check_updates 1331 2013-03-29 13:31:14Z corti $
-# $Revision: 1331 $
+# $Id: check_updates 1333 2013-05-11 12:46:22Z corti $
+# $Revision: 1333 $
# $HeadURL: https://svn.id.ethz.ch/nagios_plugins/check_updates/check_updates $
-# $Date: 2013-03-29 14:31:14 +0100 (Fri, 29 Mar 2013) $
+# $Date: 2013-05-11 14:46:22 +0200 (Sat, 11 May 2013) $
use 5.00800;
use strict;
use warnings;
-our $VERSION = '1.6.2';
+our $VERSION = '1.6.3';
use Carp;
use English qw(-no_match_vars);
@@ -511,12 +511,14 @@
$message = 'no updates available';
}
- $plugin->add_perfdata(
- label => 'security_updates',
- value => scalar @security_updates,
- uom => q{},
- threshold => $threshold,
- );
+ if ($security_plugin) {
+ $plugin->add_perfdata(
+ label => 'security_updates',
+ value => scalar @security_updates,
+ uom => q{},
+ threshold => $threshold,
+ );
+ }
if ($exit_message) {
$exit_message .= q{, } . $message;
|
[-]
[+]
|
Changed |
check_updates-1.6.3.tar.bz2/check_updates.pod
^
|
@@ -1,9 +1,9 @@
################################################################################
# File version information:
-# $Id: check_updates.pod 1331 2013-03-29 13:31:14Z corti $
-# $Revision: 1331 $
+# $Id: check_updates.pod 1332 2013-05-11 12:36:35Z corti $
+# $Revision: 1332 $
# $HeadURL: https://svn.id.ethz.ch/nagios_plugins/check_updates/check_updates.pod $
-# $Date: 2013-03-29 14:31:14 +0100 (Fri, 29 Mar 2013) $
+# $Date: 2013-05-11 14:36:35 +0200 (Sat, 11 May 2013) $
################################################################################
=pod
@@ -20,7 +20,7 @@
=head1 VERSION
-Version 1.6.2
+Version 1.6.3
=head1 SYNOPSIS
|
[-]
[+]
|
Changed |
check_updates-1.6.3.tar.bz2/check_updates.spec
^
|
@@ -1,12 +1,12 @@
################################################################################
# File version information:
-# $Id: check_updates.spec 1331 2013-03-29 13:31:14Z corti $
-# $Revision: 1331 $
+# $Id: check_updates.spec 1332 2013-05-11 12:36:35Z corti $
+# $Revision: 1332 $
# $HeadURL: https://svn.id.ethz.ch/nagios_plugins/check_updates/check_updates.spec $
-# $Date: 2013-03-29 14:31:14 +0100 (Fri, 29 Mar 2013) $
+# $Date: 2013-05-11 14:36:35 +0200 (Sat, 11 May 2013) $
################################################################################
-%define version 1.6.2
+%define version 1.6.3
%define release 0
%define sourcename check_updates
%define packagename nagios-plugins-check-updates
@@ -73,6 +73,9 @@
%{_mandir}/man1/%{sourcename}.1*
%changelog
+* Sat May 11 2013 Matteo Corti <matteo.corti@id.ethz.ch> - 1.6.3-0
+- Updated to 1.6.3 (no security perf data if Yum security plugin is not installed)
+
* Fri Mar 29 2013 Matteo Corti <matteo.corti@id.ethz.ch> - 1.6.2-0
- Updated to 1.6.2 (Yum arguments patch)
|