[Nagiosplug-devel] patch for check_disk.c
Torsten.Werner at assyst-intl.com
Torsten.Werner at assyst-intl.com
Sun Apr 11 05:48:32 CEST 2004
Hi,
check_disk has a small problem on HP-UX. HP-UX produces 2 lines at 'df
-Pk':
root at xxxxxx> /usr/bin/df -Pk
Filesystem 1024-blocks Used Available Capacity Mounted on
.....
/dev/vguser/home 1268596 890624 377972 71% /home
/dev/vgroot/JavaWebServer
195393 16688 178705 9%
/opt/JavaWebServer1.1.3
/dev/vgde/optassyst
347487 228572 118915 66% /opt/assyst
/dev/vgroot/opt 1783990 1580886 203104 89% /opt
......
check_disk is not able to handle this.
Apply the patch to check_disk.c 1.7.2.4 (nagios-plugins 1.3.1):
$: patch check_disk.c < check_disk.c.patch
It's working on HP-UX 10, 11.0 and 11i.
Bye
Torsten
(See attached file: check_disk.c.patch)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: check_disk.c.patch
Type: application/octet-stream
Size: 687 bytes
Desc: not available
URL: <http://nagios-plugins.org/archive/devel/attachments/20040411/2b172af4/attachment.obj>
More information about the Devel
mailing list