[Xymon] zonestat.sh

Dave.Munro at rwe.com Dave.Munro at rwe.com
Tue Dec 13 12:18:50 CET 2011


Hi Folks,

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.

For the past hour or so I have been trying to get zonestat working;

On the Client I have put the zonestat.sh script in /opt/xymon/client/ext
and have modified the clientlaunch.cfg with

# Zone Monitoring Script.

[zonestat]
        ENVFILE $XYMONCLIENTHOME/etc/xymonclient.cfg
        CMD $XYMONCLIENTHOME/ext/zonestat.sh
        LOGFILE $XYMONCLIENTLOGS/xymonclient.log
        INTERVAL 5m


On the server side I have modified the /opt/xymon/server/etc/tasks.cfg
with

[zonestat]
        ENVFILE /opt/xymon/client/etc/xymonclient.cfg
        NEEDS xymond
        CMD /opt/xymon/client/ext/zonestat.sh
        LOGFILE $XYMONSERVERLOGS/xymonclient.log
        INTERVAL 5m

In the /opt/xymon/client/tmp I see the file being created with the
prstat information in it.


/opt/xymon/client/etc
-bash-3.00$ cd ../tmp
-bash-3.00$ ls -l
total 576
-rw-r--r--   1 xymon    xymon       1082 Dec 13 12:02
hobbit_zonestat.su01sa000.26814
-rw-r--r--   1 xymon    xymon         71 Dec 13 12:02
logfetch.su01sa000.cfg
-rw-r--r--   1 xymon    xymon         60 Dec 13 12:02
logfetch.su01sa000.status
-rw-r--r--   1 xymon    xymon         29 Nov 28 20:37
logfetch.su12sl001.cfg
-rw-r--r--   1 xymon    xymon         53 Nov 28 20:37
logfetch.su12sl001.status
-rw-r--r--   1 xymon    xymon     172781 Dec 13 12:02 msg.su01sa000.txt
-rw-r--r--   1 xymon    xymon         35 Dec 13 12:02
xymon_iostatcpu.su01sa000.26819
-rw-r--r--   1 xymon    xymon         36 Nov 28 20:37
xymon_iostatcpu.su12sl001.21068
-rw-r--r--   1 xymon    xymon         36 Nov 28 20:37
xymon_iostatcpu.su12sl001.21124
-rw-r--r--   1 xymon    xymon      14979 Dec 13 12:02
xymon_iostatdisk.su01sa000.26819
-rw-r--r--   1 xymon    xymon        187 Nov 28 20:37
xymon_iostatdisk.su12sl001.21068
-rw-r--r--   1 xymon    xymon        187 Nov 28 20:37
xymon_iostatdisk.su12sl001.21124
-rw-r--r--   1 xymon    xymon        233 Dec 13 12:02
xymon_vmstat.su01sa000.26819
-rw-r--r--   1 xymon    xymon        234 Nov 28 20:37
xymon_vmstat.su12sl001.21068
-rw-r--r--   1 xymon    xymon        234 Nov 28 20:37
xymon_vmstat.su12sl001.21124
-bash-3.00$

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

10.182.46.10    su01sa000 # ssh
TRENDS:*,vmstat:vmstat3|vmstat6|vmstat7|vmstat8|vmstat0,zonestat:zonesta
tcpu|zonestatmem|zonestatnproc|zonestatsize|zonersssize

I know I've probably done some thing dumb - just not sure what!

Regards

Dave Munro

RWE Systems, Rainton House.
Midrange Systems Admin
Tel 01661814210
Mobile 07788710306
Email dave.munro at rwe.com
RWE IT International Solaris Team.


**************************************************************************** 
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). 

***************************************************************************** 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20111213/f50bdf7d/attachment.html>


More information about the Xymon mailing list