Do get SNMP response, but no RRD file created

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

Moderators: Developers, Moderators

Post Reply
henrih
Posts: 2
Joined: Wed Nov 30, 2005 8:37 am

Do get SNMP response, but no RRD file created

Post by henrih »

Hi there,

I'm a bit of a newbie to this but at the moment I have no clue as to where I start looking.
This is the problem I have:
I have got a fully working Cacti installation. I have got multiple devices that poll ok, and show me nice graphs. Now I try to add a new device (cisco PIX). Adding the device goes ok, making an interface statistics quesry goes ok, but in the end it does's create the RRD file.
In the log file's you can see that SNMP information is being retrieved from the device, I can see that it wants to write it to the correct RRD file, but the file isn't there.
I have deleted and recreated the device multiple times, done a snmpwalk on the device (ok). So the device seems to respond ok, but somehow cacti doesn't want to create the rrd file.
I also ran PHP multiple times with no luck.......

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

Post by BSOD2600 »

1) What versions of everything are you running?
2) So you're saying you have other graphs with are updating fine, just not your new PIX one? If thats the case, you need to check the security level of your /cacti/rra folder and make sure the user running the scheduled task has 'modify' rights on the folder/files.
3) Look in your cacti log file after running it in debug for one cycle. Do you see CACTI2RRD entries relating to your cisco pix?
henrih
Posts: 2
Joined: Wed Nov 30, 2005 8:37 am

Post by henrih »

1) RRD1.0.48
PHP 4.3.10 RC1
MySql 4.0.17-NT
Apache 2.0.52
Cacti 0.8.6g
Windows XP Pro

2) Security settings are ok. When I add a switch, cacti directly creates the RRD files and starts polling

3)

This is what it says in the log file.

12/01/2005 09:00:29 AM - WEBLOG: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=1133337625 --end=1133424025 --title="PIX - Traffic - 84.35.81.145 (PIX Firewall outside interface)" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 COMMENT:"From 2005/11/30 09:00:25 To 2005/12/01 09:00:25\c" COMMENT:" \n" --vertical-label="bytes per second" DEF:a="C\:/Apache2/htdocs/cacti/rra/pix_traffic_in_250.rrd":traffic_in:AVERAGE DEF:b="C\:/Apache2/htdocs/cacti/rra/pix_traffic_in_250.rrd":traffic_out:AVERAGE AREA:a#00CF00:"Inbound" GPRINT:a:LAST:" Current\:%8.2lf%s" GPRINT:a:AVERAGE:"Average\:%8.2lf%s" GPRINT:a:MAX:"Maximum\:%8.2lf%s\n" LINE1:b#002A97:"Outbound" GPRINT:b:LAST:"Current\:%8.2lf%s" GPRINT:b:AVERAGE:"Average\:%8.2lf%s" GPRINT:b:MAX:"Maximum\:%8.2lf%s"
12/01/2005 09:00:28 AM - WEBLOG: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=1133337625 --end=1133424025 --title="PIX - Traffic - 10.110.0.254 (PIX Firewall inside interface)" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 COMMENT:"From 2005/11/30 09:00:25 To 2005/12/01 09:00:25\c" COMMENT:" \n" --vertical-label="bytes per second" DEF:a="C\:/Apache2/htdocs/cacti/rra/pix_traffic_in_251.rrd":traffic_in:AVERAGE DEF:b="C\:/Apache2/htdocs/cacti/rra/pix_traffic_in_251.rrd":traffic_out:AVERAGE AREA:a#00CF00:"Inbound" GPRINT:a:LAST:" Current\:%8.2lf%s" GPRINT:a:AVERAGE:"Average\:%8.2lf%s" GPRINT:a:MAX:"Maximum\:%8.2lf%s\n" LINE1:b#002A97:"Outbound" GPRINT:b:LAST:"Current\:%8.2lf%s" GPRINT:b:AVERAGE:"Average\:%8.2lf%s" GPRINT:b:MAX:"Maximum\:%8.2lf%s"
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Those log events are from Cacti/rrdtool actually creating the graph for viewing, not creating/updating the actual rrd file. I suggest you turn off WEBEVENTS, change the polling level to debug for one cycle and look again for entries relating to your PIX. Sounds possibly like no valid data is being collected.
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests