[Nagiosplug-devel] long names in devices whith check_disk

Karl DeBisschop karl at debisschop.net
Fri Apr 25 04:27:04 CEST 2003


On Fri, 2003-04-25 at 06:11, Mohamed Badri wrote:
> hello,
> 
> I'm running nagios plugins on HpUx 11.11 but check_disk returns an error 
> when used with devices names greater than something like 20 caracters.
> in this case check returns :
> 
> ====
> Unable to read output:
> /usr/bin/df -Pk /dev/vg00/lvdatanoheto
> /dev/vg00/lvdatanoheto
> ====
> 
> the problem is with df output command, result is on 3 lines instead of 2
> for exemple :
> 
> ====
> [hpux:/tmp]df -Pk /dev/vg00/lvdatanoheto
> Filesystem          1024-blocks  Used  Available Capacity Mounted on
> /dev/vg00/lvdatanoheto
>                       14945920  2108416 12837504    15%   /datanoheto
> ====
> 
> I make some modification on the code, to make it work on long path names,
> So I just wanted to know if this problem was resolved in a new version or not,
> or if it is a known problem.

Radical fix is in place in CVS. But it will not be backpatched to 1.3.x
as it nearly a complete rewrite.

We currently don't plan to fix this in 1.3.x, unless a small, simple
patch is provided, something suitable for a maintennence release.

--
Karl





More information about the Devel mailing list