Xymon Mailing List Archive search

hobbitclient-sunos.sh FSTYPES determination problem

list Gräub Roland
Fri, 4 Jan 2008 14:28:45 +0100
Message-Id: <user-facd8f536bdd@xymon.invalid>

Hello
 
In the file hobbitclient-sunos.sh the FSTYPES entry can lost filesystems with long mountpoints.
 
Happen here with vxfs filesystem;
 
$/bin/df -n -l
/                  : ufs
/devices           : devfs
/system/contract   : ctfs
/proc              : proc
/dev/vx/rdmp       : tmpfs
/unshared/AA04/oracle: vxfs
/unshared/AA04/oracle/data1: vxfs
/unshared/AA04/oracle/data2: vxfs
/unshared/AA04/oracle/data3: vxfs

with the awk '{print $3}' command in FSTYPES the vxfs ist missed because there is no space.
 
Solution for us; adding seperator to awk -F":" '{print $2}'
 
Regards
Roland