Fixing Issue #4808 - Poller Output Issues

- WARNING: Poller Output Table not Empty
- This is a summer solution.  The real solution is a bit more complicated
This commit is contained in:
TheWitness committed 2022-06-10 22:10:42 -04:00
1 parent 9676863d80
commit e567b089a7
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -2,6 +2,7 @@ Cacti CHANGELOG
1.2.22
-issue#4802: Typo in lib/auth.php prevents users from changing their password and logging in
-issue#4808: WARNING: Poller Output Table not Empty
-issue#4810: Call to undefined function boost_debug in Cacti log
-issue#4796: Hint at poller issues when boost fails
-issue#4806: Search in tree view unusable on sizeable installations
+1 -1
View File
@@ -385,7 +385,7 @@ if (cacti_sizeof($poller_items) && read_config_option('poller_enabled') == 'on')
$output_array[] = sprintf('(%d, %s, CURRENT_TIMESTAMP(), %s)', $item['local_data_id'], db_qstr($item['rrd_name']), db_qstr($output));
}
if ($output_count > 1000) {
if ($output_count > 2000) {
cacti_log("Device[$host_id] Writing $output_count items to Poller Output Table", $print_data_to_stdout, 'POLLER', debug_level($host_id, POLLER_VERBOSITY_MEDIUM));
db_execute('INSERT IGNORE INTO poller_output