[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [hobbit] Custom Graph Issue



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" <stl19847 (at) yahoo.com> To: <hobbit (at) hswn.dk> 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.


To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe (at) hswn.dk





To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe (at) hswn.dk


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