Xymon Mailing List Archive search

Custom Graph Issue

list Rich Smrcina
Wed, 21 Mar 2007 06:16:33 -0500
Message-Id: <user-4277025f7dea@xymon.invalid>

The actual la graph is probably interfering with this since it is also related to the tag 'cpu'.  Try changing it to cpuutil or something like that.  You'll have to change hobbitserver and hobbitgraph accordingly.

Stewart wrote:
I have that as well, but according to the docs, I whould have an RRD file that is created.  I don't have that yet.

Lars Ebeling wrote:
You alsa need an entry in hobbitgraph.cfg like this extract from mine. Use fwcpu instead of mailbox and cpu instead of hobbit

[mailbox]
       TITLE Mailbox size
       YAXIS bytes
       DEF:size=mailbox.rrd:hobbit:AVERAGE
       LINE2:size#00CCCC:Hobbit size
       GPRINT:size:LAST:Hobbit size \: %5.1lf%s (cur)
       GPRINT:size:MAX: \: %5.1lf%s (max)
       GPRINT:size:MIN: \: %5.1lf%s (min)
       GPRINT:size:AVERAGE: \: %5.1lf%s (avg)\n


----- Original Message ----- From: "Stewart" <user-4bb0ef2a7550@xymon.invalid>
To: <user-ae9b8668bcde@xymon.invalid>
Sent: Wednesday, March 21, 2007 5:00 AM
Subject: [hobbit] Custom Graph Issue

I cannot get the RRD file to be created.

I have a script that polls a firewall via SNMP and returns the CPU usage. The test works fine and creates a column named "fwcpu".


bb 127.0.0.1 "status firewall.fwcpu green $now_string \n\ncpu : $cpu"

The output is as follows.

Tue Mar 20 23:47:22 2007

cpu : 10


I modified TEST2RRD to the following.
TEST2RRD="cpu=la,disk,inode,qtree,memory,$PINGCOLUMN=tcp,http=tcp,dns=tcp,dig=tcp,time=ntpstat,vmstat,iostat,netstat,temperature,apache,bind,sendmail,mailq,nmailq=mailq,socks,bea,iishealth,citrix,bbgen,bbtest,bbproxy,hobbitd,files,procs=processes,ports,clock,lines,fwcpu=ncv" 

I also added...
NCV_fwcpu="cpu:GAUGE"


Shut down hobbit and made sure that the hobbitd_rrd processes were gone. restarted it and I get nothing in the RRD folder for the device.   I _DO_ get "hobbit graph ncv:fwcpu" showing up in my test pages.


-- 
Stewart Larsen
-- 
This sig intentionally left blank, other than this text explaining that if not for this text, this sig would be blank.

-- 
Rich Smrcina
VM Assist, Inc.
Phone: XXX-XXX-XXXX
Ans Service:  XXX-XXX-XXXX
user-61add9955ef9@xymon.invalid

Catch the WAVV!  http://www.wavv.org
WAVV 2007 - Green Bay, WI - May 18-22, 2007