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

SourceForge.net noreply at sourceforge.net
Thu Aug 23 03:02:43 CEST 2012


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




More information about the Devel mailing list