Xymon Mailing List Archive search

Trying to get zonestat working -- WORKING

list James Wade
Thu, 23 Jul 2009 17:32:39 -0500
Message-Id: <user-714ea0bf39b3@xymon.invalid>

I got it working, it was the hobbitlaunch.cfg

 
When I added the variable I did this:

 
        ENVFILE /home/hobbit/server/etc/hobbitserver.cfg

        NEEDS hobbitd

        CMD hobbitd_channel --channel=data --log=$BBSERVERLOGS/rrd-data.log
hobbitd_rrd 

                              --extra-tests=zonestat

 
--extra-script=/home/hobbit/server/ext/rrd_data.pl

                               --rrddir=$BBVAR/rrd

 
Hobbit doesn't seem to like the extra-tests and extra-script on multiple
lines. When I placed everything
on a single line, I started getting rrd data from zonestat.

 
        ENVFILE /home/hobbit/server/etc/hobbitserver.cfg

        NEEDS hobbitd

        CMD hobbitd_channel --channel=data --log=$BBSERVERLOGS/rrd-data.log
hobbitd_rrd --extra-tests=zonestat
--extra-script=/home/hobbit/server/ext/rrd_data.pl --rrddir=$BBVAR/rrd

 
I also didn't see the graphs in the Trends table until I added the following
to bb-hosts. This was
in another posting.

TRENDS:*,zonestat:zonestatcpu|zonestatmem|zonestatnproc|zonestatsize|zonerss
size

 
The instructions for zonestat say to just add:
zonestat:zonestatcpu|zonestatmem|zonestatnproc|zonestatsize|zonersssize

to the bbhosts file.

 
Has anyone added the zones as separate tests on the main menu (status vs
data)?

 
Thanks..James

 
From: James Wade [mailto:user-659655b2ea05@xymon.invalid] 
Sent: Thursday, July 23, 2009 4:39 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] Trying to get zonestat working

 
I'm trying to get zonestat working with Hobbit which I downloaded

from the Shire. However,  I'm not getting anything when I run it.

I did a debug of the client script, and its sending information, but on 

the hobbit server, I get the following errors.

 
2009-07-23 15:36:44 No command to pass data to

2009-07-23 15:36:44 Task rrddata terminated, status 1

2009-07-23 15:36:49 No command to pass data to

2009-07-23 15:36:49 Task rrddata terminated, status 1

 
I saw a couple postings with similar errors, but no fix action for

it. Anyone else using this or had similar problems?

 
What's everyone else doing to monitor zones? I need to know

how much cpu and memory each zone is using.

 
Thanks.James