Removed Device, Now Re-added the Device, No RRAs Created.

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
cacti4bigy
Posts: 10
Joined: Wed Jul 11, 2007 12:42 pm

Removed Device, Now Re-added the Device, No RRAs Created.

Post by cacti4bigy »

I had a Device that was polling / graphing fine. I deleted the device and all data sources graphs associated..... I re-added the device and now the new graphs that I am trying to create are not showing up ( broken graphs ). I noticed that the RRAs are not being created for this new node in the rra directory. Note : I am able to add any other device and their associated graphs without a problem. ( This is only a problem with this one particular device that I originally had built in and graphing fine ... ) I checked the debugging at high and can't find any traces in any logs / debugging anywhere that references the device name or <id>. What could be going on ? I did read some posts about duplicate data sources issue that was in versions 8.6 and earlier, however I am running 8.7d and also have checked the data templates for the data sources and to the best of my knowledge, there are now duplicates. Any suggestions ? Please this is driving me nuts... ( Just this one device has this problem ).

While viewing the graph via graph management with graph debugging enabled , it does show :

RRDTool Says:

ERROR: opening 'C:/Inetpub/wwwroot/cacti/rra/support_center_-_core_switch_traffic_in_1407.rrd': No such file or directory


To the best of my knowledge NTFS permissions are fine.... ( Windows 2k3 server btw )....

Anyone ?
Suggestions Please .... I've been searching the posts forever now....
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Since you had the cacti.log set to debug, what did cacti try to do with support_center_-_core_switch_traffic_in_1407.rrd ? What about DS[1407]?

The verbose query for disk or interface (or whatever you're trying to graph) return data?
User avatar
mariusz
Posts: 18
Joined: Wed May 06, 2009 2:15 am
Location: Poland

Post by mariusz »

I think it can be the same problem. Look at my post and follow my "fight". Maybe You will find some clues.

http://forums.cacti.net/viewtopic.php?t=32648
cacti4bigy
Posts: 10
Joined: Wed Jul 11, 2007 12:42 pm

Removed Device, Now Re-added the Device, No RRAs Created.

Post by cacti4bigy »

BSOD2600 :
( Is this what you are referring too as verbose query ? )
Data Source Debug

c:/rrdtool/rrdtool.exe create \
C:/Inetpub/wwwroot/cacti/rra/support_center_-_core_switch_traffic_in_1407.rrd \
--step 60 \
DS:traffic_in:COUNTER:600:0:100000000 \
DS:traffic_out:COUNTER:600:0:100000000 \
RRA:AVERAGE:0.5:1:500 \
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:MIN:0.5:1:500 \
RRA:MIN:0.5:1:600 \
RRA:MIN:0.5:6:700 \
RRA:MIN:0.5:24:775 \
RRA:MIN:0.5:288:797 \
RRA:MAX:0.5:1:500 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \
RRA:LAST:0.5:1:500 \
RRA:LAST:0.5:1:600 \
RRA:LAST:0.5:6:700 \
RRA:LAST:0.5:24:775 \
RRA:LAST:0.5:288:797 \

Also...
I did a search through the entire cacti.log while on debug level and could not find a single entry for : core_switch or 1407, or the device id itself.
( as if cacti has no knowledge etc of this device and ultimately doesn't try to do anything with it ).


mariusz :
I looked at your linked post ..... ( which appears you did not find a solution yet .... ? )

I agree there are similarities, and they might be the same issue, however I'm still failing to see what could be causing it / and ultimately how to fix it. I'm going through your post again to see if anything stands out...


Anyone :
If anything was "stuck" from the last time I had built this device in.... is there any way i can purge / clear anything in cacti, cache, mysql tables etc. for this particular device , or just a repair in general ? ( FYI I've done the rebuild poller cache through cli command ).

Overall....
Any other ideas ?
cacti4bigy
Posts: 10
Joined: Wed Jul 11, 2007 12:42 pm

Removed Device, Now Re-added the Device, No RRAs Created

Post by cacti4bigy »

BSOD2600 :
( Sorry wasn't thinking... )
I see where you meant for the verbose query


However... When I click Verbose query as in the print screen , it just loads a white blank page for the host id 84.

Attachments
Verbose Query Located / Clicked... but loads the blank page.
Verbose Query Located / Clicked... but loads the blank page.
Verbose Query.jpg (174.53 KiB) Viewed 2545 times
Blank page that loads after i click verbose query for the device / interface as shown in Verbose Query.jpg
Blank page that loads after i click verbose query for the device / interface as shown in Verbose Query.jpg
Blank Page.jpg (813.26 KiB) Viewed 2545 times
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

You have installed the 0.8.7d patches, right?

Hmm 1020 rows. Make sure the snmp timeout for that device is something reasonable. Also, make sure the php.ini memory and timeout values are increased. Would be useful to enable the php error_log to see if something else is breaking during the blank screen.
cacti4bigy
Posts: 10
Joined: Wed Jul 11, 2007 12:42 pm

Removed Device, Now Re-added the Device, No RRAs Created.

Post by cacti4bigy »

BSOD2600 :
Yes, I did install the 4 available patches for 8.7d. ( Unless there are more than im aware of..... ).

What would you consider reasonable for snmp timeout ?
Where would i adjust the php.ini memory and timout values ? and what would you recommend them being for an example ?
Also.... Where would I enable the php error_log ?

( Sorry for all the questions .... )

I appreciate the responses / suggestions :D
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: Removed Device, Now Re-added the Device, No RRAs Created

Post by BSOD2600 »

cacti4bigy wrote:What would you consider reasonable for snmp timeout ?
1000 to 3000ms is generally enough.
cacti4bigy wrote:Where would i adjust the php.ini memory and timout values ? and what would you recommend them being for an example ?
Also.... Where would I enable the php error_log ?
umm php.ini... it's a file typically in c:\php\php.ini...

Try doubling max_execution_time, max_input_time and memory_limit. Does the cacti technical support page say there is anything wrong?
cacti4bigy
Posts: 10
Joined: Wed Jul 11, 2007 12:42 pm

Removed Device, Now Re-added the Device, No RRAs Created

Post by cacti4bigy »

I changed the max etc. php settings as recommended in addition to the snmp timeout settings and no improvement. This is truely driving me nuts.... why just this one device ? The cacti technical support page indicates no problem. I can create graphs all day and add new nodes all day.... why only this one device ? It clearly can query the device via snmp since it pulls back the interfaces etc.... Help PLEASE Anyone !!
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

switch to the cmd.php poller. change cacti logging to debug. let the poller run. post your cacti.log as an attachment -- which HOST[##] is the problem child?
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests