[solved] Graphs not working for Cisco devices

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

Moderators: Developers, Moderators

User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

I would have to agree, they do look to be properly set.

Did you try running the poller under your admin account to see if they do get created?
rsutton
Cacti User
Posts: 65
Joined: Fri Mar 06, 2009 12:46 pm

Post by rsutton »

I will try running it VIA the local admin account shortly to see what happens.

**** EDIT ****
I just ran it under the local admin account and I guess I am supposed to be seeing if the RRD files are still being created instead of udpated - which they still are. Current log snipets:

03/23/2009 10:21:22 AM - POLLER: Poller[0] CACTI2RRD: c:/cacti/rrdtool.exe update C:\Inetpub\wwwroot\cacti\rra\fbpix_traffic_in_225.rrd --template traffic_out:traffic_in N:0:0
03/23/2009 10:21:22 AM - POLLER: Poller[0] CACTI2RRD: c:/cacti/rrdtool.exe create C:/Inetpub/wwwroot/cacti/rra/fbpix_traffic_in_225.rrd --step 300 DS:traffic_in:COUNTER:600:0:9000000000000000 DS:traffic_out:COUNTER:600:0: 100000000 RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797


03/23/2009 10:21:22 AM - POLLER: Poller[0] CACTI2RRD: c:/cacti/rrdtool.exe update C:\Inetpub\wwwroot\cacti\rra\fbpix_traffic_in_226.rrd --template traffic_out:traffic_in N:10167980:618039647
03/23/2009 10:21:22 AM - POLLER: Poller[0] CACTI2RRD: c:/cacti/rrdtool.exe create C:/Inetpub/wwwroot/cacti/rra/fbpix_traffic_in_226.rrd --step 300 DS:traffic_in:COUNTER:600:0:9000000000000000 DS:traffic_out:COUNTER:600:0: 100000000 RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797

**** Second Edit ****
I also just noticed that on one of my servers I am not getting traffic data & the RRD file is being created every poll cycle. However I am getting good traffic data on other servers.
rsutton
Cacti User
Posts: 65
Joined: Fri Mar 06, 2009 12:46 pm

Post by rsutton »

Any other ideas on why the RRD file is being created every time? I'm at a loss and I really need to get this working.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

What rrdtool version/build are you using? I'd suggest 1.2.26 W32.

If you manually run that rrdtool create command, does it throw any errors? Successful? Even a better test, would be to run it under the Cacti scheduled task account.
rsutton
Cacti User
Posts: 65
Joined: Fri Mar 06, 2009 12:46 pm

Post by rsutton »

When I run the RRDtool command under the cactitask here is the output:

Code: Select all


C:\Documents and Settings\cactitask>c:/cacti/rrdtool.exe create C:/Inetpub/wwwro
ot/cacti/rra/fbswitch3_traffic_in_219.rrd --step 300 DS:traffic_in:COUNTER:600:0
:9000000000000000 DS:traffic_out:COUNTER:600:0: 10000000 RRA:AVERAGE:0.5:1:600 R
RA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:
1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
ERROR: failed to parse data source 600:0:

C:\Documents and Settings\cactitask>





And Im using 1.2.30 of the RRDtool, I will try to downgrade to the version you recommend.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

ah-ha! Very likely why the calls have been failing this whole time. Check your Data Sources -> RRAs settings. I believe the defaults are the following (unless you've tweaked them for larger history, etc):

Code: Select all

Name Steps Rows Timespan** 
Hourly (1 Minute Average)  1  500  14400    
Daily (5 Minute Average)  1  600  86400    
Weekly (30 Minute Average)  6  700  604800    
Monthly (2 Hour Average)  24  775  2678400    
Yearly (1 Day Average)  288  797  33053184  
rsutton
Cacti User
Posts: 65
Joined: Fri Mar 06, 2009 12:46 pm

Post by rsutton »

the settings in my Data Sources > RRA mirror exactly what you have there. I have done almost no tweaking by the way, this installation is very close to stock.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

It must be your rrdtool version. I just copy/pasted that rrdtool create command into my test cacti enviroment (rrdtool 1.2.30 w32) and it worked fine.... hmmm
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

oh! You haven't installed the cacti 0.8.7d patches yet, have you? Do so, especially that SNMP value trim issue one -- it's effecting you. See the space in: DS:traffic_out:COUNTER:600:0: 10000000 ?
rsutton
Cacti User
Posts: 65
Joined: Fri Mar 06, 2009 12:46 pm

Post by rsutton »

I am using the same version as you - 1.2.30 w32

This is very frustrating! Is there a "process" for reinstalling the RRDtool or can I just uninstall then reinstall? Will I lose any Cacti settings/graphs etc?
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Did you miss my question about patching?
rsutton
Cacti User
Posts: 65
Joined: Fri Mar 06, 2009 12:46 pm

Post by rsutton »

BSOD2600 wrote:Did you miss my question about patching?
Yes :D

I will do that now! Thank you again for your time and help.
rsutton
Cacti User
Posts: 65
Joined: Fri Mar 06, 2009 12:46 pm

Post by rsutton »

Actually after looking at the patch files - I think I had already downloaded them. I may have done something wrong - from reading about the prepatched files I just download and overwrite the ones in my web root no? and then check NTFS permissions. I just did that even though I think I did it a while back. Will see if I am still getting create's in the cacti log.
rsutton
Cacti User
Posts: 65
Joined: Fri Mar 06, 2009 12:46 pm

Post by rsutton »

Looking at the log file it is still creating rrd files and I still see the space you mentioned:

03/25/2009 04:46:26 PM - POLLER: Poller[0] CACTI2RRD: c:/cacti/rrdtool.exe create C:/Inetpub/wwwroot/cacti/rra/vpn_concentrator_traffic_in_217.rrd --step 300 DS:traffic_in:COUNTER:600:0:9000000000000000 DS:traffic_out:COUNTER:600:0: 100000000 RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Please re-download the pre-patched files and overwrite the existing ones again. You're on cacti 0.8.7d, right?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest