[Nagiosplug-devel] long names in devices whith check_disk

Mohamed Badri mohamed at netbadri.com
Fri Apr 25 03:12:06 CEST 2003


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.

thanx.








More information about the Devel mailing list