• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1990
  • Last Modified:

The cacti stopped create graphs

Dear,


I have Cacti Version 0.8.7i today the tool stop make new graphs , someone knows if this issue is some kind bug ?

Snmp, poller is working without problems .

Thank very much .
0
aspenbr
Asked:
aspenbr
  • 4
  • 3
1 Solution
 
arnoldCommented:
Check MySQL tables.
Are all rra files not being updates or just some?
Check permission son the rra folder.
0
 
aspenbrAuthor Commented:
Hi Arnold.

Thank for your answer .

The RRA files are updates with date tomorow (15/08),  I have put max permission (777) onfolder cacti

-rwxrwxrwx   1 apache apache  47K Aug 15 17:00 monitor_cpu_nice_18.rrd
-rwxrwxrwx   1 apache apache  47K Aug 15 17:00 monitor_cpu_system_19.rrd
-rwxrwxrwx   1 apache apache  47K Aug 15 17:00 monitor_cpu_user_20.rrd
-rwxrwxrwx   1 apache apache  93K Aug 15 17:00 monitor_hdd_free_29.rrd
-rwxrwxrwx   1 apache apache  93K Aug 15 17:00 monitor_hdd_free_30.rrd
-rwxrwxrwx   1 apache apache  93K Aug 15 17:00 monitor_hdd_free_31.rrd
-rwxrwxrwx   1 apache apache  47K Aug 15 17:00 monitor_load_15min_22.rrd
-rwxrwxrwx   1 apache apache  47K Aug 15 17:00 monitor_load_1min_21.rrd
-rwxrwxrwx   1 apache apache  47K Aug 15 17:00 monitor_load_5min_23.rrd
-rwxrwxrwx   1 apache apache  47K Aug 15 17:00 monitor_mem_buffers_24.rrd
-rwxrwxrwx   1 apache apache  47K Aug 15 17:00 monitor_mem_cache_25.rrd
-rwxrwxrwx   1 apache apache  47K Aug 15 17:00 monitor_mem_free_26.rrd
-rwxrwxrwx   1 apache apache  93K Aug 15 17:00 monitor_traffic_in_27.rrd
-rwxrwxrwx   1 apache apache  93K Aug 15 17:00 monitor_traffic_in_28.rrd


The result of mysqlcheck at database cacti


sol ~]# mysqlcheck -u root -p -c cacti
mysqlcheck -u root -p -c cacti
Enter password:
cacti.cdef                                         OK
cacti.cdef_items                                   OK
cacti.colors                                       OK
cacti.data_input                                   OK
cacti.data_input_data                              OK
cacti.data_input_fields                            OK
cacti.data_local                                   OK
cacti.data_template                                OK
cacti.data_template_data                           OK
cacti.data_template_data_rra                       OK
cacti.data_template_rrd                            OK
cacti.graph_local                                  OK
cacti.graph_template_input                         OK
cacti.graph_template_input_defs                    OK
cacti.graph_templates                              OK
cacti.graph_templates_gprint                       OK
cacti.graph_templates_graph                        OK
cacti.graph_templates_item                         OK
cacti.graph_tree                                   OK
cacti.graph_tree_items                             OK
cacti.host                                         OK
cacti.host_graph                                   OK
cacti.host_snmp_cache                              OK
cacti.host_snmp_query                              OK
cacti.host_template                                OK
cacti.host_template_graph                          OK
cacti.host_template_snmp_query                     OK
cacti.poller                                       OK
cacti.poller_command                               OK
cacti.poller_item                                  OK
cacti.poller_output                                OK
cacti.poller_reindex                               OK
cacti.poller_time                                  OK
cacti.rra                                          OK
cacti.rra_cf                                       OK
cacti.settings                                     OK
cacti.settings_graphs                              OK
cacti.settings_tree                                OK
cacti.snmp_query                                   OK
cacti.snmp_query_graph                             OK
cacti.snmp_query_graph_rrd                         OK
cacti.snmp_query_graph_rrd_sv                      OK
cacti.snmp_query_graph_sv                          OK
cacti.user_auth                                    OK
cacti.user_auth_perms                              OK
cacti.user_auth_realm                              OK
cacti.user_log                                     OK
cacti.version                                      OK
0
 
arnoldCommented:
777 will cause Selinux to block access to the files.
The rra should have 755, and the files 644 while owned by cacti which is presumably what your polling cron job runs as.
0
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
aspenbrAuthor Commented:
The Selinux was disabled after cacti stop graph,. I have tried 644  permission but Apache is forbidden the access folder Cacti , when change to 744 works  and the folder 'RRA' have set permission  to 644 .

I have ever executed the jobs  using the user  root  never show any issue. At moment I don´t  belive necessary change user of jobs to cacti.
0
 
aspenbrAuthor Commented:
I saw the message at  Technical Support

ERROR: Installed RRDTool version does not match configured version.
Please visit the Configuration Settings and select the correct RRDTool Utility Versio
n.


How can I reinstall RRDTOOL on Cacti  ?
0
 
aspenbrAuthor Commented:
I found the place  , have changed version to 1.3.8
0
 
arnoldCommented:
This is within the settings/configuration.
I.e. you say retool 1.4 while the installed version is 1.3.
Run rrdtool --version
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Certified Penetration Testing

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now