Xymon Mailing List Archive search

NCV Graphing

list Buchan Milne
Fri, 20 Mar 2009 12:20:28 +0200
Message-Id: <user-054b468f2bae@xymon.invalid>

On Friday 20 March 2009 05:46:31 Adam Goryachev wrote:
Hi,

I'm trying to follow the Help -> Custom Graphs instructions as follows:
I've written a script to collect data, asked hobbitclient to run it
regularly.
Checked that the data is arriving on the xymon server
backup.notme.org.au|temp|green||1237445672|1237515673|1237517473|0|0|xxx.xx
x.xxx.xxx|-1|||Y green Fri Mar 20 13:21:13 EST 2009 Temp GOOD (38 degrees)
sda : 38
sdb : 36

hobbitserver.cfg:TEST2RRD="cpu=la,disk,inode,qtree,memory,$PINGCOLUMN=tcp,h
ttp=tcp,dns=tcp,dig=tcp,time=ntpstat,vmstat,iostat,netstat,temperature,apach
e,bind,sendmail,mailq,nmailq=mailq,socks,bea,iishealth,citrix,bbgen,bbtest,b
bproxy,hobbitd,files,procs=processes,ports,clock,lines,ops,stats,cifs,JVM,JM
S,HitCache,Session,JDBCConn,ExecQueue,JTA,TblSpace,RollBack,MemReq,InvObj,sn
apmirr,snaplist,snapshot,if_load=devmon,mysql=ncv,dnsnum=ncv,astnet=ncv,ups=
ncv,temp=ncv"

Added this line to indicate that the numbers are absolute values, not
always increasing values (default of DERIVE)...
hobbitserver.cfg:NCV_temp="*:GAUGE"

Re-started the hobbit rrd processes, and eventually also re-started
xymon completely.
If you are getting rrd files, there is no need to restart xymon.
rrdtool dump shows this:
What does 'rrdtool fetch temp.rrd AVERAGE' give?

So, for some reason the values are not getting into the rrd files....

Note, I found that I previously had an entry in TEST2RRD for
temp=devmon, so I have removed that and deleted all the rrd files (for
temp) so that they would be re-created.
Did you have temp.*.rrd files before you made this ncv-based test? If so, they 
will be broken now (and it would have been better to use a different test 
name).

Regards,
Buchan