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

Post by rplc1976 »

Forgive me for being stupid but I know what you mean and I can see that now in the log file I put above, I removed all data sources for a particular host and added the host back again but still the same thing happens.

c:\rrdtool\rrdtool.exe create \
C:\cacti\website/rra/cat2924_traffic_in_1072.rrd \
--step 300 \
DS:traffic_in:COUNTER:600:0:100000000 \
DS:traffic_out: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 \



ERROR: opening 'C:\cacti\website/rra/cat2924_traffic_in_1072.rrd': No such file or directory


I have already checked the path and it is correct, it just doesn't create an RRD file
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="MNISP Core2 - Port-channel1.214-ISL vLAN subif" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bits per second" \
DEF:a="C\:\cacti\website/rra/mnisp_core2_traffic_in_93.rrd":traffic_in:AVERAGE \
DEF:b="C\:\cacti\website/rra/mnisp_core2_traffic_in_93.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"


An example of a graph that was working on Friday and has just stopped.
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Code: Select all

DS:traffic_in:COUNTER:600:0:100000000 \
DS:traffic_out:COUNTER:600:0:100000000 \
DS:traffic_out:COUNTER:600:0:100000000 \
DS:traffic_in:COUNTER:600:0:100000000 \ 
This is the classic signs of a duplicate data source problem. The solution is outlined in the post that TheWitness linked. Go to that post and go to the first page and read through it. It explains your problem and the solution.
[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 »

HURRAY

I did indeed have two extra data sources....I deleted them and left ID 54 and 55.

I can now created new graphs :-) However all the existing graphs still aren't displaying any data :-(
rplc1976
Posts: 23
Joined: Fri Mar 04, 2005 5:43 am

Post by rplc1976 »

In the poller cache I can only see entries for CPU and MEM etc. I can't see anything relating to interface graphs.

Any ideas what may cause this?

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

Post by rplc1976 »

The CPU and MEM graphs work fine, just the interface ones dont.

Can anybody help?

Thanks


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

Post by TheWitness »

Robin,

How long have the interface graphs been down? What version of Cacti are you running? Please insure that you are at at least 0.8.6c. My first response to anyone running a version of 0.8.6x below 0.8.6c is to upgrade.

TheWitness
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 »

They all went down on Friday. I have been running them for weeks .

I dont' have access to the server at the moment, but Im quite sure its above 0.8.6c

It only appears to be interfaces that aren't appearing in the poller cache

Thanks

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

Post by TheWitness »

Did you clear it? Are you planning on dumping the db and e-mailing?

TheWitness
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 »

Yes I did, but after a short pause it comes back showing the same entries again....Should the poller cache actually show as empty ?
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

No. Please verify your version and then apply the patches in www.cacti.net for 0.8.6c. They will help if you have lot's of hosts. BTB, have you updated PHP lately?

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

Post by TheWitness »

You realy need to send your db. I am going out in a few minutes and won't be back until about 9:00pm EDT.

TheWitness
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 »

Ah ok. Erm can I get a copy of the DB from the webpage?

Shall I email it to you later?

Is there anything I can check for you?
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

It's easier to just mysqldump and send along. I don't have all day.

TheWitness
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 »

sorry, not sure if I could do that....I didn't set it up sorry.

Can give u a login if u like?
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests