mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Modified SNMP alerts table
This commit is contained in:
parent
11ff3db6c8
commit
2d90099c1e
2 changed files with 10 additions and 2 deletions
|
|
@ -325,7 +325,7 @@ CREATE TABLE IF NOT EXISTS `snmp_alerts` ON CLUSTER '$CLUSTER' (
|
|||
`alert_status` UInt8 NOT NULL,
|
||||
`interface_id` UInt16 NULL,
|
||||
`ip` String NOT NULL,
|
||||
`port` UInt16,
|
||||
`port` UInt32,
|
||||
`name` String,
|
||||
`port_name` String,
|
||||
`tstamp` DateTime NOT NULL,
|
||||
|
|
@ -342,6 +342,10 @@ CREATE TABLE IF NOT EXISTS `snmp_alerts` ON CLUSTER '$CLUSTER' (
|
|||
|
||||
@
|
||||
|
||||
ALTER TABLE `snmp_alerts` MODIFY COLUMN `port` UInt32;
|
||||
|
||||
@
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `network_alerts` ON CLUSTER '$CLUSTER' (
|
||||
`rowid` UUID,
|
||||
`local_network_id` UInt16 NOT NULL,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue