Bug 1859993 - check_disk -H flag doesn't work with -e flag
Summary: check_disk -H flag doesn't work with -e flag
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: nagios-plugins
Version: epel7
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Guido Aulisi
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-07-23 13:34 UTC by Scott
Modified: 2024-07-09 03:16 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-07-09 03:16:28 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Scott 2020-07-23 13:34:43 UTC
Description of problem:

-H flag doesn't work with -e flag


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

nagios-plugins-disk-2.3.3-2

How reproducible:

Easy

Steps to Reproduce:
1. run "# /usr/lib64/nagios/plugins/check_disk -N ext4 -Hew <relevant value>%"
2.
3.

Actual results:

# /usr/lib64/nagios/plugins/check_disk -N ext4 -Hew 90%
[root@ftwlxngsp001 windows]# /usr/lib64/nagios/plugins/check_disk -N ext4 -Hew 90%
Warning: less than 90.0% is free on one or more file systems

Status     Free   Avail   Total   Type   Mount Point
---------------------------------------------------------------
WARNING   69.9%    312B    476B   ext4   /boot
WARNING   59.5%   3.3kB   5.8kB   ext4   /usr
WARNING   47.2%   4.4kB   9.8kB   ext4   /var
OK        94.2%    856B    975B   ext4   /usr/local
OK        97.7%   2.7kB   2.9kB   ext4   /tmp
OK        99.5%   5.5kB   5.8kB   ext4   /home
OK        98.8%   8.1kB   8.6kB   ext4   /
OK        93.1%   8.6kB   9.8kB   ext4   /opt

Expected results:

Warning: less than 90.0% is free on one or more file systems

Status     Free   Avail   Total   Type   Mount Point
---------------------------------------------------------------
WARNING   69.9%    312B    476B   ext4   /boot
WARNING   59.5%   3.3kB   5.8kB   ext4   /usr
WARNING   47.2%   4.4kB   9.8kB   ext4   /var




Additional info:

Comment 1 Fedora Admin user for bugzilla script actions 2021-02-20 00:05:47 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.

Comment 2 Troy Dawson 2024-07-09 03:16:28 UTC
EPEL 7 entered end-of-life (EOL) status on 2024-06-30.\n\nEPEL 7 is no longer maintained, which means that it\nwill not receive any further security or bug fix updates.\n As a result we are closing this bug.


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