Cacti / plugin_monitor

Monitor Plugin for Cacti
GNU General Public License v2.0
36 stars 39 forks source link

Table name is wrong ALTER TABLE plugin_monitor_update should be ALTER TABLE plugin_monitor_uptime #162

Closed MSS970 closed 8 months ago

MSS970 commented 9 months ago

https://github.com/Cacti/plugin_monitor/blob/396fa1da897127a2d45e78be107757c6d7be9ed5/setup.php#L190

Issue: table name is wrong:

    db_execute('ALTER TABLE plugin_monitor_update
        MODIFY COLUMN uptime BIGINT unsigned NOT NULL default "0"');

It should be:

    db_execute('ALTER TABLE plugin_monitor_uptime
        MODIFY COLUMN uptime BIGINT unsigned NOT NULL default "0"');
xmacan commented 8 months ago

Thank you for reporting. Fix #164