[ nagiosplug-Bugs-3560843 ] check_disk: -M meanting swapped? and -M documentation

SourceForge.net <[email protected]>
Newsgroups gmane.network.nagios.plugins.devel
Message-ID <[email protected]>
Bugs item #3560843, was opened at 2012-08-22 18:02
Message generated for change (Tracker Item Submitted) made by calestyo
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=3560843&group_id=29880

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Cálestyo (calestyo)
Assigned to: Nobody/Anonymous (nobody)
Summary: check_disk: -M meanting swapped? and -M documentation

Initial Comment:
Hi.

With check_disk v1.4.15 (nagios-plugins 1.4.15):

# /usr/lib/nagios/plugins/check_disk -l -u bytes -x /dev -x /lib/init/rw -x /dev/shm
DISK OK - free space: / 5560602624 B (61% inode=81%);| /=3483860992B;;;0;9528483840

# /usr/lib/nagios/plugins/check_disk -l -u bytes -x /dev -x /lib/init/rw -x /dev/shm -M
DISK OK - free space: /dev/mapper/vg_system-root 5560578048 B (61% inode=81%);| /dev/mapper/vg_system-root=3483885568B;;;0;9528483840

When I add -M the device and not the mountpoint is given; so the behaviour seems to be just swapped as documented.


Also, the documentation speaks about mountpoints vs. partitions.
Please use "devices" instead of partitions, as the devices need not to be partitions.


Cheers,
Chris.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=3560843&group_id=29880

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________________
Nagios Plugin Development Mailing List [email protected]
Unsubscribe at https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel
::: Please include plugins version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.