[Nagiosplug-devel] [ nagiosplug-Feature Requests-3306173 ] check_disk should display usage on multiple lines

SourceForge.net noreply at sourceforge.net
Thu May 26 14:39:01 CEST 2011


Feature Requests item #3306173, was opened at 2011-05-23 04:10
Message generated for change (Comment added) made by dermoth
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397600&aid=3306173&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: Interface Improvements (example)
Group: Next Release (example)
Status: Open
Priority: 5
Private: No
Submitted By: Alex D (ealex292)
Assigned to: Nobody/Anonymous (nobody)
Summary: check_disk should display usage on multiple lines

Initial Comment:
Finding the disk I care about in the output of check_disk is annoying. It'd be nice if each disk were displayed on its own line.

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

>Comment By: Thomas Guyot-Sionnest (dermoth)
Date: 2011-05-26 08:39

Message:
That would break compatibility with Nagios v2 and any tool that cannot
handle more than one line.

v3 output should be enabled using a switch, and we'll have to figure out
something that can be standardized across the entire plugin collection.

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

Comment By: Alex D (ealex292)
Date: 2011-05-23 04:13

Message:
Version number and sample output:
root at olinda:/usr/lib/nagios/plugins#
/usr/lib/nagios/plugins/check_disk.orig -V
check_disk v1.4.14 (nagios-plugins 1.4.14)
root at olinda:/usr/lib/nagios/plugins# /usr/lib/nagios/plugins/check_disk
-V
check_disk v1.4.15.24.g2a7c8.dirty (nagios-plugins 1.4.15)
root at olinda:/usr/lib/nagios/plugins#
/usr/lib/nagios/plugins/check_disk.orig -w 10% -c 20%
DISK OK - free space: / 15347 MB (64% inode=95%); /dev 244 MB (99%
inode=98%); /dev/shm 246 MB (100% inode=99%); /var/run 246 MB (99%
inode=99%); /var/lock 246 MB (99% inode=99%); /lib/init/rw 246 MB (100%
inode=99%); /mnt/d4 28201 MB (58% inode=79%);| /=8572MB;22680;20160;0;25200
/dev=0MB;219;195;0;244 /dev/shm=0MB;221;196;0;246
/var/run=0MB;221;196;0;246 /var/lock=0MB;221;196;0;246
/lib/init/rw=0MB;221;196;0;246 /mnt/d4=19634MB;45356;40316;0;50396
root at olinda:/usr/lib/nagios/plugins# /usr/lib/nagios/plugins/check_disk -w
10% -c 20%
DISK OK - free space: / 15347 MB (64% inode=95%): /dev 244 MB (99%
inode=98%): /dev/shm 246 MB (100% inode=99%): /var/run 246 MB (99%
inode=99%): /var/lock 246 MB (99% inode=99%): /lib/init/rw 246 MB (100%
inode=99%): /mnt/d4 28201 MB (58% inode=79%):| /=8572MB;22680;20160;0;25200
/dev=0MB;219;195;0;244 /dev/shm=0MB;221;196;0;246
/var/run=0MB;221;196;0;246 /var/lock=0MB;221;196;0;246
/lib/init/rw=0MB;221;196;0;246 /mnt/d4=19634MB;45356;40316;0;50396
/ 15347 MB (64% inode=95%)
/dev 244 MB (99% inode=98%)
/dev/shm 246 MB (100% inode=99%)
/var/run 246 MB (99% inode=99%)
/var/lock 246 MB (99% inode=99%)
/lib/init/rw 246 MB (100% inode=99%)
/mnt/d4 28201 MB (58% inode=79%)

(check_disk.orig is what is in Ubuntu 10.04 (Lucid); check_disk is my
patched version.)

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

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




More information about the Devel mailing list