Bug 1112707

Summary: nagios-plugins-check-updates: RHEL7 problem, unknown Linux distribution
Product: [Fedora] Fedora EPEL Reporter: Oliver Falk <oliver>
Component: nagios-plugins-check-updatesAssignee: Jose Pedro Oliveira <jose.p.oliveira.oss>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: epel7CC: jose.p.oliveira.oss, oliver, tommi
Target Milestone: ---Keywords: EasyFix
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 706924 Environment:
Last Closed: 2014-07-01 19:13:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Oliver Falk 2014-06-24 14:08:48 UTC
+++ This bug was initially created as a clone of Bug #706924 +++

Description of problem:
When I run the check_updates script the following is output:

# /usr/lib64/nagios/plugins/check_updates
CHECK_UPDATES UNKNOWN - unknown Linux distribution



Version-Release number of selected component (if applicable):
nagios-plugins-check-updates-1.4.11-1.el6.x86_64

How reproducible:
Install and run on RHEL7

I'm attaching a patch that fixes this.

Comment 1 Jose Pedro Oliveira 2014-06-24 19:28:43 UTC
Hi Oliver,

The problem should be almost solved:
 * I've already sent a patch to the author of the check-updates plugin
 * He has already committed it and released check-updates 1.6.7
 * I've already build it for rawhide
 * I've already ask for the EPEL7 branch (I believe it has already been created but I still haven't checked; the mails arrived this afternoon).

But my problem is that I still don't have a RHEL7 system. Could you test the new version? The RPMs are here http://koji.fedoraproject.org/koji/buildinfo?buildID=539627  (they only contain non-binary files).

Regards,
jpo

Comment 2 Oliver Falk 2014-06-25 06:28:01 UTC
Hi!

WorksForMe:

# /usr/lib64/nagios/plugins/check_updates -t 30
CHECK_UPDATES CRITICAL - 4 updates available | total_updates=4;0;0
NetworkManager.x86_64
NetworkManager-config-server.x86_64
NetworkManager-glib.x86_64
NetworkManager-tui.x86_64

Thx,
 Oliver

Comment 3 Jose Pedro Oliveira 2014-06-30 19:38:32 UTC
Missing EPEL7 dependency - perl-Nagios-Plugin-0.36-7.el7 - has been built.

 * perl-Nagios-Plugin-0.36-7.el7
   http://koji.fedoraproject.org/koji/buildinfo?buildID=540987

Comment 4 Jose Pedro Oliveira 2014-06-30 20:03:23 UTC
EPEL 7 build:

 * nagios-plugins-check-updates-1.6.7-1.el7
   https://koji.fedoraproject.org/koji/buildinfo?buildID=539899

Comment 5 Jose Pedro Oliveira 2014-07-01 19:13:27 UTC
RPMs are already available in the EPEL repos.

Repo:
https://dl.fedoraproject.org/pub/epel/beta/7

Example:
https://dl.fedoraproject.org/pub/epel/beta/7/x86_64/nagios-plugins-check-updates-1.6.7-1.el7.x86_64.rpm