Not generating interface traffic graphs
Moderators: Developers, Moderators
Not generating interface traffic graphs
Hi
I'm suddenly have problems adding new interfaces from a device. I have tried adding a new device from sctach but still the same problem. I have looked in the poller cache and it appears to be polling correctly. However for some reason it isn't creating the RRD files that it should do.
This looks like it only happens when choose the interface - bit/sec template as when monitoring CPU etc these create graphs fine.
I ahve turned on logging and check thru that, there are no errors that I can see but still not rrd files so the graphs are being generated.
Has anybody any ideas please?
Thanks
Robin
I'm suddenly have problems adding new interfaces from a device. I have tried adding a new device from sctach but still the same problem. I have looked in the poller cache and it appears to be polling correctly. However for some reason it isn't creating the RRD files that it should do.
This looks like it only happens when choose the interface - bit/sec template as when monitoring CPU etc these create graphs fine.
I ahve turned on logging and check thru that, there are no errors that I can see but still not rrd files so the graphs are being generated.
Has anybody any ideas please?
Thanks
Robin
Last edited by rplc1976 on Fri Mar 11, 2005 11:29 am, edited 1 time in total.
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Silly question....
Have you imported any templates?
Have you imported any templates?
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
I haven't imported any new templates. It has been running for weeks now and is monitoring nearly a dozen devices.
It just fails when trying to create any new interface graphs.
I've just set the log to debug and still can't really finf any errors but I am quite new to Cacti so I could well be missing something really obvious.
Thanks
Robin
It just fails when trying to create any new interface graphs.
I've just set the log to debug and still can't really finf any errors but I am quite new to Cacti so I could well be missing something really obvious.
Thanks
Robin
When I debug a data template I get:
c:\rrdtool\rrdtool.exe create \
C:\cacti\website/rra/mnisp_2611_t9_mgmt_traffic_in_1012.rrd \
So It thinks the rrd file exist but when I actaully try and find the rrd file, it is isn't there, this is also what the graph dubugging says.
It only happening on int traffic graphs.
Please can someone help,
Thanks
Robin
c:\rrdtool\rrdtool.exe create \
C:\cacti\website/rra/mnisp_2611_t9_mgmt_traffic_in_1012.rrd \
So It thinks the rrd file exist but when I actaully try and find the rrd file, it is isn't there, this is also what the graph dubugging says.
It only happening on int traffic graphs.
Please can someone help,
Thanks
Robin
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Please post the RRDtool debug that you get from click the little wrench when viewing graphs.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
c:\rrdtool\rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="PIX_02 - PIX Firewall GAMES interface" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bits per second" \
DEF:a="C\:\cacti\website/rra/pix_02_traffic_in_171.rrd":traffic_in:AVERAGE \
DEF:b="C\:\cacti\website/rra/pix_02_traffic_in_171.rrd":traffic_out:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdefe=b,8,* \
AREA:cdefa#00CF00:"Inbound" \
GPRINT:cdefa:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n" \
LINE1:cdefe#002A97:"Outbound" \
GPRINT:cdefe:LAST:"Current\:%8.2lf %s" \
GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s"
This is from an existing graph that was working today and whilst I trying to fix problems with it, it looks like I've gone and broken it good and proper
Also, the existing CPU and MEM graphs have continued to work okay. It looks like any graph I try to draw using the Interface (bits/sec) template.
Thanks
Robin
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="PIX_02 - PIX Firewall GAMES interface" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bits per second" \
DEF:a="C\:\cacti\website/rra/pix_02_traffic_in_171.rrd":traffic_in:AVERAGE \
DEF:b="C\:\cacti\website/rra/pix_02_traffic_in_171.rrd":traffic_out:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdefe=b,8,* \
AREA:cdefa#00CF00:"Inbound" \
GPRINT:cdefa:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n" \
LINE1:cdefe#002A97:"Outbound" \
GPRINT:cdefe:LAST:"Current\:%8.2lf %s" \
GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s"
This is from an existing graph that was working today and whilst I trying to fix problems with it, it looks like I've gone and broken it good and proper
Also, the existing CPU and MEM graphs have continued to work okay. It looks like any graph I try to draw using the Interface (bits/sec) template.
Thanks
Robin
Also, when I look at data source debugging I get:
c:\rrdtool\rrdtool.exe create \
C:\cacti\website/rra/cat2924_traffic_in_1049.rrd \
--step 300 \
DS:traffic_out:COUNTER:600:0:100000000 \
DS:traffic_in:COUNTER:600:0:100000000 \
DS:traffic_out:COUNTER:600:0:100000000 \
DS:traffic_in:COUNTER:600:0:100000000 \
RRA:AVERAGE:0.5:6:700 \
RRA:AVERAGE:0.5:24:775 \
RRA:AVERAGE:0.5:1:20000 \
RRA:AVERAGE:0.5:288:797 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:1:20000 \
RRA:MAX:0.5:288:797 \
Even though it says the RRD file is present, it actually isn't.
PLEASE can someone help me.
Thank you
Robin
c:\rrdtool\rrdtool.exe create \
C:\cacti\website/rra/cat2924_traffic_in_1049.rrd \
--step 300 \
DS:traffic_out:COUNTER:600:0:100000000 \
DS:traffic_in:COUNTER:600:0:100000000 \
DS:traffic_out:COUNTER:600:0:100000000 \
DS:traffic_in:COUNTER:600:0:100000000 \
RRA:AVERAGE:0.5:6:700 \
RRA:AVERAGE:0.5:24:775 \
RRA:AVERAGE:0.5:1:20000 \
RRA:AVERAGE:0.5:288:797 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:1:20000 \
RRA:MAX:0.5:288:797 \
Even though it says the RRD file is present, it actually isn't.
PLEASE can someone help me.
Thank you
Robin
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Please refer to the post above. Then send me your database "mysqldump --user=root --password cacti > cactidump.sql".
TheWitness
TheWitness
Code: Select all
DS:traffic_out:COUNTER:600:0:100000000 \
DS:traffic_in:COUNTER:600:0:100000000 \
DS:traffic_out:COUNTER:600:0:100000000 \
DS:traffic_in:COUNTER:600:0:100000000 \
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Btw, your rrdtool debug tells us you have the problem that TheWitness said. Reread that post, it's explains how to resolve the issue with your data source template that is stoping you from graphing interface statistics.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Check out post:
http://forums.cacti.net/viewtopic.php?t=6773
This is your problem, your debug from the data source reveals it.
Please read over the whole post, it's linking to the last reply.
http://forums.cacti.net/viewtopic.php?t=6773
This is your problem, your debug from the data source reveals it.
Please read over the whole post, it's linking to the last reply.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
Who is online
Users browsing this forum: No registered users and 0 guests