hobbitclient-sunos.sh FSTYPES determination problem
Gräub Roland
roland.graeub at rtc.ch
Fri Jan 4 14:28:45 CET 2008
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20080104/748274ac/attachment.html>
More information about the Xymon
mailing list