Xymon Mailing List Archive search

no data on xymon server for zonestat

3 messages in this thread

list Kevin Kelly · Fri, 29 May 2009 08:39:43 -0500 ·
I am having trouble getting the zonestat.sh script to update the xymon
server. I know I have posted this before, but have gotten limited
response. Help would be greatly appreciated.

 
Here is what I have done:

 
Hobbitserver.cfg

# status view of a test should include a graph.

TEST2RRD="cpu=la,disk,inode,qtree,memory,$PINGCOLUMN=tcp,http=tcp,dns=tc
p,dig=tcp,time=ntpstat,vmstat,iostat,netstat,temperature,apa

che,bind,sendmail,mailq,nmailq=mailq,socks,bea,iishealth,citrix,bbgen,bb
test,bbproxy,hobbitd,files,procs=processes,ports,clock,lines

,zonestat"

 
# This defines which RRD files to include on the "trends" column
webpage,

# and the order in which they appear.

GRAPHS="la,disk,inode,qtree,files,processes,memory,users,vmstat,iostat,t
cp.http,tcp,ncv,netstat,ifstat,mrtg::1,ports,temperature,ntp

stat,apache,bind,sendmail,mailq,socks,bea,iishealth,citrix,bbgen,bbtest,
bbproxy,hobbitd,ifstat,clock,lines,zonestat"

 
Hobbitlaunch.cfg

[rrddata]

        ENVFILE /apps/xymon/server/etc/hobbitserver.cfg

        NEEDS hobbitd

        CMD hobbitd_channel --channel=data \

        --log=$BBSERVERLOGS/rrd-data.log hobbitd_rrd \

        --extra-tests=zonestat \

        --extra-script=/apps/xymon/server/ext/rrd_data.pl \

        --rrddir=$BBVAR/rrd

 
Have added to hobbitgraph.cfg the need stuff and also put rrd_data.pl
into the ext directory.

 
Looks like on the client everything is running just fine, I get a
hobbit_zonestat file create the tmp with information in it.

 
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
list Peter Welter · Sat, 30 May 2009 09:14:25 +0200 ·
I have the zonestat.sh utility up & running, but from what I read, I
can't see what your problem is. As far as you describe, everything is
just fine on the Xymon-server.

Q1: If the server receivers client data, the received data should be
in: /var/lib/hobbit/data/rrd/HostName/zonestat.HostName.rrd and
/var/lib/hobbit/data/rrd/HostName/zonestat.global.rrd and
So, does your server creates these files?

Q2: Where are you looking for your graphs? It is data trending, so the
graph only appears in the trends column for your host if you have
entered the following in your bb-host-file for that particular host:

ip.address.xxx.yyy hostname  #
TRENDS:*,zonestat:zonestatcpu|zonestatmem|zonestatnproc|zonestatsize"

Peter

2009/5/29 Kevin Kelly <user-46671a9fcf56@xymon.invalid>:
quoted from Kevin Kelly
I am having trouble getting the zonestat.sh script to update the xymon
server. I know I have posted this before, but have gotten limited response.
Help would be greatly appreciated.


Here is what I have done:


Hobbitserver.cfg

# status view of a test should include a graph.

TEST2RRD="cpu=la,disk,inode,qtree,memory,$PINGCOLUMN=tcp,http=tcp,dns=tcp,dig=tcp,time=ntpstat,vmstat,iostat,netstat,temperature,apa

che,bind,sendmail,mailq,nmailq=mailq,socks,bea,iishealth,citrix,bbgen,bbtest,bbproxy,hobbitd,files,procs=processes,ports,clock,lines
quoted from Kevin Kelly

,zonestat"


# This defines which RRD files to include on the "trends" column webpage,

# and the order in which they appear.

GRAPHS="la,disk,inode,qtree,files,processes,memory,users,vmstat,iostat,tcp.http,tcp,ncv,netstat,ifstat,mrtg::1,ports,temperature,ntp

