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 <kkelly at lifetouch.com>:
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