cacti is not creating rrd [solved]

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

Moderators: Developers, Moderators

Post Reply
sepp
Posts: 47
Joined: Thu Jun 21, 2007 6:50 am
Location: germany

cacti is not creating rrd [solved]

Post by sepp »

Hello,

I am a bit clueless what's going on. I have cacti 0.86.i running perfectly and smoth with some plugins and a huge bunch of graphs. fine so far, everthing works. But when I try to add new datasources (as we lately got some new links in our net) cacti is not creating the according rrds. File permissions are fine, cacti is full access to the dir on the local machine.

Hm... I am at the end with my ideas. What can I provide to solve this? Anybody any idea? Has this been happening before?

many thanks,

//seb

edit: I just saw that I have same problem like brodock: http://forums.cacti.net/viewtopic.php?t=22285
Last edited by sepp on Tue Jul 24, 2007 4:04 am, edited 1 time in total.
User avatar
TheWitness
Developer
Posts: 17059
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Look at Gandolf's NAN debugging article. Also, please check your poller cache for entries for this host.

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?
sepp
Posts: 47
Joined: Thu Jun 21, 2007 6:50 am
Location: germany

Post by sepp »

ok thanks I will
sepp
Posts: 47
Joined: Thu Jun 21, 2007 6:50 am
Location: germany

Post by sepp »

hi again,

I checked everything from the NaN-check-site. But this is actually not reflecting my problem (although I obviously had some issues with some network-elements, but it was different data-sources).

In my case, cacti is not creating the rrd-file if I create a new data-source, allthough it has all the file-permissions etc.

or do I have a wrong understanding of rrd-creation? what I allready did is manually create a test-rrd in the according directoy ==> it works...

thanks

//seb

*edit: there is no entry in the poller cache
sepp
Posts: 47
Joined: Thu Jun 21, 2007 6:50 am
Location: germany

Post by sepp »

I just wonder if I was clear enough... THIS is my problem:

RRDTool Command:

/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="sepp" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bits per second" \
--slope-mode \
DEF:a="/usr/share/cacti/site/rra/xxxx_net_traffic_in_802.rrd":traffic_in:AVERAGE \
DEF:b="/usr/share/cacti/site/rra/xxxx_net_traffic_in_802.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:MAX:"Maximum\:%8.2lf%s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf%s\n" \
LINE1:cdefe#002A97:"Outbound" \
GPRINT:cdefe:LAST:"Current\:%8.2lf%s" \
GPRINT:cdefe:MAX:"Maximum\:%8.2lf%s" \
GPRINT:cdefe:AVERAGE:"Average\:%8.2lf%s"

RRDTool Says:

ERROR: opening '/usr/share/cacti/site/rra/xxxx_net_traffic_in_802.rrd': No such file or directory
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Cacti will not create rrd files if the target seems to be down. This is handled by "Downed Host Detection". Please report the status of the device from the DEVICE list
Reinhard
sepp
Posts: 47
Joined: Thu Jun 21, 2007 6:50 am
Location: germany

Post by sepp »

Hi gandalf,

maybe still I was not clear enough. The host/device is up and running and it is graphing it's links fine. I just want to add another link, but cacti refuses to create the rrd. Anyhow, the status is UP

many thanks,

//seb
Attachments
host_state.JPG
host_state.JPG (3.79 KiB) Viewed 1793 times
sepp
Posts: 47
Joined: Thu Jun 21, 2007 6:50 am
Location: germany

Post by sepp »

hm... select case somebody is investing time right now to think about it: please stop!

I solved the "non-creation-of-rrd-files" symptom => it was a problem between chair and keyboard.... in detail: I have chosen the logical interface instead of the physical on this machine to create a graph - this will never work.. now I have NaNs, but for this I follow gandalfs doku.

many thanks anyhow and sorry for the waste of time...

//sepp :oops: :oops:
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

That makes me re-think about the use of filtering (to be defined in the XML description of the DQ)
Reinhard
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests