RRD file not being created

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

Moderators: Developers, Moderators

Post Reply
pricklyone
Posts: 6
Joined: Wed Apr 06, 2016 3:28 am

RRD file not being created

Post by pricklyone »

Hi all,
I am completely new to Cacti, and RRDtool in general. I've been trying to create graphs with the default templates and its okay so far.
I am now trying to monitor Traffic with the Data Query - SNMP Interface Statistics.
My problem is that the RRD file is not being created, so no graph is showing.
After debugging, and seeing issue, I've manually added the rrd file into the /rra director.
I now see a graph, but data isn't being polled.
Attachments
Selection_001.png
Selection_001.png (94.98 KiB) Viewed 843 times
User avatar
micke2k
Cacti User
Posts: 261
Joined: Wed Feb 03, 2016 3:38 pm

Re: RRD file not being created

Post by micke2k »

Well you need to check why it isnt created manually?

Do you have permissions set on /rra folder?

Check cacti.log with debug enabled and it should give you a good reason.
pricklyone
Posts: 6
Joined: Wed Apr 06, 2016 3:28 am

Re: RRD file not being created

Post by pricklyone »

micke2k wrote:Well you need to check why it isnt created manually?

Do you have permissions set on /rra folder?

Check cacti.log with debug enabled and it should give you a good reason.
Hey Micke2k thanks for the reply,

I think the permissions on the folder are okay: d rwx rwx ---

as for the cacti.log, I'm not sure what I should be looking for. I've attached a picture of a segment of the log.
Attachments
the defined rrd, is the file that should be created, but it isn't
the defined rrd, is the file that should be created, but it isn't
Selection_001.png (192.54 KiB) Viewed 838 times
User avatar
micke2k
Cacti User
Posts: 261
Joined: Wed Feb 03, 2016 3:38 pm

Re: RRD file not being created

Post by micke2k »

Yes but who is the owner of the /rra folder? Is it the same as the webserver?

Is there any files in /rra folder?

We are looking for error messages in the log
pricklyone
Posts: 6
Joined: Wed Apr 06, 2016 3:28 am

Re: RRD file not being created

Post by pricklyone »

Hey Micke2k

The owner of the /rra folder is different from the webserver, but I have already made sure that the permissions are properly set.

There are files in the rra folder, however anything SNMP related doesn't exist.
i.e. there are no rrd files (related to SNMP) that are created through cacti.

Also, I don't see any errors in cacti.log

Side note: the OID's for the SNMP statistics exist, so the data querying should be working.
Attachments
Selection_001.png
Selection_001.png (54 KiB) Viewed 808 times
pricklyone
Posts: 6
Joined: Wed Apr 06, 2016 3:28 am

Re: RRD file not being created

Post by pricklyone »

Its okay now!
turns out it was an issue in snmpd.conf
had to remove the '#' from the line: #rocommunity public localhost
did this to have full access from the local host
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests