Cacti / plugin_syslog

Syslog Plugin for Cacti
GNU General Public License v2.0
21 stars 16 forks source link

Master #163

Closed bmfmancini closed 2 years ago

bmfmancini commented 2 years ago

Fix for https://github.com/Cacti/plugin_syslog/issues/161

Uninstall/install tested

 desc syslog;
+-------------+---------------------+------+-----+---------------------+----------------+
| Field       | Type                | Null | Key | Default             | Extra          |
+-------------+---------------------+------+-----+---------------------+----------------+
| facility_id | int(10) unsigned    | YES  | MUL | NULL                |                |
| priority_id | int(10) unsigned    | YES  | MUL | NULL                |                |
| program_id  | int(10) unsigned    | YES  | MUL | NULL                |                |
| host_id     | int(10) unsigned    | YES  | MUL | NULL                |                |
| logtime     | timestamp           | NO   | MUL | 0000-00-00 00:00:00 |                |
| message     | varchar(2048)       | NO   |     |                     |                |
| seq         | bigint(20) unsigned | NO   | PRI | NULL                | auto_increment |
+-------------+---------------------+------+-----+---------------------+----------------+
7 rows in set (0.011 sec)
TheWitness commented 2 years ago

Sean, can you please rework and make against develop?

netniV commented 2 years ago

I was literally about to ask the same thing 👍

netniV commented 2 years ago

Oh and don't forget the upgrade code, that also needs to change the column.