The cacti stopped create graphs

Posted on 2012-08-15
Last Modified: 2012-09-03

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 .
Question by:aspenbr
    LVL 76

    Expert Comment

    Check MySQL tables.
    Are all rra files not being updates or just some?
    Check permission son the rra folder.
    LVL 1

    Author Comment

    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                                         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
    LVL 76

    Expert Comment

    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.
    LVL 1

    Author Comment

    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.
    LVL 1

    Author Comment

    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

    How can I reinstall RRDTOOL on Cacti  ?
    LVL 1

    Author Comment

    I found the place  , have changed version to 1.3.8
    LVL 76

    Accepted Solution

    This is within the settings/configuration.
    I.e. you say retool 1.4 while the installed version is 1.3.
    Run rrdtool --version

    Featured Post

    Better Security Awareness With Threat Intelligence

    See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

    Join & Write a Comment

    I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
    The purpose of this article is to demonstrate how we can use conditional statements using Python.
    Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now