Hi all:<br>I have noticed that xymonclient-sunos.sh code on version 4.3.3 change to get rid of mac and wsrmd nics. A nice change; but also the use of kstat on solaris cotainers (zones) can misguide people who read the trend graphics since kstat prints out all the nics of the equipment nor zone's configured nics. <br>

<br>So I humbly  posting what I think can "fix" (talking about voiding misguiding) since I have solaris containers with one, two or three nics (yes subinterfaces associated to physically different nics)..also I think can be use on 4.2.3 clients.<br>

<br>56,58d55<br>< ONZONE=`zonename`<br>< if test "$ONZONE" == "global" <br>< then<br>61,64d57<br>< else<br>< MYNICS=`netstat -i |cut -f1 -d" " | egrep -i -v "Name|lo|^$"  |paste -s -d"|" - `<br>

< /usr/bin/kstat -p -s '[or]bytes64' | egrep "$MYNICS"| sort<br>< fi<br><br>Any comment; welcome!<br><br>--Randall Badilla.<br>