<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7653.38">
<TITLE>zonestat.sh</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT SIZE=2 FACE="Arial">Hi Folks,</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">I'm running Xymon 4.3.3 on Solaris 10 and have now rolled it out on all the servers/LDOMs/zones that I have and all the basics are working well.</FONT></P>

<P><FONT SIZE=2 FACE="Arial">For the past hour or so I have been trying to get zonestat working;</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">On the Client I have put the zonestat.sh script in /opt/xymon/client/ext and have modified the clientlaunch.cfg with</FONT>
</P>

<P><FONT SIZE=2 FACE="Courier"># Zone Monitoring Script.</FONT>
</P>

<P><FONT SIZE=2 FACE="Courier">[zonestat]</FONT>

<BR><FONT SIZE=2 FACE="Courier">        ENVFILE $XYMONCLIENTHOME/etc/xymonclient.cfg</FONT>

<BR><FONT SIZE=2 FACE="Courier">        CMD $XYMONCLIENTHOME/ext/zonestat.sh</FONT>

<BR><FONT SIZE=2 FACE="Courier">        LOGFILE $XYMONCLIENTLOGS/xymonclient.log</FONT>

<BR><FONT SIZE=2 FACE="Courier">        INTERVAL 5m</FONT>
</P>
<BR>

<P><FONT SIZE=2 FACE="Arial">On the server side I have modified the /opt/xymon/server/etc/tasks.cfg with</FONT>
</P>

<P><FONT SIZE=2 FACE="Courier">[zonestat]</FONT>

<BR><FONT SIZE=2 FACE="Courier">        ENVFILE /opt/xymon/client/etc/xymonclient.cfg</FONT>

<BR><FONT SIZE=2 FACE="Courier">        NEEDS xymond</FONT>

<BR><FONT SIZE=2 FACE="Courier">        CMD /opt/xymon/client/ext/zonestat.sh</FONT>

<BR><FONT SIZE=2 FACE="Courier">        LOGFILE $XYMONSERVERLOGS/xymonclient.log</FONT>

<BR><FONT SIZE=2 FACE="Courier">        INTERVAL 5m</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">In the /opt/xymon/client/tmp I see the file being created with the prstat information in it.</FONT>
</P>
<BR>

<P><FONT SIZE=2 FACE="Courier">/opt/xymon/client/etc</FONT>

<BR><FONT SIZE=2 FACE="Courier">-bash-3.00$ cd ../tmp</FONT>

<BR><FONT SIZE=2 FACE="Courier">-bash-3.00$ ls -l</FONT>

<BR><FONT SIZE=2 FACE="Courier">total 576</FONT>

<BR><FONT SIZE=2 FACE="Courier">-rw-r--r--   1 xymon    xymon       1082 Dec 13 12:02 hobbit_zonestat.su01sa000.26814</FONT>

<BR><FONT SIZE=2 FACE="Courier">-rw-r--r--   1 xymon    xymon         71 Dec 13 12:02 logfetch.su01sa000.cfg</FONT>

<BR><FONT SIZE=2 FACE="Courier">-rw-r--r--   1 xymon    xymon         60 Dec 13 12:02 logfetch.su01sa000.status</FONT>

<BR><FONT SIZE=2 FACE="Courier">-rw-r--r--   1 xymon    xymon         29 Nov 28 20:37 logfetch.su12sl001.cfg</FONT>

<BR><FONT SIZE=2 FACE="Courier">-rw-r--r--   1 xymon    xymon         53 Nov 28 20:37 logfetch.su12sl001.status</FONT>

<BR><FONT SIZE=2 FACE="Courier">-rw-r--r--   1 xymon    xymon     172781 Dec 13 12:02 msg.su01sa000.txt</FONT>

<BR><FONT SIZE=2 FACE="Courier">-rw-r--r--   1 xymon    xymon         35 Dec 13 12:02 xymon_iostatcpu.su01sa000.26819</FONT>

<BR><FONT SIZE=2 FACE="Courier">-rw-r--r--   1 xymon    xymon         36 Nov 28 20:37 xymon_iostatcpu.su12sl001.21068</FONT>

<BR><FONT SIZE=2 FACE="Courier">-rw-r--r--   1 xymon    xymon         36 Nov 28 20:37 xymon_iostatcpu.su12sl001.21124</FONT>

<BR><FONT SIZE=2 FACE="Courier">-rw-r--r--   1 xymon    xymon      14979 Dec 13 12:02 xymon_iostatdisk.su01sa000.26819</FONT>

<BR><FONT SIZE=2 FACE="Courier">-rw-r--r--   1 xymon    xymon        187 Nov 28 20:37 xymon_iostatdisk.su12sl001.21068</FONT>

<BR><FONT SIZE=2 FACE="Courier">-rw-r--r--   1 xymon    xymon        187 Nov 28 20:37 xymon_iostatdisk.su12sl001.21124</FONT>

<BR><FONT SIZE=2 FACE="Courier">-rw-r--r--   1 xymon    xymon        233 Dec 13 12:02 xymon_vmstat.su01sa000.26819</FONT>

<BR><FONT SIZE=2 FACE="Courier">-rw-r--r--   1 xymon    xymon        234 Nov 28 20:37 xymon_vmstat.su12sl001.21068</FONT>

<BR><FONT SIZE=2 FACE="Courier">-rw-r--r--   1 xymon    xymon        234 Nov 28 20:37 xymon_vmstat.su12sl001.21124</FONT>

<BR><FONT SIZE=2 FACE="Courier">-bash-3.00$</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">I see the hobbit_zonestat file there but have no graph data visible, what have I missed, ihave modified the /opt/xymon/server/etc/hosts.cfg file with</FONT></P>

<P><FONT SIZE=2 FACE="Courier">10.182.46.10    su01sa000 # ssh TRENDS:*,vmstat:vmstat3|vmstat6|vmstat7|vmstat8|vmstat0,zonestat:zonestatcpu|zonestatmem|zonestatnproc|zonestatsize|zonersssize</FONT></P>

<P><FONT SIZE=2 FACE="Arial">I know I've probably done some thing dumb - just not sure what!</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Regards</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Dave Munro</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">RWE Systems, Rainton House.</FONT>

<BR><FONT SIZE=2 FACE="Arial">Midrange Systems Admin</FONT>

<BR><FONT SIZE=2 FACE="Arial">Tel 01661814210</FONT>

<BR><FONT SIZE=2 FACE="Arial">Mobile 07788710306</FONT>

<BR><FONT SIZE=2 FACE="Arial">Email dave.munro@rwe.com</FONT>

<BR><B><I><FONT COLOR="#0000FF" FACE="Arial">RWE IT International Solaris Team.</FONT></I></B>
</P>


<p><span style="font-family:'MS Sans Serif';font-size:8.2pt;">**************************************************************************** </span></p>
<p><span style="font-family:'MS Sans Serif';font-size:8.2pt;">The information contained in this email is intended only for the use of the intended recipient at the email address to which it has been addressed. If the reader of this message is not an intended recipient, you are hereby notified that you have received this document in error and that any review, dissemination or copying of the message or associated attachments is strictly prohibited. If you have received this email in error, please contact the sender by return email or call 01793 877777 and ask for the sender and then delete it immediately from your system.Please note that neither the RWE Group of Companies nor the sender accepts any responsibility for viruses and it is your responsibility to scan attachments (if any). </span></p>
<p><span style="font-family:'MS Sans Serif';font-size:8.2pt;"> </span></p>
<p><span style="font-family:'MS Sans Serif';font-size:8.2pt;">***************************************************************************** </span></p>
<p><span style="font-family:'MS Sans Serif';font-size:8.2pt;"> </span></p></BODY>
</HTML>