Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1348427 - check-mailq: syntax error
Summary: check-mailq: syntax error
Keywords:
Status: CLOSED DUPLICATE of bug 1335245
Alias: None
Product: Fedora
Classification: Fedora
Component: nagios-plugins
Version: 24
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Nick Bebout
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-06-21 07:11 UTC by Jan ONDREJ
Modified: 2016-07-07 15:28 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-07 15:28:42 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jan ONDREJ 2016-06-21 07:11:59 UTC
Description of problem:
There is an syntax error in Fedora 24 check_mailq nagios plugin.

Version-Release number of selected component (if applicable):
nagios-plugins-mailq-2.1.1-1.fc24.x86_64

How reproducible:
always

Steps to Reproduce:
1. /usr/lib64/nagios/plugins/check_mailq

Actual results:
syntax error at /usr/lib64/nagios/plugins/check_mailq line 40, near ")

sub print_help ()"
Execution of /usr/lib64/nagios/plugins/check_mailq aborted due to compilation errors.

Expected results:
Usage: check_mailq -w <warn> -c <crit> [-W <warn>] [-C <crit>] [-M <MTA>] [-t <timeout>] [-s] [-v]

Additional info:
A working version is available upstream, or you just need to add an ";" to my ($sudo) row:

-my ($sudo)
+my ($sudo);

Comment 1 Jan ONDREJ 2016-07-07 15:28:42 UTC
PING. Fix is easy. Why this is not fixed?

*** This bug has been marked as a duplicate of bug 1335245 ***


Note You need to log in before you can comment on or make changes to this bug.