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.
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
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.
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" <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
-- Rich Smrcina VM Assist, Inc. Phone: 414-491-6001 Ans Service: 360-715-2467 rich.smrcina at vmassist.com
Catch the WAVV! http://www.wavv.org WAVV 2007 - Green Bay, WI - May 18-22, 2007
Stewart schreef:
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"
Try adding an extra "\n" at the end of your output: bb 127.0.0.1 "status firewall.fwcpu green $now_string \n\ncpu : $cpu\n"
That should do the trick
HTH, Paul
That got my RRD's working, and from there, I got the graphs going. Thanks, guys!
Stew
Paul van Eldijk wrote:
Stewart schreef:
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"
Try adding an extra "\n" at the end of your output: bb 127.0.0.1 "status firewall.fwcpu green $now_string \n\ncpu : $cpu\n"
That should do the trick
HTH, Paul
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
Hi,
Stewart wrote :
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".
Your setup looks fine, so maybe you're bitten by the bug in ncv handling. Try applying this patch: http://hswn.dk/hobbitsw/patches/ncv-ignoretext.patch
regards,
-- Charles Goyard - cgoyard at cvf.fr - (+33) 1 45 38 01 31
participants (5)
-
cgoyard@cvf.fr
-
lars.ebeling@leopg9.no-ip.org
-
P.vanEldijk@uci.ru.nl
-
rsmrcina@wi.rr.com
-
stl19847@yahoo.com