stat,apache,bind,sendmail,mailq,socks,bea,iishealth,citrix,bbgen,bbtest,bbproxy,hobbitd,ifstat,clock,lines,zonestat"
quoted from Kevin Kelly


Hobbitlaunch.cfg

[rrddata]

        ENVFILE /apps/xymon/server/etc/hobbitserver.cfg

        NEEDS hobbitd

        CMD hobbitd_channel --channel=data \

        --log=$BBSERVERLOGS/rrd-data.log hobbitd_rrd \

        --extra-tests=zonestat \

        --extra-script=/apps/xymon/server/ext/rrd_data.pl \

        --rrddir=$BBVAR/rrd


Have added to hobbitgraph.cfg the need stuff and also put rrd_data.pl into
the ext directory.


Looks like on the client everything is running just fine, I get a
hobbit_zonestat file create the tmp with information in it.


This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
list Kevin Kelly · Mon, 1 Jun 2009 10:05:44 -0500 ·
Thanks for the response Peter! The problem is that nothing shows up on the xymon server.

Q1. I check for the data files and there are none.
Q2, I was looking for the under a column named zonestat, but that is no there.
quoted from Peter Welter


-----Original Message-----
From: Peter Welter [mailto:user-f55666bd0d1e@xymon.invalid] 
Sent: Saturday, May 30, 2009 2:14 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] no data on xymon server for zonestat

I have the zonestat.sh utility up & running, but from what I read, I
can't see what your problem is. As far as you describe, everything is
just fine on the Xymon-server.

Q1: If the server receivers client data, the received data should be
in: /var/lib/hobbit/data/rrd/HostName/zonestat.HostName.rrd and
/var/lib/hobbit/data/rrd/HostName/zonestat.global.rrd and
So, does your server creates these files?

Q2: Where are you looking for your graphs? It is data trending, so the
graph only appears in the trends column for your host if you have
entered the following in your bb-host-file for that particular host:

ip.address.xxx.yyy hostname  #
TRENDS:*,zonestat:zonestatcpu|zonestatmem|zonestatnproc|zonestatsize"

Peter

2009/5/29 Kevin Kelly <user-46671a9fcf56@xymon.invalid>:
I am having trouble getting the zonestat.sh script to update the xymon
server. I know I have posted this before, but have gotten limited response.
Help would be greatly appreciated.


Here is what I have done:


Hobbitserver.cfg

# status view of a test should include a graph.

TEST2RRD="cpu=la,disk,inode,qtree,memory,$PINGCOLUMN=tcp,http=tcp,dns=tcp,dig=tcp,time=ntpstat,vmstat,iostat,netstat,temperature,apa

che,bind,sendmail,mailq,nmailq=mailq,socks,bea,iishealth,citrix,bbgen,bbtest,bbproxy,hobbitd,files,procs=processes,ports,clock,lines

,zonestat"


# This defines which RRD files to include on the "trends" column webpage,

# and the order in which they appear.

GRAPHS="la,disk,inode,qtree,files,processes,memory,users,vmstat,iostat,tcp.http,tcp,ncv,netstat,ifstat,mrtg::1,ports,temperature,ntp

stat,apache,bind,sendmail,mailq,socks,bea,iishealth,citrix,bbgen,bbtest,bbproxy,hobbitd,ifstat,clock,lines,zonestat"


Hobbitlaunch.cfg

[rrddata]

        ENVFILE /apps/xymon/server/etc/hobbitserver.cfg

        NEEDS hobbitd

        CMD hobbitd_channel --channel=data \

        --log=$BBSERVERLOGS/rrd-data.log hobbitd_rrd \

        --extra-tests=zonestat \

        --extra-script=/apps/xymon/server/ext/rrd_data.pl \

        --rrddir=$BBVAR/rrd


Have added to hobbitgraph.cfg the need stuff and also put rrd_data.pl into
the ext directory.


Looks like on the client everything is running just fine, I get a
hobbit_zonestat file create the tmp with information in it.


This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email