1
0
mirror of https://github.com/opinkerfi/nagios-plugins.git synced 2026-02-13 02:20:57 +01:00

Compare commits

..

2 Commits

Author SHA1 Message Date
Tomas Edwardsson
a5dbf632f2 Automatic commit of package [nagios-okplugin-check_package_updates] release [0.0.6-1]. 2013-07-16 22:09:50 +00:00
Tomas Edwardsson
5af347c3df Fix failure on a fully patched system 2013-07-16 22:09:23 +00:00
3 changed files with 7 additions and 2 deletions

View File

@@ -75,6 +75,8 @@ def pkcon_get_updates():
for line in stdout.split("\n"):
if not line:
continue
if line.startswith("There are no updates"):
continue
if results_section is False and line == "Results:":
results_section = True
elif results_section:

View File

@@ -3,7 +3,7 @@
Summary: A Nagios plugin to check operating system updates
Name: nagios-okplugin-%{plugin}
Version: 0.0.5
Version: 0.0.6
Release: 1%{?dist}
License: GPLv3+
Group: Applications/System
@@ -43,6 +43,9 @@ rm -rf %{buildroot}
%config(noreplace) %{_sysconfdir}/nrpe.d/%{plugin}.cfg
%changelog
* Tue Jul 16 2013 Tomas Edwardsson <tommi@tommi.org> 0.0.6-1
- Fix failure on a fully patched system (tommi@tommi.org)
* Tue Jul 16 2013 Tomas Edwardsson <tommi@tommi.org> 0.0.5-1
- Known types always have a metric, even if 0 (tommi@tommi.org)

View File

@@ -1 +1 @@
0.0.5-1 check_package_updates/
0.0.6-1 check_package_updates/