Bug 465882

Summary: Nagios plugin check_linux_raid.pl syntax error (with patch)
Product: [Fedora] Fedora Reporter: Mike Harris <mwharris>
Component: nagios-pluginsAssignee: Mike McGrath <mmcgrath>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 9CC: jose.p.oliveira.oss, linux, mmcgrath, sebastian.gosenheimer
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-10-20 22:14:55 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:
Attachments:
Description Flags
patch, apply against check_linux_raid none

Description Mike Harris 2008-10-06 22:40:24 UTC
Created attachment 319600 [details]
patch, apply against check_linux_raid

Description of problem:
Nagios plugin check_linux_raid.pl syntax error

Version-Release number of selected component (if applicable):
1.4.13-4

How reproducible:
Quite.

Steps to Reproduce:
1. execute /usr/lib/nagios/plugins/check_linux_raid
  
Actual results:
"use" not allowed in expression at ./check_linux_raid.orig line 27, at end of line
syntax error at ./check_linux_raid.orig line 27, near "use utils "
Execution of ./check_linux_raid.orig aborted due to compilation errors.

Expected results:
OK md0 status=[UU]. md1 status=[UU].
or something similar

Additional info:
Patch included, apply against check_linux_raid

Comment 1 Fedora Update System 2008-10-08 14:45:01 UTC
nagios-plugins-1.4.13-5.fc9 has been submitted as an update for Fedora 9.
http://admin.fedoraproject.org/updates/nagios-plugins-1.4.13-5.fc9

Comment 2 Fedora Update System 2008-10-09 21:35:45 UTC
nagios-plugins-1.4.13-5.fc9 has been pushed to the Fedora 9 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 3 Mike Harris 2008-10-16 22:01:10 UTC
I just tested this package, and it seems to still be wrong. The ; is still missing.

Comment 4 Mike McGrath 2008-10-16 22:19:35 UTC
Which version of the package for which OS did you test?

Comment 5 Mike Harris 2008-10-16 22:34:03 UTC
I used package nagios-plugins-linux_raid-1.4.13-5.fc9.i386, on Fedora 9 i386.

Comment 6 Fedora Update System 2008-10-16 23:28:39 UTC
nagios-plugins-1.4.13-9.fc9 has been submitted as an update for Fedora 9.
http://admin.fedoraproject.org/updates/nagios-plugins-1.4.13-9.fc9

Comment 7 Fedora Update System 2008-10-20 22:14:53 UTC
nagios-plugins-1.4.13-9.fc9 has been pushed to the Fedora 9 stable repository.  If problems still persist, please make note of it in this bug report.