mirror of
https://github.com/opinkerfi/nagios-plugins.git
synced 2026-02-13 02:20:57 +01:00
Compare commits
2 Commits
nagios-okp
...
nagios-okp
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a5dbf632f2 | ||
|
|
5af347c3df |
@@ -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:
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
@@ -1 +1 @@
|
||||
0.0.5-1 check_package_updates/
|
||||
0.0.6-1 check_package_updates/
|
||||
|
||||
Reference in New Issue
Block a user