Search found 7 matches

by grigorov
Tue Dec 09, 2014 5:11 pm
Forum: Help: General
Topic: Bug in cli script repair_database.php
Replies: 5
Views: 1162

Re: Bug in cli script repair_database.php

My problem is that i have more than 2 000 000 records in data_input_data table. And i want to delete waste data. But i need confirmation is my solution correct. How to reproduce PROBLEM 1. Delete all graphs and data sources form cacti 2. check if no data SELECT COUNT(id) FROM cacti.data_template_dat...
by grigorov
Mon Dec 08, 2014 5:07 pm
Forum: Help: General
Topic: Bug in cli script repair_database.php
Replies: 5
Views: 1162

Re: Bug in cli script repair_database.php

Cacti version: 0.8.8c

Revision 7551
by grigorov
Mon Dec 08, 2014 3:08 pm
Forum: Help: General
Topic: Bug in cli script repair_database.php
Replies: 5
Views: 1162

Bug in cli script repair_database.php

In the cli script there is a code to cleanup data_input_data table: /* remove invalid Data Input Data Rows from the Database in two passes */ $rows = db_fetch_cell("SELECT count(*) FROM data_input_data LEFT JOIN data_template_data ON data_template_data.data_input_id=data_input_data.data_templat...
by grigorov
Wed Feb 15, 2012 2:37 am
Forum: Help: General
Topic: Holes on graphs after upgrade from 0.8.7e to 0.8.7i
Replies: 3
Views: 794

Re: Holes on graphs after upgrade from 0.8.7e to 0.8.7i

The problem is solved.

Table Engine was changed back to MyISAM in MySQL.
by grigorov
Tue Feb 14, 2012 7:51 am
Forum: Help: General
Topic: Holes on graphs after upgrade from 0.8.7e to 0.8.7i
Replies: 3
Views: 794

Re: Holes on graphs after upgrade from 0.8.7e to 0.8.7i

May be it will more clear if i post some configuratons. First of all, when we used 0.8.7e MySQL engine was MyISAM, after upgragde i converted all tables to InnoDB. In update process there were error updating table 'data_template_rrd' table, so i changed 'cacti-0.8.7i-PIA-3.1/install/0_8_7g_to_0_8_7h...
by grigorov
Tue Feb 14, 2012 5:01 am
Forum: Help: General
Topic: Holes on graphs after upgrade from 0.8.7e to 0.8.7i
Replies: 3
Views: 794

Holes on graphs after upgrade from 0.8.7e to 0.8.7i

Hi, sorry for my english.

We are using cacti to collect data from 1530 devices (83732 ds, 50792 graphs). It was version 0.8.7e. We updated it to 0.8.7i and after that on every graph there are holes. What data i must provide for the next step.

Poller starts every 1 minute.

As example one attachment.