Not generating interface traffic graphs

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

rplc1976
Posts: 23
Joined: Fri Mar 04, 2005 5:43 am

Not generating interface traffic graphs

Post by rplc1976 »

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
Last edited by rplc1976 on Fri Mar 11, 2005 11:29 am, edited 1 time in total.
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Silly question....

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]
rplc1976
Posts: 23
Joined: Fri Mar 04, 2005 5:43 am

Post by rplc1976 »

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
rplc1976
Posts: 23
Joined: Fri Mar 04, 2005 5:43 am

Post by rplc1976 »

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
rplc1976
Posts: 23
Joined: Fri Mar 04, 2005 5:43 am

Post by rplc1976 »

I really would be most grateful if someone could possibly help me or give me some idea on why my Cacti doesn;t like graphing interface traffic but is ok with CPU and Memory etc etc....

Thank you

Robin
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

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]
rplc1976
Posts: 23
Joined: Fri Mar 04, 2005 5:43 am

Post by rplc1976 »

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
rplc1976
Posts: 23
Joined: Fri Mar 04, 2005 5:43 am

Post by rplc1976 »

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
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Just created this post for your resolution.

TheWitness

http://forums.cacti.net/viewtopic.php?t=6773
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?
rplc1976
Posts: 23
Joined: Fri Mar 04, 2005 5:43 am

Post by rplc1976 »

Thanks for the post. I have checked and the data sources appear to be all correct however they are pointing to RRD files which actually don't exist!

This only happens with interface graphs.....CPU and memory etc are all working fine

:cry:
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Please refer to the post above. Then send me your database "mysqldump --user=root --password cacti > cactidump.sql".

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?
rplc1976
Posts: 23
Joined: Fri Mar 04, 2005 5:43 am

Post by rplc1976 »

I've emailed you....

Thanks :-)
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

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]
rplc1976
Posts: 23
Joined: Fri Mar 04, 2005 5:43 am

Post by rplc1976 »

I turned on debugging and looked at the log file but I couldn't really find anything wrong with it. Although I am new to Cacti and might be missing something. If I posted the log her would you be able to have a quick look at it for me?

Robin
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

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.
[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]
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest