problem/solutions report for hobbit client on HP-UX 10.20
T.J. Yang
tj_yang at hotmail.com
Sat Oct 21 13:20:38 CEST 2006
Looks like hp-ux 10.20 is not tested yet. I am trying to prepare hobbit
client for 10.20 and run into following issues
1. "-lnsl", should be taken out in makefile when compiling for 10.20
because 10.20 has no nsl library.(not my credit, others helped me).
2. lanscan -p doesn't work on 10.20
echo "[ifstat]"
/usr/sbin/lanscan -p | while read PPA; do /usr/sbin/lanadmin -g mibstats
$PPA; done
no solution yet.
3. swapinfo default mode is 544(at least in my 10.20 boxes).
echo "[swapinfo]"
/usr/sbin/swapinfo -tm
bash-2.05a$ ls -l /usr/sbin/swapinfo
-r-xr--r-- 1 bin bin 16384 Jun 10 1996 /usr/sbin/swapinfo
bash-2.05a$
I am planning to change mode from 544 to 555 to resolve the issue.
3. hobbitclient-hp-ux.sh, like vmstat, top should (IMHO) store tmp files in
$BBTMP not $BBHOME/tmp.
<snip>
then
if test -x "$TOP"
then
echo "[top]"
# Cits Bogajewski 03-08-2005: redirect of top fails
$TOP -d 1 -f $BBTMP/top.OUT
cat $BBTMP/top.OUT
rm $BBTMP/top.OUT
fi
fi
# vmstat
nohup sh -c "vmstat 300 2 1>$BBTMP/hobbit_vmstat.$MACHINEDOTS.$$ 2>&1; mv
$BBTMP
/hobbit_vmstat.$MACHINEDOTS.$$ $BBTMP/hobbit_vmstat.$MACHINEDOTS" </dev/null
>/d
ev/null 2>&1 &
<snip>
T.J. Yang
_________________________________________________________________
Stay in touch with old friends and meet new ones with Windows Live Spaces
http://clk.atdmt.com/MSN/go/msnnkwsp0070000001msn/direct/01/?href=http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us
More information about the Xymon
mailing list