Skip to content

When poller runs, memory tables may not always be present #4396

@kim-fitness

Description

@kim-fitness

Describe the bug

In cacti log, it reports that poller_output_boost_processes, poller_output_realtime are missing on the database server

To Reproduce

Cannot reproduce

Additional context

We can make en enhancement in the poller.php to check those two tables' existence (poller_output_boost_processes and poller_output_realtime). Just like what we have done for table poller_output_boost as following

// catch the unlikely event that the poller_output_boost is missing
if (!db_table_exists('poller_output_boost')) {
	db_execute('CREATE TABLE poller_output_boost LIKE poller_output');
	db_execute('ALTER TABLE poller_output_boost ENGINE=InnoDB');
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugUndesired behaviourenhancementGeneral tag for an enhancementresolvedA fixed issue

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions