[Xymon] zonestat.sh

Ward, Martin Martin.Ward at colt.net
Thu Dec 15 13:04:55 CET 2011


Hi Dave,

I haven't taken a close look at zonestat.sh so don't know much about it, but if you want graphs then I think you have to put a bit more work in.

I am still on 4.2.0 so the configuration is slightly different but take a look at this page, which I have used on many occasions when creating my own graphs.

http://www.xymon.com/xymon/help/howtograph.html

|\/|

From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On Behalf Of Dave.Munro at rwe.com
Sent: 13 December 2011 11:19
To: xymon at xymon.com
Subject: [Xymon] zonestat.sh


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:zonestatcpu|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<mailto: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).



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



[Colt Disclaimer]
The message is intended for the named addressee only and may not be disclosed
to or used by anyone else, nor may it be copied in any way. The contents of
this message and its attachments are confidential and may also be subject to
legal privilege. If you are not the named addressee and/or have received this
message in error, please advise us by e-mailing abuse at colt.net and delete the
message and any attachments without retaining any copies. Internet
communications are not secure and Colt does not accept responsibility for this
message, its contents nor responsibility for any viruses. No contracts can be
created or varied on behalf of Colt Technology Services, its subsidiaries,
group companies or affiliates ("Colt") and any other party by email
communications unless expressly agreed in writing with such other party.
Please note that incoming emails will be automatically scanned to eliminate
potential viruses and unsolicited promotional emails. For more information
refer to www.colt.net or contact us on +44(0)20 7390 3900

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


More information about the Xymon mailing list