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.
RRD file not being created
Moderators: Developers, Moderators
-
- Posts: 6
- Joined: Wed Apr 06, 2016 3:28 am
RRD file not being created
- Attachments
-
- Selection_001.png (94.98 KiB) Viewed 844 times
Re: RRD file not being created
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.
Do you have permissions set on /rra folder?
Check cacti.log with debug enabled and it should give you a good reason.
-
- Posts: 6
- Joined: Wed Apr 06, 2016 3:28 am
Re: RRD file not being created
Hey Micke2k thanks for the reply,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.
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
- Selection_001.png (192.54 KiB) Viewed 839 times
Re: RRD file not being created
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
Is there any files in /rra folder?
We are looking for error messages in the log
-
- Posts: 6
- Joined: Wed Apr 06, 2016 3:28 am
Re: RRD file not being created
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.
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 (54 KiB) Viewed 809 times
-
- Posts: 6
- Joined: Wed Apr 06, 2016 3:28 am
Re: RRD file not being created
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
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
Who is online
Users browsing this forum: No registered users and 2 guests