[SOLVED] Trouble Recreating Traffic Graphs..

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

Moderators: Developers, Moderators

kernelphr34k
Posts: 46
Joined: Tue Jul 24, 2007 6:23 pm
Location: Oregon

[SOLVED] Trouble Recreating Traffic Graphs..

Post by kernelphr34k »

So, I've had cacti setup for about 6 months now. GREAT tool THANKS TO all that have kept it going and maintain it..

The issue I'm currently having is that of being able to graph traffic on a windows machine with SNMP enabled. This box has 4 gig NIC's. One, was recently installed. So I wanted to graph the traffic on the new NIC, so I added a new graph and etc.. I noticed a day or 2 later that nothing on that new NIC was being graphed, so I deleted all traffic graphs from Graph Management including in/out bytes total bandwidth, and in/out bytews 64bit counters.

Now I'm trying to recreate all the traffic graphs, but within the new graph section it will only allow me to create a graph for everything BUT the 64bit and the in/out total BW.

I've tried to reload the query, rebuild cache etc... I'm out of ideas. If you need more info, please ask! thanks!

Server info:
Suse 10 enterprise
2.6.16.21-0.8-smp
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Moving to Windows.
IMHO, windows doesn't support 64bit counters (not my own knowledge).
That's why I moved to Windows in order to find more accomplished users than me
Reinhard
kernelphr34k
Posts: 46
Joined: Tue Jul 24, 2007 6:23 pm
Location: Oregon

Post by kernelphr34k »

My server is suse 10 enterprise, the box I'm trying to get results from is windows. I hope that clears things up. :D

I've been able to create 64bit counters and total BW in the past.... But I can't seem to create any graphs I've created in the past. I can't even recreate an in/out bytes - total bandwidth.. :roll:

Thanks
kernelphr34k
Posts: 46
Joined: Tue Jul 24, 2007 6:23 pm
Location: Oregon

Post by kernelphr34k »

This is soo frustrating. Anyone have any ideas?

I can create a graph for ANY of the other graph types EXCEPT the in/out bytes (64bit counters) and in/out bytes total bandwidth. The two graphs I had created previously.

There is NO traffic graphs under the device in graph management.

I have deleted all the data graphs for the specific device from cacti, and still not able to create a NEW graph for my interfaces.

I have attached an image that shows on the top that I have the ability to create a in/out bits graph. But if I goto in/out bytes with total bandwidth I dont get a choice. Same with in/out 64bit counters.
Attachments
cacti-traffic-graphs.png
cacti-traffic-graphs.png (46.75 KiB) Viewed 8746 times
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

gandalf is correct, Windows doesn't natively support 64bit counters.

If you're unable to create graphs with the 64bit counters for ANY device, then something is broken with your cacti installation.
kernelphr34k
Posts: 46
Joined: Tue Jul 24, 2007 6:23 pm
Location: Oregon

Post by kernelphr34k »

BSOD2600 wrote:gandalf is correct, Windows doesn't natively support 64bit counters.

If you're unable to create graphs with the 64bit counters for ANY device, then something is broken with your cacti installation.
Okay, so then why em I not able to create a total bandwidth graph then? I had the graphs once, deleted them, now trying to add again and I can't. The 64bit counters on windows is explained, but not this.

Thanks for your help!
kernelphr34k
Posts: 46
Joined: Tue Jul 24, 2007 6:23 pm
Location: Oregon

Post by kernelphr34k »

I didn't want to loose the data, but In the end I was tired of waiting, so I deleted the device, re added and now I'm able to create 64bit counter and total bandwidth graphs just how I did before.

Looks like a possible bug to me.

Side note,
Every once in awhile I get the following error when trying to post a message:

Code: Select all

Error in posting

DEBUG MODE

SQL Error : 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE forum_id = 3' at line 3

UPDATE forums SET forum_posts = forum_posts + 1, forum_last_post_id = WHERE forum_id = 3

Line : 423
File : functions_post.php
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

kernelphr34k wrote:I didn't want to loose the data, but In the end I was tired of waiting, so I deleted the device, re added and now I'm able to create 64bit counter and total bandwidth graphs just how I did before.
All collected data from polling is stored in the *.rrd files. Your data is still there.
kernelphr34k wrote:Looks like a possible bug to me.
If you can reproduce it or create a patch, http://www.cacti.net/bugs.php
kernelphr34k wrote: Side note,
Every once in awhile I get the following error when trying to post a message:
Do you take several minutes to post? That could be a reason. Otherwise, let rony know about it.
kernelphr34k
Posts: 46
Joined: Tue Jul 24, 2007 6:23 pm
Location: Oregon

Post by kernelphr34k »

Thanks BSOD2600!

If I can replicate it, I'll post a bug report.

I may not be waiting long enough in between posts. Usually u get an error that says wait x amount of time.... anyways, all good.

Thanks! :)
pesto
Posts: 5
Joined: Mon Mar 24, 2008 5:25 pm

Post by pesto »

I am having this same issues with 0.8.6j. I have deleted the graphs but cannot make new ones. Very frustrating, I have the rrds but what good are they if I can't make graphs with them?

Any suggestions?
pesto
Posts: 5
Joined: Mon Mar 24, 2008 5:25 pm

Post by pesto »

Sorry, can't edit, maybe I misunderstood...if I delete the device, recreate it, will the graphs auto populate? The problem is my device name changed and I'd like to see the old graphs. Is there a way to just create a graph from a data source without linking it to a device?
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

pesto wrote:if I delete the device, recreate it, will the graphs auto populate?
Cacti will create new rrd files and thus graphs.
pesto wrote:The problem is my device name changed and I'd like to see the old graphs.
There are better ways to handle a name change instead of deleting the device. IMO, should've just changed he name in cacti and thats it. If you want the new name on the graphs, then you should've used the 'reapply suggested names' feature in graph management.
pesto wrote:Is there a way to just create a graph from a data source without linking it to a device?
Yes. In the documentation site, read on how to use externally updated rrd files.
pesto
Posts: 5
Joined: Mon Mar 24, 2008 5:25 pm

Post by pesto »

BSOD2600 wrote:
pesto wrote:if I delete the device, recreate it, will the graphs auto populate?
Cacti will create new rrd files and thus graphs.
pesto wrote:The problem is my device name changed and I'd like to see the old graphs.
There are better ways to handle a name change instead of deleting the device. IMO, should've just changed he name in cacti and thats it. If you want the new name on the graphs, then you should've used the 'reapply suggested names' feature in graph management.
pesto wrote:Is there a way to just create a graph from a data source without linking it to a device?
Yes. In the documentation site, read on how to use externally updated rrd files.
Found that and have been digging through it...getting weird unexpected results, cacti's always 'just worked' for me so now I'm having to get more familiar with it. Wish me luck
pesto
Posts: 5
Joined: Mon Mar 24, 2008 5:25 pm

Post by pesto »

I've figured it out but I have one problem:

How do I know which rrds went to which graphs? I can recover the rrds to make graphs, the graphs look good, however, it's dealing with four interfaces of the same machine so it's hard to tell which is which. The only way I can seem to find to do it is to click on the graph and see which rrd it is using, but that's not an option here because the graphs are deleted. Any suggestions appreciated.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

The only way would to be restoring your cacti db to a temp db, then looking in the tables for which rrd file went with each cached interface index.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests