LibreNMS/misc/db_schema.yaml

1918 lines
127 KiB
YAML

access_points:
Columns:
- { Field: accesspoint_id, Type: 'int(10) unsigned', 'Null': false, Extra: auto_increment }
- { Field: device_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: name, Type: varchar(255), 'Null': false, Extra: '' }
- { Field: radio_number, Type: tinyint(4), 'Null': true, Extra: '' }
- { Field: type, Type: varchar(16), 'Null': false, Extra: '' }
- { Field: mac_addr, Type: varchar(24), 'Null': false, Extra: '' }
- { Field: deleted, Type: tinyint(1), 'Null': false, Extra: '', Default: '0' }
- { Field: channel, Type: 'tinyint(3) unsigned', 'Null': false, Extra: '', Default: '0' }
- { Field: txpow, Type: tinyint(4), 'Null': false, Extra: '', Default: '0' }
- { Field: radioutil, Type: tinyint(4), 'Null': false, Extra: '', Default: '0' }
- { Field: numasoclients, Type: smallint(6), 'Null': false, Extra: '', Default: '0' }
- { Field: nummonclients, Type: smallint(6), 'Null': false, Extra: '', Default: '0' }
- { Field: numactbssid, Type: tinyint(4), 'Null': false, Extra: '', Default: '0' }
- { Field: nummonbssid, Type: tinyint(4), 'Null': false, Extra: '', Default: '0' }
- { Field: interference, Type: 'tinyint(3) unsigned', 'Null': false, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [accesspoint_id], Unique: true, Type: BTREE }
deleted: { Name: deleted, Columns: [deleted], Unique: false, Type: BTREE }
name: { Name: name, Columns: [name, radio_number], Unique: false, Type: BTREE }
alerts:
Columns:
- { Field: id, Type: 'int(10) unsigned', 'Null': false, Extra: auto_increment }
- { Field: device_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: rule_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: state, Type: int(11), 'Null': false, Extra: '' }
- { Field: alerted, Type: int(11), 'Null': false, Extra: '' }
- { Field: open, Type: int(11), 'Null': false, Extra: '' }
- { Field: note, Type: text, 'Null': true, Extra: '' }
- { Field: timestamp, Type: timestamp, 'Null': false, Extra: 'on update CURRENT_TIMESTAMP', Default: CURRENT_TIMESTAMP }
- { Field: info, Type: text, 'Null': false, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [id], Unique: true, Type: BTREE }
device_id: { Name: device_id, Columns: [device_id], Unique: false, Type: BTREE }
rule_id: { Name: rule_id, Columns: [rule_id], Unique: false, Type: BTREE }
unique_alert: { Name: unique_alert, Columns: [device_id, rule_id], Unique: true, Type: BTREE }
alert_device_map:
Columns:
- { Field: id, Type: 'int(10) unsigned', 'Null': false, Extra: auto_increment }
- { Field: rule_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: device_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [id], Unique: true, Type: BTREE }
alert_device_map_rule_id_device_id_uindex: { Name: alert_device_map_rule_id_device_id_uindex, Columns: [rule_id, device_id], Unique: true, Type: BTREE }
alert_group_map:
Columns:
- { Field: id, Type: 'int(10) unsigned', 'Null': false, Extra: auto_increment }
- { Field: rule_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: group_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [id], Unique: true, Type: BTREE }
alert_group_map_rule_id_group_id_uindex: { Name: alert_group_map_rule_id_group_id_uindex, Columns: [rule_id, group_id], Unique: true, Type: BTREE }
alert_log:
Columns:
- { Field: id, Type: 'int(10) unsigned', 'Null': false, Extra: auto_increment }
- { Field: rule_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: device_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: state, Type: int(11), 'Null': false, Extra: '' }
- { Field: details, Type: longblob, 'Null': true, Extra: '' }
- { Field: time_logged, Type: timestamp, 'Null': false, Extra: '', Default: CURRENT_TIMESTAMP }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [id], Unique: true, Type: BTREE }
device_id: { Name: device_id, Columns: [device_id], Unique: false, Type: BTREE }
rule_id: { Name: rule_id, Columns: [rule_id], Unique: false, Type: BTREE }
time_logged: { Name: time_logged, Columns: [time_logged], Unique: false, Type: BTREE }
alert_rules:
Columns:
- { Field: id, Type: 'int(10) unsigned', 'Null': false, Extra: auto_increment }
- { Field: rule, Type: text, 'Null': false, Extra: '' }
- { Field: severity, Type: 'enum(''ok'',''warning'',''critical'')', 'Null': false, Extra: '' }
- { Field: extra, Type: varchar(255), 'Null': false, Extra: '' }
- { Field: disabled, Type: tinyint(1), 'Null': false, Extra: '' }
- { Field: name, Type: varchar(255), 'Null': false, Extra: '' }
- { Field: query, Type: text, 'Null': false, Extra: '' }
- { Field: builder, Type: text, 'Null': false, Extra: '' }
- { Field: proc, Type: varchar(80), 'Null': true, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [id], Unique: true, Type: BTREE }
name: { Name: name, Columns: [name], Unique: true, Type: BTREE }
alert_schedulables:
Columns:
- { Field: item_id, Type: 'int(10) unsigned', 'Null': false, Extra: auto_increment }
- { Field: schedule_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: alert_schedulable_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: alert_schedulable_type, Type: varchar(255), 'Null': false, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [item_id], Unique: true, Type: BTREE }
schedulable_morph_index: { Name: schedulable_morph_index, Columns: [alert_schedulable_type, alert_schedulable_id], Unique: false, Type: BTREE }
schedule_id: { Name: schedule_id, Columns: [schedule_id], Unique: false, Type: BTREE }
alert_schedule:
Columns:
- { Field: schedule_id, Type: 'int(10) unsigned', 'Null': false, Extra: auto_increment }
- { Field: recurring, Type: 'tinyint(1) unsigned', 'Null': false, Extra: '', Default: '0' }
- { Field: start, Type: datetime, 'Null': false, Extra: '', Default: '1970-01-02 00:00:01' }
- { Field: end, Type: datetime, 'Null': false, Extra: '', Default: '1970-01-02 00:00:01' }
- { Field: start_recurring_dt, Type: date, 'Null': false, Extra: '', Default: '1970-01-01' }
- { Field: end_recurring_dt, Type: date, 'Null': true, Extra: '' }
- { Field: start_recurring_hr, Type: time, 'Null': false, Extra: '', Default: '00:00:00' }
- { Field: end_recurring_hr, Type: time, 'Null': false, Extra: '', Default: '00:00:00' }
- { Field: recurring_day, Type: varchar(15), 'Null': true, Extra: '' }
- { Field: title, Type: varchar(255), 'Null': false, Extra: '' }
- { Field: notes, Type: text, 'Null': false, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [schedule_id], Unique: true, Type: BTREE }
alert_templates:
Columns:
- { Field: id, Type: 'int(10) unsigned', 'Null': false, Extra: auto_increment }
- { Field: name, Type: varchar(255), 'Null': false, Extra: '' }
- { Field: template, Type: longtext, 'Null': false, Extra: '' }
- { Field: title, Type: varchar(255), 'Null': true, Extra: '' }
- { Field: title_rec, Type: varchar(255), 'Null': true, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [id], Unique: true, Type: BTREE }
alert_template_map:
Columns:
- { Field: id, Type: 'int(10) unsigned', 'Null': false, Extra: auto_increment }
- { Field: alert_templates_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: alert_rule_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [id], Unique: true, Type: BTREE }
alert_templates_id: { Name: alert_templates_id, Columns: [alert_templates_id, alert_rule_id], Unique: false, Type: BTREE }
alert_transports:
Columns:
- { Field: transport_id, Type: 'int(10) unsigned', 'Null': false, Extra: auto_increment }
- { Field: transport_name, Type: varchar(30), 'Null': false, Extra: '' }
- { Field: transport_type, Type: varchar(20), 'Null': false, Extra: '', Default: mail }
- { Field: is_default, Type: tinyint(1), 'Null': false, Extra: '', Default: '0' }
- { Field: transport_config, Type: text, 'Null': true, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [transport_id], Unique: true, Type: BTREE }
alert_transport_groups:
Columns:
- { Field: transport_group_id, Type: 'int(10) unsigned', 'Null': false, Extra: auto_increment }
- { Field: transport_group_name, Type: varchar(30), 'Null': false, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [transport_group_id], Unique: true, Type: BTREE }
alert_transport_map:
Columns:
- { Field: id, Type: 'int(10) unsigned', 'Null': false, Extra: auto_increment }
- { Field: rule_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: transport_or_group_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: target_type, Type: varchar(16), 'Null': false, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [id], Unique: true, Type: BTREE }
api_tokens:
Columns:
- { Field: id, Type: 'int(10) unsigned', 'Null': false, Extra: auto_increment }
- { Field: user_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: token_hash, Type: varchar(255), 'Null': true, Extra: '' }
- { Field: description, Type: varchar(100), 'Null': false, Extra: '' }
- { Field: disabled, Type: tinyint(1), 'Null': false, Extra: '', Default: '0' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [id], Unique: true, Type: BTREE }
token_hash: { Name: token_hash, Columns: [token_hash], Unique: true, Type: BTREE }
applications:
Columns:
- { Field: app_id, Type: 'int(10) unsigned', 'Null': false, Extra: auto_increment }
- { Field: device_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: app_type, Type: varchar(64), 'Null': false, Extra: '' }
- { Field: app_state, Type: varchar(32), 'Null': false, Extra: '', Default: UNKNOWN }
- { Field: discovered, Type: tinyint(4), 'Null': false, Extra: '', Default: '0' }
- { Field: app_state_prev, Type: varchar(32), 'Null': true, Extra: '' }
- { Field: app_status, Type: varchar(8), 'Null': false, Extra: '' }
- { Field: timestamp, Type: timestamp, 'Null': false, Extra: 'on update CURRENT_TIMESTAMP', Default: CURRENT_TIMESTAMP }
- { Field: app_instance, Type: varchar(255), 'Null': false, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [app_id], Unique: true, Type: BTREE }
unique_index: { Name: unique_index, Columns: [device_id, app_type], Unique: true, Type: BTREE }
application_metrics:
Columns:
- { Field: app_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: metric, Type: varchar(32), 'Null': false, Extra: '' }
- { Field: value, Type: double, 'Null': true, Extra: '' }
- { Field: value_prev, Type: double, 'Null': true, Extra: '' }
Indexes:
application_metrics_app_id_metric_uindex: { Name: application_metrics_app_id_metric_uindex, Columns: [app_id, metric], Unique: true, Type: BTREE }
authlog:
Columns:
- { Field: id, Type: 'int(10) unsigned', 'Null': false, Extra: auto_increment }
- { Field: datetime, Type: timestamp, 'Null': false, Extra: '', Default: CURRENT_TIMESTAMP }
- { Field: user, Type: text, 'Null': false, Extra: '' }
- { Field: address, Type: text, 'Null': false, Extra: '' }
- { Field: result, Type: text, 'Null': false, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [id], Unique: true, Type: BTREE }
bgpPeers:
Columns:
- { Field: bgpPeer_id, Type: 'int(10) unsigned', 'Null': false, Extra: auto_increment }
- { Field: device_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: vrf_id, Type: 'int(10) unsigned', 'Null': true, Extra: '' }
- { Field: astext, Type: varchar(255), 'Null': false, Extra: '' }
- { Field: bgpPeerIdentifier, Type: text, 'Null': false, Extra: '' }
- { Field: bgpPeerRemoteAs, Type: bigint(20), 'Null': false, Extra: '' }
- { Field: bgpPeerState, Type: text, 'Null': false, Extra: '' }
- { Field: bgpPeerAdminStatus, Type: text, 'Null': false, Extra: '' }
- { Field: bgpLocalAddr, Type: text, 'Null': false, Extra: '' }
- { Field: bgpPeerRemoteAddr, Type: text, 'Null': false, Extra: '' }
- { Field: bgpPeerDescr, Type: varchar(255), 'Null': false, Extra: '', Default: '' }
- { Field: bgpPeerInUpdates, Type: int(11), 'Null': false, Extra: '' }
- { Field: bgpPeerOutUpdates, Type: int(11), 'Null': false, Extra: '' }
- { Field: bgpPeerInTotalMessages, Type: int(11), 'Null': false, Extra: '' }
- { Field: bgpPeerOutTotalMessages, Type: int(11), 'Null': false, Extra: '' }
- { Field: bgpPeerFsmEstablishedTime, Type: int(11), 'Null': false, Extra: '' }
- { Field: bgpPeerInUpdateElapsedTime, Type: int(11), 'Null': false, Extra: '' }
- { Field: context_name, Type: varchar(128), 'Null': true, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [bgpPeer_id], Unique: true, Type: BTREE }
device_id: { Name: device_id, Columns: [device_id, context_name], Unique: false, Type: BTREE }
bgpPeers_cbgp:
Columns:
- { Field: device_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: bgpPeerIdentifier, Type: varchar(64), 'Null': false, Extra: '' }
- { Field: afi, Type: varchar(16), 'Null': false, Extra: '' }
- { Field: safi, Type: varchar(16), 'Null': false, Extra: '' }
- { Field: AcceptedPrefixes, Type: int(11), 'Null': false, Extra: '' }
- { Field: DeniedPrefixes, Type: int(11), 'Null': false, Extra: '' }
- { Field: PrefixAdminLimit, Type: int(11), 'Null': false, Extra: '' }
- { Field: PrefixThreshold, Type: int(11), 'Null': false, Extra: '' }
- { Field: PrefixClearThreshold, Type: int(11), 'Null': false, Extra: '' }
- { Field: AdvertisedPrefixes, Type: int(11), 'Null': false, Extra: '' }
- { Field: SuppressedPrefixes, Type: int(11), 'Null': false, Extra: '' }
- { Field: WithdrawnPrefixes, Type: int(11), 'Null': false, Extra: '' }
- { Field: AcceptedPrefixes_delta, Type: int(11), 'Null': false, Extra: '' }
- { Field: AcceptedPrefixes_prev, Type: int(11), 'Null': false, Extra: '' }
- { Field: DeniedPrefixes_delta, Type: int(11), 'Null': false, Extra: '' }
- { Field: DeniedPrefixes_prev, Type: int(11), 'Null': false, Extra: '' }
- { Field: AdvertisedPrefixes_delta, Type: int(11), 'Null': false, Extra: '' }
- { Field: AdvertisedPrefixes_prev, Type: int(11), 'Null': false, Extra: '' }
- { Field: SuppressedPrefixes_delta, Type: int(11), 'Null': false, Extra: '' }
- { Field: SuppressedPrefixes_prev, Type: int(11), 'Null': false, Extra: '' }
- { Field: WithdrawnPrefixes_delta, Type: int(11), 'Null': false, Extra: '' }
- { Field: WithdrawnPrefixes_prev, Type: int(11), 'Null': false, Extra: '' }
- { Field: context_name, Type: varchar(128), 'Null': true, Extra: '' }
Indexes:
device_id: { Name: device_id, Columns: [device_id, bgpPeerIdentifier, context_name], Unique: false, Type: BTREE }
unique_index: { Name: unique_index, Columns: [device_id, bgpPeerIdentifier, afi, safi], Unique: true, Type: BTREE }
bills:
Columns:
- { Field: bill_id, Type: 'int(10) unsigned', 'Null': false, Extra: auto_increment }
- { Field: bill_name, Type: text, 'Null': false, Extra: '' }
- { Field: bill_type, Type: text, 'Null': false, Extra: '' }
- { Field: bill_cdr, Type: bigint(20), 'Null': true, Extra: '' }
- { Field: bill_day, Type: int(11), 'Null': false, Extra: '', Default: '1' }
- { Field: bill_quota, Type: bigint(20), 'Null': true, Extra: '' }
- { Field: rate_95th_in, Type: bigint(20), 'Null': false, Extra: '' }
- { Field: rate_95th_out, Type: bigint(20), 'Null': false, Extra: '' }
- { Field: rate_95th, Type: bigint(20), 'Null': false, Extra: '' }
- { Field: dir_95th, Type: varchar(3), 'Null': false, Extra: '' }
- { Field: total_data, Type: bigint(20), 'Null': false, Extra: '' }
- { Field: total_data_in, Type: bigint(20), 'Null': false, Extra: '' }
- { Field: total_data_out, Type: bigint(20), 'Null': false, Extra: '' }
- { Field: rate_average_in, Type: bigint(20), 'Null': false, Extra: '' }
- { Field: rate_average_out, Type: bigint(20), 'Null': false, Extra: '' }
- { Field: rate_average, Type: bigint(20), 'Null': false, Extra: '' }
- { Field: bill_last_calc, Type: datetime, 'Null': false, Extra: '' }
- { Field: bill_custid, Type: varchar(64), 'Null': false, Extra: '' }
- { Field: bill_ref, Type: varchar(64), 'Null': false, Extra: '' }
- { Field: bill_notes, Type: varchar(256), 'Null': false, Extra: '' }
- { Field: bill_autoadded, Type: tinyint(1), 'Null': false, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [bill_id], Unique: true, Type: BTREE }
bill_data:
Columns:
- { Field: bill_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: timestamp, Type: datetime, 'Null': false, Extra: '' }
- { Field: period, Type: int(11), 'Null': false, Extra: '' }
- { Field: delta, Type: bigint(20), 'Null': false, Extra: '' }
- { Field: in_delta, Type: bigint(20), 'Null': false, Extra: '' }
- { Field: out_delta, Type: bigint(20), 'Null': false, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [bill_id, timestamp], Unique: true, Type: BTREE }
bill_id: { Name: bill_id, Columns: [bill_id], Unique: false, Type: BTREE }
bill_history:
Columns:
- { Field: bill_hist_id, Type: 'int(10) unsigned', 'Null': false, Extra: auto_increment }
- { Field: bill_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: updated, Type: timestamp, 'Null': false, Extra: '', Default: CURRENT_TIMESTAMP }
- { Field: bill_datefrom, Type: datetime, 'Null': false, Extra: '' }
- { Field: bill_dateto, Type: datetime, 'Null': false, Extra: '' }
- { Field: bill_type, Type: text, 'Null': false, Extra: '' }
- { Field: bill_allowed, Type: bigint(20), 'Null': false, Extra: '' }
- { Field: bill_used, Type: bigint(20), 'Null': false, Extra: '' }
- { Field: bill_overuse, Type: bigint(20), 'Null': false, Extra: '' }
- { Field: bill_percent, Type: 'decimal(10,2)', 'Null': false, Extra: '' }
- { Field: rate_95th_in, Type: bigint(20), 'Null': false, Extra: '' }
- { Field: rate_95th_out, Type: bigint(20), 'Null': false, Extra: '' }
- { Field: rate_95th, Type: bigint(20), 'Null': false, Extra: '' }
- { Field: dir_95th, Type: varchar(3), 'Null': false, Extra: '' }
- { Field: rate_average, Type: bigint(20), 'Null': false, Extra: '' }
- { Field: rate_average_in, Type: bigint(20), 'Null': false, Extra: '' }
- { Field: rate_average_out, Type: bigint(20), 'Null': false, Extra: '' }
- { Field: traf_in, Type: bigint(20), 'Null': false, Extra: '' }
- { Field: traf_out, Type: bigint(20), 'Null': false, Extra: '' }
- { Field: traf_total, Type: bigint(20), 'Null': false, Extra: '' }
- { Field: pdf, Type: longblob, 'Null': true, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [bill_hist_id], Unique: true, Type: BTREE }
bill_id: { Name: bill_id, Columns: [bill_id], Unique: false, Type: BTREE }
unique_index: { Name: unique_index, Columns: [bill_id, bill_datefrom, bill_dateto], Unique: true, Type: BTREE }
bill_perms:
Columns:
- { Field: user_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: bill_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
bill_ports:
Columns:
- { Field: bill_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: port_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: bill_port_autoadded, Type: tinyint(1), 'Null': false, Extra: '', Default: '0' }
bill_port_counters:
Columns:
- { Field: port_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: timestamp, Type: timestamp, 'Null': false, Extra: '', Default: CURRENT_TIMESTAMP }
- { Field: in_counter, Type: bigint(20), 'Null': true, Extra: '' }
- { Field: in_delta, Type: bigint(20), 'Null': false, Extra: '', Default: '0' }
- { Field: out_counter, Type: bigint(20), 'Null': true, Extra: '' }
- { Field: out_delta, Type: bigint(20), 'Null': false, Extra: '', Default: '0' }
- { Field: bill_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [port_id, bill_id], Unique: true, Type: BTREE }
callback:
Columns:
- { Field: callback_id, Type: 'int(10) unsigned', 'Null': false, Extra: auto_increment }
- { Field: name, Type: char(64), 'Null': false, Extra: '' }
- { Field: value, Type: char(64), 'Null': false, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [callback_id], Unique: true, Type: BTREE }
cef_switching:
Columns:
- { Field: cef_switching_id, Type: 'int(10) unsigned', 'Null': false, Extra: auto_increment }
- { Field: device_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: entPhysicalIndex, Type: int(11), 'Null': false, Extra: '' }
- { Field: afi, Type: varchar(4), 'Null': false, Extra: '' }
- { Field: cef_index, Type: int(11), 'Null': false, Extra: '' }
- { Field: cef_path, Type: varchar(16), 'Null': false, Extra: '' }
- { Field: drop, Type: int(11), 'Null': false, Extra: '' }
- { Field: punt, Type: int(11), 'Null': false, Extra: '' }
- { Field: punt2host, Type: int(11), 'Null': false, Extra: '' }
- { Field: drop_prev, Type: int(11), 'Null': false, Extra: '' }
- { Field: punt_prev, Type: int(11), 'Null': false, Extra: '' }
- { Field: punt2host_prev, Type: int(11), 'Null': false, Extra: '' }
- { Field: updated, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: updated_prev, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [cef_switching_id], Unique: true, Type: BTREE }
device_id: { Name: device_id, Columns: [device_id, entPhysicalIndex, afi, cef_index], Unique: true, Type: BTREE }
ciscoASA:
Columns:
- { Field: ciscoASA_id, Type: 'int(10) unsigned', 'Null': false, Extra: auto_increment }
- { Field: device_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: oid, Type: varchar(255), 'Null': false, Extra: '' }
- { Field: data, Type: bigint(20), 'Null': false, Extra: '' }
- { Field: high_alert, Type: bigint(20), 'Null': false, Extra: '' }
- { Field: low_alert, Type: bigint(20), 'Null': false, Extra: '' }
- { Field: disabled, Type: tinyint(4), 'Null': false, Extra: '', Default: '0' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [ciscoASA_id], Unique: true, Type: BTREE }
device_id: { Name: device_id, Columns: [device_id], Unique: false, Type: BTREE }
component:
Columns:
- { Field: id, Type: 'int(10) unsigned', 'Null': false, Extra: auto_increment }
- { Field: device_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: type, Type: varchar(50), 'Null': false, Extra: '' }
- { Field: label, Type: varchar(255), 'Null': true, Extra: '' }
- { Field: status, Type: tinyint(1), 'Null': false, Extra: '', Default: '0' }
- { Field: disabled, Type: tinyint(1), 'Null': false, Extra: '', Default: '0' }
- { Field: ignore, Type: tinyint(1), 'Null': false, Extra: '', Default: '0' }
- { Field: error, Type: varchar(255), 'Null': true, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [id], Unique: true, Type: BTREE }
device: { Name: device, Columns: [device_id], Unique: false, Type: BTREE }
type: { Name: type, Columns: [type], Unique: false, Type: BTREE }
component_prefs:
Columns:
- { Field: id, Type: 'int(10) unsigned', 'Null': false, Extra: auto_increment }
- { Field: component, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: attribute, Type: varchar(255), 'Null': false, Extra: '' }
- { Field: value, Type: text, 'Null': false, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [id], Unique: true, Type: BTREE }
component: { Name: component, Columns: [component], Unique: false, Type: BTREE }
Constraints:
component_prefs_ibfk_1: { name: component_prefs_ibfk_1, foreign_key: component, table: component, key: id, extra: 'ON DELETE CASCADE ON UPDATE CASCADE' }
component_statuslog:
Columns:
- { Field: id, Type: 'int(10) unsigned', 'Null': false, Extra: auto_increment }
- { Field: component_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: status, Type: tinyint(1), 'Null': false, Extra: '', Default: '0' }
- { Field: message, Type: text, 'Null': true, Extra: '' }
- { Field: timestamp, Type: timestamp, 'Null': false, Extra: '', Default: CURRENT_TIMESTAMP }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [id], Unique: true, Type: BTREE }
device: { Name: device, Columns: [component_id], Unique: false, Type: BTREE }
Constraints:
component_statuslog_ibfk_1: { name: component_statuslog_ibfk_1, foreign_key: component_id, table: component, key: id, extra: 'ON DELETE CASCADE ON UPDATE CASCADE' }
config:
Columns:
- { Field: config_id, Type: 'int(10) unsigned', 'Null': false, Extra: auto_increment }
- { Field: config_name, Type: varchar(255), 'Null': false, Extra: '' }
- { Field: config_value, Type: varchar(512), 'Null': false, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [config_id], Unique: true, Type: BTREE }
uniqueindex_configname: { Name: uniqueindex_configname, Columns: [config_name], Unique: true, Type: BTREE }
customers:
Columns:
- { Field: customer_id, Type: 'int(10) unsigned', 'Null': false, Extra: auto_increment }
- { Field: username, Type: char(64), 'Null': false, Extra: '' }
- { Field: password, Type: char(32), 'Null': false, Extra: '' }
- { Field: string, Type: char(64), 'Null': false, Extra: '' }
- { Field: level, Type: tinyint(4), 'Null': false, Extra: '', Default: '0' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [customer_id], Unique: true, Type: BTREE }
username: { Name: username, Columns: [username], Unique: true, Type: BTREE }
dashboards:
Columns:
- { Field: dashboard_id, Type: 'int(10) unsigned', 'Null': false, Extra: auto_increment }
- { Field: user_id, Type: 'int(10) unsigned', 'Null': false, Extra: '', Default: '0' }
- { Field: dashboard_name, Type: varchar(255), 'Null': false, Extra: '' }
- { Field: access, Type: tinyint(1), 'Null': false, Extra: '', Default: '0' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [dashboard_id], Unique: true, Type: BTREE }
dbSchema:
Columns:
- { Field: version, Type: int(11), 'Null': false, Extra: '', Default: '0' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [version], Unique: true, Type: BTREE }
devices:
Columns:
- { Field: device_id, Type: 'int(10) unsigned', 'Null': false, Extra: auto_increment }
- { Field: hostname, Type: varchar(128), 'Null': false, Extra: '' }
- { Field: sysName, Type: varchar(128), 'Null': true, Extra: '' }
- { Field: ip, Type: varbinary(16), 'Null': true, Extra: '' }
- { Field: community, Type: varchar(255), 'Null': true, Extra: '' }
- { Field: authlevel, Type: 'enum(''noAuthNoPriv'',''authNoPriv'',''authPriv'')', 'Null': true, Extra: '' }
- { Field: authname, Type: varchar(64), 'Null': true, Extra: '' }
- { Field: authpass, Type: varchar(64), 'Null': true, Extra: '' }
- { Field: authalgo, Type: 'enum(''MD5'',''SHA'')', 'Null': true, Extra: '' }
- { Field: cryptopass, Type: varchar(64), 'Null': true, Extra: '' }
- { Field: cryptoalgo, Type: 'enum(''AES'',''DES'','''')', 'Null': true, Extra: '' }
- { Field: snmpver, Type: varchar(4), 'Null': false, Extra: '', Default: v2c }
- { Field: port, Type: 'smallint(5) unsigned', 'Null': false, Extra: '', Default: '161' }
- { Field: transport, Type: varchar(16), 'Null': false, Extra: '', Default: udp }
- { Field: timeout, Type: int(11), 'Null': true, Extra: '' }
- { Field: retries, Type: int(11), 'Null': true, Extra: '' }
- { Field: snmp_disable, Type: tinyint(1), 'Null': false, Extra: '', Default: '0' }
- { Field: bgpLocalAs, Type: 'int(10) unsigned', 'Null': true, Extra: '' }
- { Field: sysObjectID, Type: varchar(128), 'Null': true, Extra: '' }
- { Field: sysDescr, Type: text, 'Null': true, Extra: '' }
- { Field: sysContact, Type: text, 'Null': true, Extra: '' }
- { Field: version, Type: text, 'Null': true, Extra: '' }
- { Field: hardware, Type: text, 'Null': true, Extra: '' }
- { Field: features, Type: text, 'Null': true, Extra: '' }
- { Field: location_id, Type: 'int(10) unsigned', 'Null': true, Extra: '' }
- { Field: os, Type: varchar(32), 'Null': true, Extra: '' }
- { Field: status, Type: tinyint(1), 'Null': false, Extra: '', Default: '0' }
- { Field: status_reason, Type: varchar(50), 'Null': false, Extra: '' }
- { Field: ignore, Type: tinyint(1), 'Null': false, Extra: '', Default: '0' }
- { Field: disabled, Type: tinyint(1), 'Null': false, Extra: '', Default: '0' }
- { Field: uptime, Type: bigint(20), 'Null': true, Extra: '' }
- { Field: agent_uptime, Type: 'int(10) unsigned', 'Null': false, Extra: '', Default: '0' }
- { Field: last_polled, Type: timestamp, 'Null': true, Extra: '' }
- { Field: last_poll_attempted, Type: timestamp, 'Null': true, Extra: '' }
- { Field: last_polled_timetaken, Type: 'double(5,2)', 'Null': true, Extra: '' }
- { Field: last_discovered_timetaken, Type: 'double(5,2)', 'Null': true, Extra: '' }
- { Field: last_discovered, Type: timestamp, 'Null': true, Extra: '' }
- { Field: last_ping, Type: timestamp, 'Null': true, Extra: '' }
- { Field: last_ping_timetaken, Type: 'double(8,2)', 'Null': true, Extra: '' }
- { Field: purpose, Type: text, 'Null': true, Extra: '' }
- { Field: type, Type: varchar(20), 'Null': false, Extra: '', Default: '' }
- { Field: serial, Type: text, 'Null': true, Extra: '' }
- { Field: icon, Type: varchar(255), 'Null': true, Extra: '' }
- { Field: poller_group, Type: int(11), 'Null': false, Extra: '', Default: '0' }
- { Field: override_sysLocation, Type: tinyint(1), 'Null': true, Extra: '', Default: '0' }
- { Field: notes, Type: text, 'Null': true, Extra: '' }
- { Field: port_association_mode, Type: int(11), 'Null': false, Extra: '', Default: '1' }
- { Field: max_depth, Type: int(11), 'Null': false, Extra: '', Default: '0' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [device_id], Unique: true, Type: BTREE }
hostname: { Name: hostname, Columns: [hostname], Unique: false, Type: BTREE }
last_poll_attempted: { Name: last_poll_attempted, Columns: [last_poll_attempted], Unique: false, Type: BTREE }
last_polled: { Name: last_polled, Columns: [last_polled], Unique: false, Type: BTREE }
os: { Name: os, Columns: [os], Unique: false, Type: BTREE }
status: { Name: status, Columns: [status], Unique: false, Type: BTREE }
sysName: { Name: sysName, Columns: [sysName], Unique: false, Type: BTREE }
devices_attribs:
Columns:
- { Field: attrib_id, Type: 'int(10) unsigned', 'Null': false, Extra: auto_increment }
- { Field: device_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: attrib_type, Type: varchar(32), 'Null': false, Extra: '' }
- { Field: attrib_value, Type: text, 'Null': false, Extra: '' }
- { Field: updated, Type: timestamp, 'Null': false, Extra: 'on update CURRENT_TIMESTAMP', Default: CURRENT_TIMESTAMP }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [attrib_id], Unique: true, Type: BTREE }
device_id: { Name: device_id, Columns: [device_id], Unique: false, Type: BTREE }
devices_perms:
Columns:
- { Field: user_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: device_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
Indexes:
user_id: { Name: user_id, Columns: [user_id], Unique: false, Type: BTREE }
device_graphs:
Columns:
- { Field: device_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: graph, Type: varchar(255), 'Null': true, Extra: '' }
Indexes:
device_id: { Name: device_id, Columns: [device_id], Unique: false, Type: BTREE }
device_groups:
Columns:
- { Field: id, Type: 'int(10) unsigned', 'Null': false, Extra: auto_increment }
- { Field: name, Type: varchar(255), 'Null': false, Extra: '', Default: '' }
- { Field: desc, Type: varchar(255), 'Null': true, Extra: '', Default: '' }
- { Field: type, Type: varchar(16), 'Null': false, Extra: '', Default: dynamic }
- { Field: rules, Type: text, 'Null': true, Extra: '' }
- { Field: pattern, Type: text, 'Null': true, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [id], Unique: true, Type: BTREE }
name: { Name: name, Columns: [name], Unique: true, Type: BTREE }
device_group_device:
Columns:
- { Field: device_group_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: device_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [device_group_id, device_id], Unique: true, Type: BTREE }
device_group_device_device_group_id_index: { Name: device_group_device_device_group_id_index, Columns: [device_group_id], Unique: false, Type: BTREE }
device_group_device_device_id_index: { Name: device_group_device_device_id_index, Columns: [device_id], Unique: false, Type: BTREE }
Constraints:
device_group_device_device_group_id_foreign: { name: device_group_device_device_group_id_foreign, foreign_key: device_group_id, table: device_groups, key: id, extra: 'ON DELETE CASCADE' }
device_group_device_device_id_foreign: { name: device_group_device_device_id_foreign, foreign_key: device_id, table: devices, key: device_id, extra: 'ON DELETE CASCADE' }
device_mibs:
Columns:
- { Field: device_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: module, Type: varchar(255), 'Null': false, Extra: '' }
- { Field: mib, Type: varchar(255), 'Null': false, Extra: '' }
- { Field: included_by, Type: varchar(255), 'Null': false, Extra: '' }
- { Field: last_modified, Type: timestamp, 'Null': false, Extra: 'on update CURRENT_TIMESTAMP', Default: CURRENT_TIMESTAMP }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [device_id, module, mib], Unique: true, Type: BTREE }
device_oids:
Columns:
- { Field: device_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: oid, Type: varchar(255), 'Null': false, Extra: '' }
- { Field: module, Type: varchar(255), 'Null': false, Extra: '' }
- { Field: mib, Type: varchar(255), 'Null': false, Extra: '' }
- { Field: object_type, Type: varchar(255), 'Null': false, Extra: '' }
- { Field: value, Type: varchar(255), 'Null': true, Extra: '' }
- { Field: numvalue, Type: bigint(20), 'Null': true, Extra: '' }
- { Field: last_modified, Type: timestamp, 'Null': false, Extra: 'on update CURRENT_TIMESTAMP', Default: CURRENT_TIMESTAMP }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [device_id, oid], Unique: true, Type: BTREE }
device_perf:
Columns:
- { Field: id, Type: 'int(10) unsigned', 'Null': false, Extra: auto_increment }
- { Field: device_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: timestamp, Type: datetime, 'Null': false, Extra: '' }
- { Field: xmt, Type: int(11), 'Null': false, Extra: '' }
- { Field: rcv, Type: int(11), 'Null': false, Extra: '' }
- { Field: loss, Type: int(11), 'Null': false, Extra: '' }
- { Field: min, Type: 'double(8,2)', 'Null': false, Extra: '' }
- { Field: max, Type: 'double(8,2)', 'Null': false, Extra: '' }
- { Field: avg, Type: 'double(8,2)', 'Null': false, Extra: '' }
- { Field: debug, Type: text, 'Null': true, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [id], Unique: true, Type: BTREE }
device_id: { Name: device_id, Columns: [device_id], Unique: false, Type: BTREE }
device_relationships:
Columns:
- { Field: parent_device_id, Type: 'int(10) unsigned', 'Null': false, Extra: '', Default: '0' }
- { Field: child_device_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [parent_device_id, child_device_id], Unique: true, Type: BTREE }
device_relationship_child_device_id_fk: { Name: device_relationship_child_device_id_fk, Columns: [child_device_id], Unique: false, Type: BTREE }
Constraints:
device_relationship_child_device_id_fk: { name: device_relationship_child_device_id_fk, foreign_key: child_device_id, table: devices, key: device_id, extra: 'ON DELETE CASCADE' }
device_relationship_parent_device_id_fk: { name: device_relationship_parent_device_id_fk, foreign_key: parent_device_id, table: devices, key: device_id, extra: 'ON DELETE CASCADE' }
entityState:
Columns:
- { Field: entity_state_id, Type: 'int(10) unsigned', 'Null': false, Extra: auto_increment }
- { Field: device_id, Type: 'int(10) unsigned', 'Null': true, Extra: '' }
- { Field: entPhysical_id, Type: 'int(10) unsigned', 'Null': true, Extra: '' }
- { Field: entStateLastChanged, Type: datetime, 'Null': true, Extra: '' }
- { Field: entStateAdmin, Type: int(11), 'Null': true, Extra: '' }
- { Field: entStateOper, Type: int(11), 'Null': true, Extra: '' }
- { Field: entStateUsage, Type: int(11), 'Null': true, Extra: '' }
- { Field: entStateAlarm, Type: text, 'Null': true, Extra: '' }
- { Field: entStateStandby, Type: int(11), 'Null': true, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [entity_state_id], Unique: true, Type: BTREE }
entityState_device_id_index: { Name: entityState_device_id_index, Columns: [device_id], Unique: false, Type: BTREE }
entPhysical:
Columns:
- { Field: entPhysical_id, Type: 'int(10) unsigned', 'Null': false, Extra: auto_increment }
- { Field: device_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: entPhysicalIndex, Type: int(11), 'Null': false, Extra: '' }
- { Field: entPhysicalDescr, Type: text, 'Null': false, Extra: '' }
- { Field: entPhysicalClass, Type: text, 'Null': false, Extra: '' }
- { Field: entPhysicalName, Type: text, 'Null': false, Extra: '' }
- { Field: entPhysicalHardwareRev, Type: varchar(64), 'Null': true, Extra: '' }
- { Field: entPhysicalFirmwareRev, Type: varchar(64), 'Null': true, Extra: '' }
- { Field: entPhysicalSoftwareRev, Type: varchar(64), 'Null': true, Extra: '' }
- { Field: entPhysicalAlias, Type: varchar(32), 'Null': true, Extra: '' }
- { Field: entPhysicalAssetID, Type: varchar(32), 'Null': true, Extra: '' }
- { Field: entPhysicalIsFRU, Type: varchar(8), 'Null': true, Extra: '' }
- { Field: entPhysicalModelName, Type: text, 'Null': false, Extra: '' }
- { Field: entPhysicalVendorType, Type: text, 'Null': true, Extra: '' }
- { Field: entPhysicalSerialNum, Type: text, 'Null': false, Extra: '' }
- { Field: entPhysicalContainedIn, Type: int(11), 'Null': false, Extra: '' }
- { Field: entPhysicalParentRelPos, Type: int(11), 'Null': false, Extra: '' }
- { Field: entPhysicalMfgName, Type: text, 'Null': false, Extra: '' }
- { Field: ifIndex, Type: int(11), 'Null': true, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [entPhysical_id], Unique: true, Type: BTREE }
device_id: { Name: device_id, Columns: [device_id], Unique: false, Type: BTREE }
entPhysical_state:
Columns:
- { Field: device_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: entPhysicalIndex, Type: varchar(64), 'Null': false, Extra: '' }
- { Field: subindex, Type: varchar(64), 'Null': true, Extra: '' }
- { Field: group, Type: varchar(64), 'Null': false, Extra: '' }
- { Field: key, Type: varchar(64), 'Null': false, Extra: '' }
- { Field: value, Type: varchar(255), 'Null': false, Extra: '' }
Indexes:
device_id_index: { Name: device_id_index, Columns: [device_id, entPhysicalIndex], Unique: false, Type: BTREE }
eventlog:
Columns:
- { Field: event_id, Type: 'int(10) unsigned', 'Null': false, Extra: auto_increment }
- { Field: device_id, Type: 'int(10) unsigned', 'Null': true, Extra: '' }
- { Field: datetime, Type: datetime, 'Null': false, Extra: '', Default: '1970-01-02 00:00:01' }
- { Field: message, Type: text, 'Null': true, Extra: '' }
- { Field: type, Type: varchar(64), 'Null': true, Extra: '' }
- { Field: reference, Type: varchar(64), 'Null': true, Extra: '' }
- { Field: username, Type: varchar(128), 'Null': true, Extra: '' }
- { Field: severity, Type: tinyint(4), 'Null': false, Extra: '', Default: '2' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [event_id], Unique: true, Type: BTREE }
datetime: { Name: datetime, Columns: [datetime], Unique: false, Type: BTREE }
device_id: { Name: device_id, Columns: [device_id], Unique: false, Type: BTREE }
graph_types:
Columns:
- { Field: graph_type, Type: varchar(32), 'Null': false, Extra: '' }
- { Field: graph_subtype, Type: varchar(64), 'Null': false, Extra: '' }
- { Field: graph_section, Type: varchar(32), 'Null': false, Extra: '' }
- { Field: graph_descr, Type: varchar(255), 'Null': true, Extra: '' }
- { Field: graph_order, Type: int(11), 'Null': false, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [graph_type, graph_subtype, graph_section], Unique: true, Type: BTREE }
graph_section: { Name: graph_section, Columns: [graph_section], Unique: false, Type: BTREE }
graph_subtype: { Name: graph_subtype, Columns: [graph_subtype], Unique: false, Type: BTREE }
graph_type: { Name: graph_type, Columns: [graph_type], Unique: false, Type: BTREE }
hrDevice:
Columns:
- { Field: hrDevice_id, Type: 'int(10) unsigned', 'Null': false, Extra: auto_increment }
- { Field: device_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: hrDeviceIndex, Type: int(11), 'Null': false, Extra: '' }
- { Field: hrDeviceDescr, Type: text, 'Null': false, Extra: '' }
- { Field: hrDeviceType, Type: text, 'Null': false, Extra: '' }
- { Field: hrDeviceErrors, Type: int(11), 'Null': false, Extra: '', Default: '0' }
- { Field: hrDeviceStatus, Type: text, 'Null': false, Extra: '' }
- { Field: hrProcessorLoad, Type: tinyint(4), 'Null': true, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [hrDevice_id], Unique: true, Type: BTREE }
device_id: { Name: device_id, Columns: [device_id], Unique: false, Type: BTREE }
ipsec_tunnels:
Columns:
- { Field: tunnel_id, Type: 'int(10) unsigned', 'Null': false, Extra: auto_increment }
- { Field: device_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: peer_port, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: peer_addr, Type: varchar(64), 'Null': false, Extra: '' }
- { Field: local_addr, Type: varchar(64), 'Null': false, Extra: '' }
- { Field: local_port, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: tunnel_name, Type: varchar(96), 'Null': false, Extra: '' }
- { Field: tunnel_status, Type: varchar(11), 'Null': false, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [tunnel_id], Unique: true, Type: BTREE }
unique_index: { Name: unique_index, Columns: [device_id, peer_addr], Unique: true, Type: BTREE }
ipv4_addresses:
Columns:
- { Field: ipv4_address_id, Type: 'int(10) unsigned', 'Null': false, Extra: auto_increment }
- { Field: ipv4_address, Type: varchar(32), 'Null': false, Extra: '' }
- { Field: ipv4_prefixlen, Type: int(11), 'Null': false, Extra: '' }
- { Field: ipv4_network_id, Type: varchar(32), 'Null': false, Extra: '' }
- { Field: port_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: context_name, Type: varchar(128), 'Null': true, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [ipv4_address_id], Unique: true, Type: BTREE }
interface_id: { Name: interface_id, Columns: [port_id], Unique: false, Type: BTREE }
ipv4_mac:
Columns:
- { Field: port_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: device_id, Type: 'int(10) unsigned', 'Null': true, Extra: '' }
- { Field: mac_address, Type: varchar(32), 'Null': false, Extra: '' }
- { Field: ipv4_address, Type: varchar(32), 'Null': false, Extra: '' }
- { Field: context_name, Type: varchar(128), 'Null': false, Extra: '' }
Indexes:
mac_address: { Name: mac_address, Columns: [mac_address], Unique: false, Type: BTREE }
port_id: { Name: port_id, Columns: [port_id], Unique: false, Type: BTREE }
ipv4_networks:
Columns:
- { Field: ipv4_network_id, Type: 'int(10) unsigned', 'Null': false, Extra: auto_increment }
- { Field: ipv4_network, Type: varchar(64), 'Null': false, Extra: '' }
- { Field: context_name, Type: varchar(128), 'Null': true, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [ipv4_network_id], Unique: true, Type: BTREE }
ipv6_addresses:
Columns:
- { Field: ipv6_address_id, Type: 'int(10) unsigned', 'Null': false, Extra: auto_increment }
- { Field: ipv6_address, Type: varchar(128), 'Null': false, Extra: '' }
- { Field: ipv6_compressed, Type: varchar(128), 'Null': false, Extra: '' }
- { Field: ipv6_prefixlen, Type: int(11), 'Null': false, Extra: '' }
- { Field: ipv6_origin, Type: varchar(16), 'Null': false, Extra: '' }
- { Field: ipv6_network_id, Type: varchar(128), 'Null': false, Extra: '' }
- { Field: port_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: context_name, Type: varchar(128), 'Null': true, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [ipv6_address_id], Unique: true, Type: BTREE }
interface_id: { Name: interface_id, Columns: [port_id], Unique: false, Type: BTREE }
ipv6_networks:
Columns:
- { Field: ipv6_network_id, Type: 'int(10) unsigned', 'Null': false, Extra: auto_increment }
- { Field: ipv6_network, Type: varchar(64), 'Null': false, Extra: '' }
- { Field: context_name, Type: varchar(128), 'Null': true, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [ipv6_network_id], Unique: true, Type: BTREE }
juniAtmVp:
Columns:
- { Field: juniAtmVp_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: port_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: vp_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: vp_descr, Type: varchar(32), 'Null': false, Extra: '' }
Indexes:
port_id: { Name: port_id, Columns: [port_id], Unique: false, Type: BTREE }
links:
Columns:
- { Field: id, Type: 'int(10) unsigned', 'Null': false, Extra: auto_increment }
- { Field: local_port_id, Type: 'int(10) unsigned', 'Null': true, Extra: '' }
- { Field: local_device_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: remote_port_id, Type: 'int(10) unsigned', 'Null': true, Extra: '' }
- { Field: active, Type: tinyint(1), 'Null': false, Extra: '', Default: '1' }
- { Field: protocol, Type: varchar(11), 'Null': true, Extra: '' }
- { Field: remote_hostname, Type: varchar(128), 'Null': false, Extra: '' }
- { Field: remote_device_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: remote_port, Type: varchar(128), 'Null': false, Extra: '' }
- { Field: remote_platform, Type: varchar(256), 'Null': true, Extra: '' }
- { Field: remote_version, Type: varchar(256), 'Null': false, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [id], Unique: true, Type: BTREE }
dst_if: { Name: dst_if, Columns: [remote_port_id], Unique: false, Type: BTREE }
local_device_id: { Name: local_device_id, Columns: [local_device_id, remote_device_id], Unique: false, Type: BTREE }
src_if: { Name: src_if, Columns: [local_port_id], Unique: false, Type: BTREE }
loadbalancer_rservers:
Columns:
- { Field: rserver_id, Type: 'int(10) unsigned', 'Null': false, Extra: auto_increment }
- { Field: farm_id, Type: varchar(128), 'Null': false, Extra: '' }
- { Field: device_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: StateDescr, Type: varchar(64), 'Null': false, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [rserver_id], Unique: true, Type: BTREE }
loadbalancer_vservers:
Columns:
- { Field: classmap_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: classmap, Type: varchar(128), 'Null': false, Extra: '' }
- { Field: serverstate, Type: varchar(64), 'Null': false, Extra: '' }
- { Field: device_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
Indexes:
device_id: { Name: device_id, Columns: [device_id], Unique: false, Type: BTREE }
locations:
Columns:
- { Field: id, Type: 'int(10) unsigned', 'Null': false, Extra: auto_increment }
- { Field: location, Type: varchar(255), 'Null': false, Extra: '' }
- { Field: lat, Type: 'double(10,6)', 'Null': true, Extra: '' }
- { Field: lng, Type: 'double(10,6)', 'Null': true, Extra: '' }
- { Field: timestamp, Type: datetime, 'Null': false, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [id], Unique: true, Type: BTREE }
locations_location_uindex: { Name: locations_location_uindex, Columns: [location], Unique: true, Type: BTREE }
mac_accounting:
Columns:
- { Field: ma_id, Type: 'int(10) unsigned', 'Null': false, Extra: auto_increment }
- { Field: port_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: mac, Type: varchar(32), 'Null': false, Extra: '' }
- { Field: in_oid, Type: varchar(128), 'Null': false, Extra: '' }
- { Field: out_oid, Type: varchar(128), 'Null': false, Extra: '' }
- { Field: bps_out, Type: int(11), 'Null': false, Extra: '' }
- { Field: bps_in, Type: int(11), 'Null': false, Extra: '' }
- { Field: cipMacHCSwitchedBytes_input, Type: bigint(20), 'Null': true, Extra: '' }
- { Field: cipMacHCSwitchedBytes_input_prev, Type: bigint(20), 'Null': true, Extra: '' }
- { Field: cipMacHCSwitchedBytes_input_delta, Type: bigint(20), 'Null': true, Extra: '' }
- { Field: cipMacHCSwitchedBytes_input_rate, Type: int(11), 'Null': true, Extra: '' }
- { Field: cipMacHCSwitchedBytes_output, Type: bigint(20), 'Null': true, Extra: '' }
- { Field: cipMacHCSwitchedBytes_output_prev, Type: bigint(20), 'Null': true, Extra: '' }
- { Field: cipMacHCSwitchedBytes_output_delta, Type: bigint(20), 'Null': true, Extra: '' }
- { Field: cipMacHCSwitchedBytes_output_rate, Type: int(11), 'Null': true, Extra: '' }
- { Field: cipMacHCSwitchedPkts_input, Type: bigint(20), 'Null': true, Extra: '' }
- { Field: cipMacHCSwitchedPkts_input_prev, Type: bigint(20), 'Null': true, Extra: '' }
- { Field: cipMacHCSwitchedPkts_input_delta, Type: bigint(20), 'Null': true, Extra: '' }
- { Field: cipMacHCSwitchedPkts_input_rate, Type: int(11), 'Null': true, Extra: '' }
- { Field: cipMacHCSwitchedPkts_output, Type: bigint(20), 'Null': true, Extra: '' }
- { Field: cipMacHCSwitchedPkts_output_prev, Type: bigint(20), 'Null': true, Extra: '' }
- { Field: cipMacHCSwitchedPkts_output_delta, Type: bigint(20), 'Null': true, Extra: '' }
- { Field: cipMacHCSwitchedPkts_output_rate, Type: int(11), 'Null': true, Extra: '' }
- { Field: poll_time, Type: 'int(10) unsigned', 'Null': true, Extra: '' }
- { Field: poll_prev, Type: 'int(10) unsigned', 'Null': true, Extra: '' }
- { Field: poll_period, Type: 'int(10) unsigned', 'Null': true, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [ma_id], Unique: true, Type: BTREE }
interface_id: { Name: interface_id, Columns: [port_id], Unique: false, Type: BTREE }
interface_id_2: { Name: interface_id_2, Columns: [port_id], Unique: false, Type: BTREE }
mefinfo:
Columns:
- { Field: id, Type: 'int(10) unsigned', 'Null': false, Extra: auto_increment }
- { Field: device_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: mefID, Type: int(11), 'Null': false, Extra: '' }
- { Field: mefType, Type: varchar(128), 'Null': false, Extra: '' }
- { Field: mefIdent, Type: varchar(128), 'Null': false, Extra: '' }
- { Field: mefMTU, Type: int(11), 'Null': false, Extra: '', Default: '1500' }
- { Field: mefAdmState, Type: varchar(128), 'Null': false, Extra: '' }
- { Field: mefRowState, Type: varchar(128), 'Null': false, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [id], Unique: true, Type: BTREE }
device_id: { Name: device_id, Columns: [device_id], Unique: false, Type: BTREE }
mefID: { Name: mefID, Columns: [mefID], Unique: false, Type: BTREE }
mempools:
Columns:
- { Field: mempool_id, Type: 'int(10) unsigned', 'Null': false, Extra: auto_increment }
- { Field: mempool_index, Type: varchar(16), 'Null': false, Extra: '' }
- { Field: entPhysicalIndex, Type: int(11), 'Null': true, Extra: '' }
- { Field: hrDeviceIndex, Type: int(11), 'Null': true, Extra: '' }
- { Field: mempool_type, Type: varchar(32), 'Null': false, Extra: '' }
- { Field: mempool_precision, Type: int(11), 'Null': false, Extra: '', Default: '1' }
- { Field: mempool_descr, Type: varchar(64), 'Null': false, Extra: '' }
- { Field: device_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: mempool_perc, Type: int(11), 'Null': false, Extra: '' }
- { Field: mempool_used, Type: bigint(20), 'Null': false, Extra: '' }
- { Field: mempool_free, Type: bigint(20), 'Null': false, Extra: '' }
- { Field: mempool_total, Type: bigint(20), 'Null': false, Extra: '' }
- { Field: mempool_largestfree, Type: bigint(20), 'Null': true, Extra: '' }
- { Field: mempool_lowestfree, Type: bigint(20), 'Null': true, Extra: '' }
- { Field: mempool_deleted, Type: tinyint(1), 'Null': false, Extra: '', Default: '0' }
- { Field: mempool_perc_warn, Type: int(11), 'Null': true, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [mempool_id], Unique: true, Type: BTREE }
device_id: { Name: device_id, Columns: [device_id], Unique: false, Type: BTREE }
mibdefs:
Columns:
- { Field: module, Type: varchar(255), 'Null': false, Extra: '' }
- { Field: mib, Type: varchar(255), 'Null': false, Extra: '' }
- { Field: object_type, Type: varchar(255), 'Null': false, Extra: '' }
- { Field: oid, Type: varchar(255), 'Null': false, Extra: '' }
- { Field: syntax, Type: varchar(255), 'Null': false, Extra: '' }
- { Field: description, Type: varchar(255), 'Null': true, Extra: '' }
- { Field: max_access, Type: varchar(255), 'Null': true, Extra: '' }
- { Field: status, Type: varchar(255), 'Null': true, Extra: '' }
- { Field: included_by, Type: varchar(255), 'Null': false, Extra: '' }
- { Field: last_modified, Type: timestamp, 'Null': false, Extra: 'on update CURRENT_TIMESTAMP', Default: CURRENT_TIMESTAMP }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [module, mib, object_type], Unique: true, Type: BTREE }
migrations:
Columns:
- { Field: id, Type: 'int(10) unsigned', 'Null': false, Extra: auto_increment }
- { Field: migration, Type: varchar(255), 'Null': false, Extra: '' }
- { Field: batch, Type: int(11), 'Null': false, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [id], Unique: true, Type: BTREE }
mpls_lsps:
Columns:
- { Field: lsp_id, Type: 'int(10) unsigned', 'Null': false, Extra: auto_increment }
- { Field: vrf_oid, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: lsp_oid, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: device_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: mplsLspRowStatus, Type: 'enum(''active'',''notInService'',''notReady'',''createAndGo'',''createAndWait'',''destroy'')', 'Null': false, Extra: '' }
- { Field: mplsLspLastChange, Type: bigint(20), 'Null': true, Extra: '' }
- { Field: mplsLspName, Type: varchar(64), 'Null': false, Extra: '' }
- { Field: mplsLspAdminState, Type: 'enum(''noop'',''inService'',''outOfService'')', 'Null': false, Extra: '' }
- { Field: mplsLspOperState, Type: 'enum(''unknown'',''inService'',''outOfService'',''transition'')', 'Null': false, Extra: '' }
- { Field: mplsLspFromAddr, Type: varchar(32), 'Null': false, Extra: '' }
- { Field: mplsLspToAddr, Type: varchar(32), 'Null': false, Extra: '' }
- { Field: mplsLspType, Type: 'enum(''unknown'',''dynamic'',''static'',''bypassOnly'',''p2mpLsp'',''p2mpAuto'',''mplsTp'',''meshP2p'',''oneHopP2p'',''srTe'',''meshP2pSrTe'',''oneHopP2pSrTe'')', 'Null': false, Extra: '' }
- { Field: mplsLspFastReroute, Type: 'enum(''true'',''false'')', 'Null': false, Extra: '' }
- { Field: mplsLspAge, Type: bigint(20), 'Null': true, Extra: '' }
- { Field: mplsLspTimeUp, Type: bigint(20), 'Null': true, Extra: '' }
- { Field: mplsLspTimeDown, Type: bigint(20), 'Null': true, Extra: '' }
- { Field: mplsLspPrimaryTimeUp, Type: bigint(20), 'Null': true, Extra: '' }
- { Field: mplsLspTransitions, Type: 'int(10) unsigned', 'Null': true, Extra: '' }
- { Field: mplsLspLastTransition, Type: bigint(20), 'Null': true, Extra: '' }
- { Field: mplsLspConfiguredPaths, Type: 'int(10) unsigned', 'Null': true, Extra: '' }
- { Field: mplsLspStandbyPaths, Type: 'int(10) unsigned', 'Null': true, Extra: '' }
- { Field: mplsLspOperationalPaths, Type: 'int(10) unsigned', 'Null': true, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [lsp_id], Unique: true, Type: BTREE }
device_id: { Name: device_id, Columns: [device_id], Unique: false, Type: BTREE }
mpls_lsp_paths:
Columns:
- { Field: lsp_path_id, Type: 'int(10) unsigned', 'Null': false, Extra: auto_increment }
- { Field: lsp_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: path_oid, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: device_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: mplsLspPathRowStatus, Type: 'enum(''active'',''notInService'',''notReady'',''createAndGo'',''createAndWait'',''destroy'')', 'Null': false, Extra: '' }
- { Field: mplsLspPathLastChange, Type: bigint(20), 'Null': false, Extra: '' }
- { Field: mplsLspPathType, Type: 'enum(''other'',''primary'',''standby'',''secondary'')', 'Null': false, Extra: '' }
- { Field: mplsLspPathBandwidth, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: mplsLspPathOperBandwidth, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: mplsLspPathAdminState, Type: 'enum(''noop'',''inService'',''outOfService'')', 'Null': false, Extra: '' }
- { Field: mplsLspPathOperState, Type: 'enum(''unknown'',''inService'',''outOfService'',''transition'')', 'Null': false, Extra: '' }
- { Field: mplsLspPathState, Type: 'enum(''unknown'',''active'',''inactive'')', 'Null': false, Extra: '' }
- { Field: mplsLspPathFailCode, Type: varchar(64), 'Null': false, Extra: '' }
- { Field: mplsLspPathFailNodeAddr, Type: varchar(32), 'Null': false, Extra: '' }
- { Field: mplsLspPathMetric, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: mplsLspPathOperMetric, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: mplsLspPathTimeUp, Type: bigint(20), 'Null': true, Extra: '' }
- { Field: mplsLspPathTimeDown, Type: bigint(20), 'Null': true, Extra: '' }
- { Field: mplsLspPathTransitionCount, Type: 'int(10) unsigned', 'Null': true, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [lsp_path_id], Unique: true, Type: BTREE }
device_id: { Name: device_id, Columns: [device_id], Unique: false, Type: BTREE }
mpls_saps:
Columns:
- { Field: sap_id, Type: 'int(10) unsigned', 'Null': false, Extra: auto_increment }
- { Field: svc_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: svc_oid, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: sapPortId, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: ifName, Type: varchar(255), 'Null': true, Extra: '' }
- { Field: device_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: sapEncapValue, Type: varchar(255), 'Null': true, Extra: '' }
- { Field: sapRowStatus, Type: 'enum(''active'',''notInService'',''notReady'',''createAndGo'',''createAndWait'',''destroy'')', 'Null': true, Extra: '' }
- { Field: sapType, Type: 'enum(''unknown'',''epipe'',''tls'',''vprn'',''ies'',''mirror'',''apipe'',''fpipe'',''ipipe'',''cpipe'',''intTls'',''evpnIsaTls'')', 'Null': true, Extra: '' }
- { Field: sapDescription, Type: varchar(80), 'Null': true, Extra: '' }
- { Field: sapAdminStatus, Type: 'enum(''up'',''down'')', 'Null': true, Extra: '' }
- { Field: sapOperStatus, Type: 'enum(''up'',''down'')', 'Null': true, Extra: '' }
- { Field: sapLastMgmtChange, Type: bigint(20), 'Null': true, Extra: '' }
- { Field: sapLastStatusChange, Type: bigint(20), 'Null': true, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [sap_id], Unique: true, Type: BTREE }
device_id: { Name: device_id, Columns: [device_id], Unique: false, Type: BTREE }
mpls_sdps:
Columns:
- { Field: sdp_id, Type: 'int(10) unsigned', 'Null': false, Extra: auto_increment }
- { Field: sdp_oid, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: device_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: sdpRowStatus, Type: 'enum(''active'',''notInService'',''notReady'',''createAndGo'',''createAndWait'',''destroy'')', 'Null': true, Extra: '' }
- { Field: sdpDelivery, Type: 'enum(''gre'',''mpls'',''l2tpv3'',''greethbridged'')', 'Null': true, Extra: '' }
- { Field: sdpDescription, Type: varchar(80), 'Null': true, Extra: '' }
- { Field: sdpAdminStatus, Type: 'enum(''up'',''down'')', 'Null': true, Extra: '' }
- { Field: sdpOperStatus, Type: 'enum(''up'',''notAlive'',''notReady'',''invalidEgressInterface'',''transportTunnelDown'',''down'')', 'Null': true, Extra: '' }
- { Field: sdpAdminPathMtu, Type: int(11), 'Null': true, Extra: '' }
- { Field: sdpOperPathMtu, Type: int(11), 'Null': true, Extra: '' }
- { Field: sdpLastMgmtChange, Type: bigint(20), 'Null': true, Extra: '' }
- { Field: sdpLastStatusChange, Type: bigint(20), 'Null': true, Extra: '' }
- { Field: sdpActiveLspType, Type: 'enum(''not-applicable'',''rsvp'',''ldp'',''bgp'',''none'',''mplsTp'',''srIsis'',''srOspf'',''srTeLsp'',''fpe'')', 'Null': true, Extra: '' }
- { Field: sdpFarEndInetAddressType, Type: 'enum(''ipv4'',''ipv6'')', 'Null': true, Extra: '' }
- { Field: sdpFarEndInetAddress, Type: varchar(46), 'Null': true, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [sdp_id], Unique: true, Type: BTREE }
device_id: { Name: device_id, Columns: [device_id], Unique: false, Type: BTREE }
mpls_sdp_binds:
Columns:
- { Field: bind_id, Type: 'int(10) unsigned', 'Null': false, Extra: auto_increment }
- { Field: sdp_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: svc_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: sdp_oid, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: svc_oid, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: device_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: sdpBindRowStatus, Type: 'enum(''active'',''notInService'',''notReady'',''createAndGo'',''createAndWait'',''destroy'')', 'Null': true, Extra: '' }
- { Field: sdpBindAdminStatus, Type: 'enum(''up'',''down'')', 'Null': true, Extra: '' }
- { Field: sdpBindOperStatus, Type: 'enum(''up'',''down'')', 'Null': true, Extra: '' }
- { Field: sdpBindLastMgmtChange, Type: bigint(20), 'Null': true, Extra: '' }
- { Field: sdpBindLastStatusChange, Type: bigint(20), 'Null': true, Extra: '' }
- { Field: sdpBindType, Type: 'enum(''spoke'',''mesh'')', 'Null': true, Extra: '' }
- { Field: sdpBindVcType, Type: 'enum(''undef'',''ether'',''vlan'',''mirrior'',''atmSduatmCell'',''atmVcc'',''atmVpc'',''frDlci'',''ipipe'',''satopE1'',''satopT1'',''satopE3'',''satopT3'',''cesopsn'',''cesopsnCas'')', 'Null': true, Extra: '' }
- { Field: sdpBindBaseStatsIngFwdPackets, Type: bigint(20), 'Null': true, Extra: '' }
- { Field: sdpBindBaseStatsIngFwdOctets, Type: bigint(20), 'Null': true, Extra: '' }
- { Field: sdpBindBaseStatsEgrFwdPackets, Type: bigint(20), 'Null': true, Extra: '' }
- { Field: sdpBindBaseStatsEgrFwdOctets, Type: bigint(20), 'Null': true, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [bind_id], Unique: true, Type: BTREE }
device_id: { Name: device_id, Columns: [device_id], Unique: false, Type: BTREE }
mpls_services:
Columns:
- { Field: svc_id, Type: 'int(10) unsigned', 'Null': false, Extra: auto_increment }
- { Field: svc_oid, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: device_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: svcRowStatus, Type: 'enum(''active'',''notInService'',''notReady'',''createAndGo'',''createAndWait'',''destroy'')', 'Null': true, Extra: '' }
- { Field: svcType, Type: 'enum(''unknown'',''epipe'',''tls'',''vprn'',''ies'',''mirror'',''apipe'',''fpipe'',''ipipe'',''cpipe'',''intTls'',''evpnIsaTls'')', 'Null': true, Extra: '' }
- { Field: svcCustId, Type: 'int(10) unsigned', 'Null': true, Extra: '' }
- { Field: svcAdminStatus, Type: 'enum(''up'',''down'')', 'Null': true, Extra: '' }
- { Field: svcOperStatus, Type: 'enum(''up'',''down'')', 'Null': true, Extra: '' }
- { Field: svcDescription, Type: varchar(80), 'Null': true, Extra: '' }
- { Field: svcMtu, Type: int(11), 'Null': true, Extra: '' }
- { Field: svcNumSaps, Type: int(11), 'Null': true, Extra: '' }
- { Field: svcNumSdps, Type: int(11), 'Null': true, Extra: '' }
- { Field: svcLastMgmtChange, Type: bigint(20), 'Null': true, Extra: '' }
- { Field: svcLastStatusChange, Type: bigint(20), 'Null': true, Extra: '' }
- { Field: svcVRouterId, Type: int(11), 'Null': true, Extra: '' }
- { Field: svcTlsMacLearning, Type: 'enum(''enabled'',''disabled'')', 'Null': true, Extra: '' }
- { Field: svcTlsStpAdminStatus, Type: 'enum(''enabled'',''disabled'')', 'Null': true, Extra: '' }
- { Field: svcTlsStpOperStatus, Type: 'enum(''up'',''down'')', 'Null': true, Extra: '' }
- { Field: svcTlsFdbTableSize, Type: int(11), 'Null': true, Extra: '' }
- { Field: svcTlsFdbNumEntries, Type: int(11), 'Null': true, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [svc_id], Unique: true, Type: BTREE }
device_id: { Name: device_id, Columns: [device_id], Unique: false, Type: BTREE }
munin_plugins:
Columns:
- { Field: mplug_id, Type: 'int(10) unsigned', 'Null': false, Extra: auto_increment }
- { Field: device_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: mplug_type, Type: varchar(255), 'Null': false, Extra: '' }
- { Field: mplug_instance, Type: varchar(128), 'Null': true, Extra: '' }
- { Field: mplug_category, Type: varchar(32), 'Null': true, Extra: '' }
- { Field: mplug_title, Type: varchar(128), 'Null': true, Extra: '' }
- { Field: mplug_info, Type: text, 'Null': true, Extra: '' }
- { Field: mplug_vlabel, Type: varchar(128), 'Null': true, Extra: '' }
- { Field: mplug_args, Type: varchar(512), 'Null': true, Extra: '' }
- { Field: mplug_total, Type: tinyint(1), 'Null': false, Extra: '', Default: '0' }
- { Field: mplug_graph, Type: tinyint(1), 'Null': false, Extra: '', Default: '1' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [mplug_id], Unique: true, Type: BTREE }
UNIQUE: { Name: UNIQUE, Columns: [device_id, mplug_type], Unique: true, Type: BTREE }
device_id: { Name: device_id, Columns: [device_id], Unique: false, Type: BTREE }
munin_plugins_ds:
Columns:
- { Field: mplug_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: ds_name, Type: varchar(32), 'Null': false, Extra: '' }
- { Field: ds_type, Type: 'enum(''COUNTER'',''ABSOLUTE'',''DERIVE'',''GAUGE'')', 'Null': false, Extra: '', Default: GAUGE }
- { Field: ds_label, Type: varchar(64), 'Null': false, Extra: '' }
- { Field: ds_cdef, Type: varchar(255), 'Null': false, Extra: '' }
- { Field: ds_draw, Type: varchar(64), 'Null': false, Extra: '' }
- { Field: ds_graph, Type: 'enum(''no'',''yes'')', 'Null': false, Extra: '', Default: 'yes' }
- { Field: ds_info, Type: varchar(255), 'Null': false, Extra: '' }
- { Field: ds_extinfo, Type: text, 'Null': false, Extra: '' }
- { Field: ds_max, Type: varchar(32), 'Null': false, Extra: '' }
- { Field: ds_min, Type: varchar(32), 'Null': false, Extra: '' }
- { Field: ds_negative, Type: varchar(32), 'Null': false, Extra: '' }
- { Field: ds_warning, Type: varchar(32), 'Null': false, Extra: '' }
- { Field: ds_critical, Type: varchar(32), 'Null': false, Extra: '' }
- { Field: ds_colour, Type: varchar(32), 'Null': false, Extra: '' }
- { Field: ds_sum, Type: text, 'Null': false, Extra: '' }
- { Field: ds_stack, Type: text, 'Null': false, Extra: '' }
- { Field: ds_line, Type: varchar(64), 'Null': false, Extra: '' }
Indexes:
splug_id: { Name: splug_id, Columns: [mplug_id, ds_name], Unique: true, Type: BTREE }
netscaler_vservers:
Columns:
- { Field: vsvr_id, Type: 'int(10) unsigned', 'Null': false, Extra: auto_increment }
- { Field: device_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: vsvr_name, Type: varchar(128), 'Null': false, Extra: '' }
- { Field: vsvr_ip, Type: varchar(128), 'Null': false, Extra: '' }
- { Field: vsvr_port, Type: int(11), 'Null': false, Extra: '' }
- { Field: vsvr_type, Type: varchar(64), 'Null': false, Extra: '' }
- { Field: vsvr_state, Type: varchar(32), 'Null': false, Extra: '' }
- { Field: vsvr_clients, Type: int(11), 'Null': false, Extra: '' }
- { Field: vsvr_server, Type: int(11), 'Null': false, Extra: '' }
- { Field: vsvr_req_rate, Type: int(11), 'Null': false, Extra: '' }
- { Field: vsvr_bps_in, Type: int(11), 'Null': false, Extra: '' }
- { Field: vsvr_bps_out, Type: int(11), 'Null': false, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [vsvr_id], Unique: true, Type: BTREE }
notifications:
Columns:
- { Field: notifications_id, Type: 'int(10) unsigned', 'Null': false, Extra: auto_increment }
- { Field: title, Type: varchar(255), 'Null': false, Extra: '', Default: '' }
- { Field: body, Type: text, 'Null': false, Extra: '' }
- { Field: severity, Type: int(11), 'Null': true, Extra: '', Default: '0' }
- { Field: source, Type: varchar(255), 'Null': false, Extra: '', Default: '' }
- { Field: checksum, Type: varchar(128), 'Null': false, Extra: '' }
- { Field: datetime, Type: timestamp, 'Null': false, Extra: '', Default: '1970-01-02 00:00:00' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [notifications_id], Unique: true, Type: BTREE }
checksum: { Name: checksum, Columns: [checksum], Unique: true, Type: BTREE }
notifications_severity_index: { Name: notifications_severity_index, Columns: [severity], Unique: false, Type: BTREE }
notifications_attribs:
Columns:
- { Field: attrib_id, Type: 'int(10) unsigned', 'Null': false, Extra: auto_increment }
- { Field: notifications_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: user_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: key, Type: varchar(255), 'Null': false, Extra: '', Default: '' }
- { Field: value, Type: varchar(255), 'Null': false, Extra: '', Default: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [attrib_id], Unique: true, Type: BTREE }
notifications_attribs_notifications_id_user_id_index: { Name: notifications_attribs_notifications_id_user_id_index, Columns: [notifications_id, user_id], Unique: false, Type: BTREE }
ospf_areas:
Columns:
- { Field: id, Type: 'int(10) unsigned', 'Null': false, Extra: auto_increment }
- { Field: device_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: ospfAreaId, Type: varchar(32), 'Null': false, Extra: '' }
- { Field: ospfAuthType, Type: varchar(64), 'Null': false, Extra: '' }
- { Field: ospfImportAsExtern, Type: varchar(128), 'Null': false, Extra: '' }
- { Field: ospfSpfRuns, Type: int(11), 'Null': false, Extra: '' }
- { Field: ospfAreaBdrRtrCount, Type: int(11), 'Null': false, Extra: '' }
- { Field: ospfAsBdrRtrCount, Type: int(11), 'Null': false, Extra: '' }
- { Field: ospfAreaLsaCount, Type: int(11), 'Null': false, Extra: '' }
- { Field: ospfAreaLsaCksumSum, Type: int(11), 'Null': false, Extra: '' }
- { Field: ospfAreaSummary, Type: varchar(64), 'Null': false, Extra: '' }
- { Field: ospfAreaStatus, Type: varchar(64), 'Null': false, Extra: '' }
- { Field: context_name, Type: varchar(128), 'Null': true, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [id], Unique: true, Type: BTREE }
device_area: { Name: device_area, Columns: [device_id, ospfAreaId, context_name], Unique: true, Type: BTREE }
ospf_instances:
Columns:
- { Field: id, Type: 'int(10) unsigned', 'Null': false, Extra: auto_increment }
- { Field: device_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: ospf_instance_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: ospfRouterId, Type: varchar(32), 'Null': false, Extra: '' }
- { Field: ospfAdminStat, Type: varchar(32), 'Null': false, Extra: '' }
- { Field: ospfVersionNumber, Type: varchar(32), 'Null': false, Extra: '' }
- { Field: ospfAreaBdrRtrStatus, Type: varchar(32), 'Null': false, Extra: '' }
- { Field: ospfASBdrRtrStatus, Type: varchar(32), 'Null': false, Extra: '' }
- { Field: ospfExternLsaCount, Type: int(11), 'Null': false, Extra: '' }
- { Field: ospfExternLsaCksumSum, Type: int(11), 'Null': false, Extra: '' }
- { Field: ospfTOSSupport, Type: varchar(32), 'Null': false, Extra: '' }
- { Field: ospfOriginateNewLsas, Type: int(11), 'Null': false, Extra: '' }
- { Field: ospfRxNewLsas, Type: int(11), 'Null': false, Extra: '' }
- { Field: ospfExtLsdbLimit, Type: int(11), 'Null': true, Extra: '' }
- { Field: ospfMulticastExtensions, Type: int(11), 'Null': true, Extra: '' }
- { Field: ospfExitOverflowInterval, Type: int(11), 'Null': true, Extra: '' }
- { Field: ospfDemandExtensions, Type: varchar(32), 'Null': true, Extra: '' }
- { Field: context_name, Type: varchar(128), 'Null': true, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [id], Unique: true, Type: BTREE }
device_id: { Name: device_id, Columns: [device_id, ospf_instance_id, context_name], Unique: true, Type: BTREE }
ospf_nbrs:
Columns:
- { Field: id, Type: 'int(10) unsigned', 'Null': false, Extra: auto_increment }
- { Field: device_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: port_id, Type: 'int(10) unsigned', 'Null': true, Extra: '' }
- { Field: ospf_nbr_id, Type: varchar(32), 'Null': false, Extra: '' }
- { Field: ospfNbrIpAddr, Type: varchar(32), 'Null': false, Extra: '' }
- { Field: ospfNbrAddressLessIndex, Type: int(11), 'Null': false, Extra: '' }
- { Field: ospfNbrRtrId, Type: varchar(32), 'Null': false, Extra: '' }
- { Field: ospfNbrOptions, Type: int(11), 'Null': false, Extra: '' }
- { Field: ospfNbrPriority, Type: int(11), 'Null': false, Extra: '' }
- { Field: ospfNbrState, Type: varchar(32), 'Null': false, Extra: '' }
- { Field: ospfNbrEvents, Type: int(11), 'Null': false, Extra: '' }
- { Field: ospfNbrLsRetransQLen, Type: int(11), 'Null': false, Extra: '' }
- { Field: ospfNbmaNbrStatus, Type: varchar(32), 'Null': false, Extra: '' }
- { Field: ospfNbmaNbrPermanence, Type: varchar(32), 'Null': false, Extra: '' }
- { Field: ospfNbrHelloSuppressed, Type: varchar(32), 'Null': false, Extra: '' }
- { Field: context_name, Type: varchar(128), 'Null': true, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [id], Unique: true, Type: BTREE }
device_id: { Name: device_id, Columns: [device_id, ospf_nbr_id, context_name], Unique: true, Type: BTREE }
ospf_ports:
Columns:
- { Field: id, Type: 'int(10) unsigned', 'Null': false, Extra: auto_increment }
- { Field: device_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: port_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: ospf_port_id, Type: varchar(32), 'Null': false, Extra: '' }
- { Field: ospfIfIpAddress, Type: varchar(32), 'Null': false, Extra: '' }
- { Field: ospfAddressLessIf, Type: int(11), 'Null': false, Extra: '' }
- { Field: ospfIfAreaId, Type: varchar(32), 'Null': false, Extra: '' }
- { Field: ospfIfType, Type: varchar(32), 'Null': true, Extra: '' }
- { Field: ospfIfAdminStat, Type: varchar(32), 'Null': true, Extra: '' }
- { Field: ospfIfRtrPriority, Type: int(11), 'Null': true, Extra: '' }
- { Field: ospfIfTransitDelay, Type: int(11), 'Null': true, Extra: '' }
- { Field: ospfIfRetransInterval, Type: int(11), 'Null': true, Extra: '' }
- { Field: ospfIfHelloInterval, Type: int(11), 'Null': true, Extra: '' }
- { Field: ospfIfRtrDeadInterval, Type: int(11), 'Null': true, Extra: '' }
- { Field: ospfIfPollInterval, Type: int(11), 'Null': true, Extra: '' }
- { Field: ospfIfState, Type: varchar(32), 'Null': true, Extra: '' }
- { Field: ospfIfDesignatedRouter, Type: varchar(32), 'Null': true, Extra: '' }
- { Field: ospfIfBackupDesignatedRouter, Type: varchar(32), 'Null': true, Extra: '' }
- { Field: ospfIfEvents, Type: int(11), 'Null': true, Extra: '' }
- { Field: ospfIfAuthKey, Type: varchar(128), 'Null': true, Extra: '' }
- { Field: ospfIfStatus, Type: varchar(32), 'Null': true, Extra: '' }
- { Field: ospfIfMulticastForwarding, Type: varchar(32), 'Null': true, Extra: '' }
- { Field: ospfIfDemand, Type: varchar(32), 'Null': true, Extra: '' }
- { Field: ospfIfAuthType, Type: varchar(32), 'Null': true, Extra: '' }
- { Field: context_name, Type: varchar(128), 'Null': true, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [id], Unique: true, Type: BTREE }
device_id: { Name: device_id, Columns: [device_id, ospf_port_id, context_name], Unique: true, Type: BTREE }
packages:
Columns:
- { Field: pkg_id, Type: 'int(10) unsigned', 'Null': false, Extra: auto_increment }
- { Field: device_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: name, Type: varchar(64), 'Null': false, Extra: '' }
- { Field: manager, Type: varchar(16), 'Null': false, Extra: '', Default: '1' }
- { Field: status, Type: tinyint(1), 'Null': false, Extra: '' }
- { Field: version, Type: varchar(255), 'Null': false, Extra: '' }
- { Field: build, Type: varchar(64), 'Null': false, Extra: '' }
- { Field: arch, Type: varchar(16), 'Null': false, Extra: '' }
- { Field: size, Type: bigint(20), 'Null': true, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [pkg_id], Unique: true, Type: BTREE }
device_id: { Name: device_id, Columns: [device_id], Unique: false, Type: BTREE }
unique_key: { Name: unique_key, Columns: [device_id, name, manager, arch, version, build], Unique: true, Type: BTREE }
pdb_ix:
Columns:
- { Field: pdb_ix_id, Type: 'int(10) unsigned', 'Null': false, Extra: auto_increment }
- { Field: ix_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: name, Type: varchar(255), 'Null': false, Extra: '' }
- { Field: asn, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: timestamp, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [pdb_ix_id], Unique: true, Type: BTREE }
pdb_ix_peers:
Columns:
- { Field: pdb_ix_peers_id, Type: 'int(10) unsigned', 'Null': false, Extra: auto_increment }
- { Field: ix_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: peer_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: remote_asn, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: remote_ipaddr4, Type: varchar(15), 'Null': true, Extra: '' }
- { Field: remote_ipaddr6, Type: varchar(128), 'Null': true, Extra: '' }
- { Field: name, Type: varchar(255), 'Null': true, Extra: '' }
- { Field: timestamp, Type: 'int(10) unsigned', 'Null': true, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [pdb_ix_peers_id], Unique: true, Type: BTREE }
perf_times:
Columns:
- { Field: id, Type: 'int(10) unsigned', 'Null': false, Extra: auto_increment }
- { Field: type, Type: varchar(8), 'Null': false, Extra: '' }
- { Field: doing, Type: varchar(64), 'Null': false, Extra: '' }
- { Field: start, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: duration, Type: 'double(8,2)', 'Null': false, Extra: '' }
- { Field: devices, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: poller, Type: varchar(255), 'Null': false, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [id], Unique: true, Type: BTREE }
type: { Name: type, Columns: [type], Unique: false, Type: BTREE }
plugins:
Columns:
- { Field: plugin_id, Type: 'int(10) unsigned', 'Null': false, Extra: auto_increment }
- { Field: plugin_name, Type: varchar(60), 'Null': false, Extra: '' }
- { Field: plugin_active, Type: int(11), 'Null': false, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [plugin_id], Unique: true, Type: BTREE }
pollers:
Columns:
- { Field: id, Type: 'int(10) unsigned', 'Null': false, Extra: auto_increment }
- { Field: poller_name, Type: varchar(255), 'Null': false, Extra: '' }
- { Field: last_polled, Type: datetime, 'Null': false, Extra: '' }
- { Field: devices, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: time_taken, Type: double, 'Null': false, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [id], Unique: true, Type: BTREE }
poller_name: { Name: poller_name, Columns: [poller_name], Unique: true, Type: BTREE }
poller_cluster:
Columns:
- { Field: id, Type: 'int(10) unsigned', 'Null': false, Extra: auto_increment }
- { Field: node_id, Type: varchar(255), 'Null': false, Extra: '' }
- { Field: poller_name, Type: varchar(255), 'Null': false, Extra: '' }
- { Field: poller_version, Type: varchar(255), 'Null': false, Extra: '', Default: '' }
- { Field: poller_groups, Type: varchar(255), 'Null': false, Extra: '', Default: '' }
- { Field: last_report, Type: datetime, 'Null': false, Extra: '' }
- { Field: master, Type: tinyint(1), 'Null': false, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [id], Unique: true, Type: BTREE }
poller_cluster_node_id_unique: { Name: poller_cluster_node_id_unique, Columns: [node_id], Unique: true, Type: BTREE }
poller_cluster_stats:
Columns:
- { Field: id, Type: 'int(10) unsigned', 'Null': false, Extra: auto_increment }
- { Field: parent_poller, Type: 'int(10) unsigned', 'Null': false, Extra: '', Default: '0' }
- { Field: poller_type, Type: varchar(64), 'Null': false, Extra: '', Default: '' }
- { Field: depth, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: devices, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: worker_seconds, Type: 'double unsigned', 'Null': false, Extra: '' }
- { Field: workers, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: frequency, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [id], Unique: true, Type: BTREE }
parent_poller_poller_type: { Name: parent_poller_poller_type, Columns: [parent_poller, poller_type], Unique: true, Type: BTREE }
poller_groups:
Columns:
- { Field: id, Type: 'int(10) unsigned', 'Null': false, Extra: auto_increment }
- { Field: group_name, Type: varchar(255), 'Null': false, Extra: '' }
- { Field: descr, Type: varchar(255), 'Null': false, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [id], Unique: true, Type: BTREE }
ports:
Columns:
- { Field: port_id, Type: 'int(10) unsigned', 'Null': false, Extra: auto_increment }
- { Field: device_id, Type: 'int(10) unsigned', 'Null': false, Extra: '', Default: '0' }
- { Field: port_descr_type, Type: varchar(255), 'Null': true, Extra: '' }
- { Field: port_descr_descr, Type: varchar(255), 'Null': true, Extra: '' }
- { Field: port_descr_circuit, Type: varchar(255), 'Null': true, Extra: '' }
- { Field: port_descr_speed, Type: varchar(32), 'Null': true, Extra: '' }
- { Field: port_descr_notes, Type: varchar(255), 'Null': true, Extra: '' }
- { Field: ifDescr, Type: varchar(255), 'Null': true, Extra: '' }
- { Field: ifName, Type: varchar(255), 'Null': true, Extra: '' }
- { Field: portName, Type: varchar(128), 'Null': true, Extra: '' }
- { Field: ifIndex, Type: bigint(20), 'Null': true, Extra: '', Default: '0' }
- { Field: ifSpeed, Type: bigint(20), 'Null': true, Extra: '' }
- { Field: ifConnectorPresent, Type: varchar(12), 'Null': true, Extra: '' }
- { Field: ifPromiscuousMode, Type: varchar(12), 'Null': true, Extra: '' }
- { Field: ifHighSpeed, Type: int(11), 'Null': true, Extra: '' }
- { Field: ifOperStatus, Type: varchar(16), 'Null': true, Extra: '' }
- { Field: ifOperStatus_prev, Type: varchar(16), 'Null': true, Extra: '' }
- { Field: ifAdminStatus, Type: varchar(16), 'Null': true, Extra: '' }
- { Field: ifAdminStatus_prev, Type: varchar(16), 'Null': true, Extra: '' }
- { Field: ifDuplex, Type: varchar(12), 'Null': true, Extra: '' }
- { Field: ifMtu, Type: int(11), 'Null': true, Extra: '' }
- { Field: ifType, Type: text, 'Null': true, Extra: '' }
- { Field: ifAlias, Type: text, 'Null': true, Extra: '' }
- { Field: ifPhysAddress, Type: text, 'Null': true, Extra: '' }
- { Field: ifHardType, Type: varchar(64), 'Null': true, Extra: '' }
- { Field: ifLastChange, Type: 'bigint(20) unsigned', 'Null': false, Extra: '', Default: '0' }
- { Field: ifVlan, Type: varchar(8), 'Null': false, Extra: '', Default: '' }
- { Field: ifTrunk, Type: varchar(16), 'Null': true, Extra: '' }
- { Field: ifVrf, Type: int(11), 'Null': false, Extra: '', Default: '0' }
- { Field: counter_in, Type: int(11), 'Null': true, Extra: '' }
- { Field: counter_out, Type: int(11), 'Null': true, Extra: '' }
- { Field: ignore, Type: tinyint(1), 'Null': false, Extra: '', Default: '0' }
- { Field: disabled, Type: tinyint(1), 'Null': false, Extra: '', Default: '0' }
- { Field: detailed, Type: tinyint(1), 'Null': false, Extra: '', Default: '0' }
- { Field: deleted, Type: tinyint(1), 'Null': false, Extra: '', Default: '0' }
- { Field: pagpOperationMode, Type: varchar(32), 'Null': true, Extra: '' }
- { Field: pagpPortState, Type: varchar(16), 'Null': true, Extra: '' }
- { Field: pagpPartnerDeviceId, Type: varchar(48), 'Null': true, Extra: '' }
- { Field: pagpPartnerLearnMethod, Type: varchar(16), 'Null': true, Extra: '' }
- { Field: pagpPartnerIfIndex, Type: int(11), 'Null': true, Extra: '' }
- { Field: pagpPartnerGroupIfIndex, Type: int(11), 'Null': true, Extra: '' }
- { Field: pagpPartnerDeviceName, Type: varchar(128), 'Null': true, Extra: '' }
- { Field: pagpEthcOperationMode, Type: varchar(16), 'Null': true, Extra: '' }
- { Field: pagpDeviceId, Type: varchar(48), 'Null': true, Extra: '' }
- { Field: pagpGroupIfIndex, Type: int(11), 'Null': true, Extra: '' }
- { Field: ifInUcastPkts, Type: 'bigint(20) unsigned', 'Null': true, Extra: '' }
- { Field: ifInUcastPkts_prev, Type: 'bigint(20) unsigned', 'Null': true, Extra: '' }
- { Field: ifInUcastPkts_delta, Type: 'bigint(20) unsigned', 'Null': true, Extra: '' }
- { Field: ifInUcastPkts_rate, Type: 'bigint(20) unsigned', 'Null': true, Extra: '' }
- { Field: ifOutUcastPkts, Type: 'bigint(20) unsigned', 'Null': true, Extra: '' }
- { Field: ifOutUcastPkts_prev, Type: 'bigint(20) unsigned', 'Null': true, Extra: '' }
- { Field: ifOutUcastPkts_delta, Type: 'bigint(20) unsigned', 'Null': true, Extra: '' }
- { Field: ifOutUcastPkts_rate, Type: 'bigint(20) unsigned', 'Null': true, Extra: '' }
- { Field: ifInErrors, Type: 'bigint(20) unsigned', 'Null': true, Extra: '' }
- { Field: ifInErrors_prev, Type: 'bigint(20) unsigned', 'Null': true, Extra: '' }
- { Field: ifInErrors_delta, Type: 'bigint(20) unsigned', 'Null': true, Extra: '' }
- { Field: ifInErrors_rate, Type: 'bigint(20) unsigned', 'Null': true, Extra: '' }
- { Field: ifOutErrors, Type: 'bigint(20) unsigned', 'Null': true, Extra: '' }
- { Field: ifOutErrors_prev, Type: 'bigint(20) unsigned', 'Null': true, Extra: '' }
- { Field: ifOutErrors_delta, Type: 'bigint(20) unsigned', 'Null': true, Extra: '' }
- { Field: ifOutErrors_rate, Type: 'bigint(20) unsigned', 'Null': true, Extra: '' }
- { Field: ifInOctets, Type: 'bigint(20) unsigned', 'Null': true, Extra: '' }
- { Field: ifInOctets_prev, Type: 'bigint(20) unsigned', 'Null': true, Extra: '' }
- { Field: ifInOctets_delta, Type: 'bigint(20) unsigned', 'Null': true, Extra: '' }
- { Field: ifInOctets_rate, Type: 'bigint(20) unsigned', 'Null': true, Extra: '' }
- { Field: ifOutOctets, Type: 'bigint(20) unsigned', 'Null': true, Extra: '' }
- { Field: ifOutOctets_prev, Type: 'bigint(20) unsigned', 'Null': true, Extra: '' }
- { Field: ifOutOctets_delta, Type: 'bigint(20) unsigned', 'Null': true, Extra: '' }
- { Field: ifOutOctets_rate, Type: 'bigint(20) unsigned', 'Null': true, Extra: '' }
- { Field: poll_time, Type: 'int(10) unsigned', 'Null': true, Extra: '' }
- { Field: poll_prev, Type: 'int(10) unsigned', 'Null': true, Extra: '' }
- { Field: poll_period, Type: 'int(10) unsigned', 'Null': true, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [port_id], Unique: true, Type: BTREE }
device_ifIndex: { Name: device_ifIndex, Columns: [device_id, ifIndex], Unique: true, Type: BTREE }
if_2: { Name: if_2, Columns: [ifDescr], Unique: false, Type: BTREE }
ports_adsl:
Columns:
- { Field: port_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: port_adsl_updated, Type: timestamp, 'Null': false, Extra: '', Default: CURRENT_TIMESTAMP }
- { Field: adslLineCoding, Type: varchar(8), 'Null': false, Extra: '' }
- { Field: adslLineType, Type: varchar(16), 'Null': false, Extra: '' }
- { Field: adslAtucInvVendorID, Type: varchar(8), 'Null': false, Extra: '' }
- { Field: adslAtucInvVersionNumber, Type: varchar(8), 'Null': false, Extra: '' }
- { Field: adslAtucCurrSnrMgn, Type: 'decimal(5,1)', 'Null': false, Extra: '' }
- { Field: adslAtucCurrAtn, Type: 'decimal(5,1)', 'Null': false, Extra: '' }
- { Field: adslAtucCurrOutputPwr, Type: 'decimal(5,1)', 'Null': false, Extra: '' }
- { Field: adslAtucCurrAttainableRate, Type: int(11), 'Null': false, Extra: '' }
- { Field: adslAtucChanCurrTxRate, Type: int(11), 'Null': false, Extra: '' }
- { Field: adslAturInvSerialNumber, Type: varchar(8), 'Null': false, Extra: '' }
- { Field: adslAturInvVendorID, Type: varchar(8), 'Null': false, Extra: '' }
- { Field: adslAturInvVersionNumber, Type: varchar(8), 'Null': false, Extra: '' }
- { Field: adslAturChanCurrTxRate, Type: int(11), 'Null': false, Extra: '' }
- { Field: adslAturCurrSnrMgn, Type: 'decimal(5,1)', 'Null': false, Extra: '' }
- { Field: adslAturCurrAtn, Type: 'decimal(5,1)', 'Null': false, Extra: '' }
- { Field: adslAturCurrOutputPwr, Type: 'decimal(5,1)', 'Null': false, Extra: '' }
- { Field: adslAturCurrAttainableRate, Type: int(11), 'Null': false, Extra: '' }
Indexes:
interface_id: { Name: interface_id, Columns: [port_id], Unique: true, Type: BTREE }
ports_fdb:
Columns:
- { Field: ports_fdb_id, Type: 'bigint(20) unsigned', 'Null': false, Extra: auto_increment }
- { Field: port_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: mac_address, Type: varchar(32), 'Null': false, Extra: '' }
- { Field: vlan_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: device_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: created_at, Type: timestamp, 'Null': true, Extra: '' }
- { Field: updated_at, Type: timestamp, 'Null': true, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [ports_fdb_id], Unique: true, Type: BTREE }
mac_address: { Name: mac_address, Columns: [mac_address], Unique: false, Type: BTREE }
ports_fdb_device_id_index: { Name: ports_fdb_device_id_index, Columns: [device_id], Unique: false, Type: BTREE }
ports_fdb_port_id_index: { Name: ports_fdb_port_id_index, Columns: [port_id], Unique: false, Type: BTREE }
ports_fdb_vlan_id_index: { Name: ports_fdb_vlan_id_index, Columns: [vlan_id], Unique: false, Type: BTREE }
ports_nac:
Columns:
- { Field: ports_nac_id, Type: 'int(10) unsigned', 'Null': false, Extra: auto_increment }
- { Field: auth_id, Type: varchar(50), 'Null': false, Extra: '' }
- { Field: device_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: port_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: domain, Type: varchar(50), 'Null': false, Extra: '' }
- { Field: username, Type: varchar(50), 'Null': false, Extra: '' }
- { Field: mac_address, Type: varchar(50), 'Null': false, Extra: '' }
- { Field: ip_address, Type: varchar(50), 'Null': false, Extra: '' }
- { Field: host_mode, Type: varchar(50), 'Null': false, Extra: '' }
- { Field: authz_status, Type: varchar(50), 'Null': false, Extra: '' }
- { Field: authz_by, Type: varchar(50), 'Null': false, Extra: '' }
- { Field: authc_status, Type: varchar(50), 'Null': false, Extra: '' }
- { Field: method, Type: varchar(50), 'Null': false, Extra: '' }
- { Field: timeout, Type: varchar(50), 'Null': false, Extra: '' }
- { Field: time_left, Type: varchar(50), 'Null': true, Extra: '' }
- { Field: vlan, Type: 'int(10) unsigned', 'Null': true, Extra: '' }
- { Field: time_elapsed, Type: varchar(50), 'Null': true, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [ports_nac_id], Unique: true, Type: BTREE }
ports_nac_device_id_index: { Name: ports_nac_device_id_index, Columns: [device_id], Unique: false, Type: BTREE }
ports_nac_port_id_mac_address_index: { Name: ports_nac_port_id_mac_address_index, Columns: [port_id, mac_address], Unique: false, Type: BTREE }
ports_perms:
Columns:
- { Field: user_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: port_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
ports_stack:
Columns:
- { Field: device_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: port_id_high, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: port_id_low, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: ifStackStatus, Type: varchar(32), 'Null': false, Extra: '' }
Indexes:
device_id: { Name: device_id, Columns: [device_id, port_id_high, port_id_low], Unique: true, Type: BTREE }
ports_statistics:
Columns:
- { Field: port_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: ifInNUcastPkts, Type: bigint(20), 'Null': true, Extra: '' }
- { Field: ifInNUcastPkts_prev, Type: bigint(20), 'Null': true, Extra: '' }
- { Field: ifInNUcastPkts_delta, Type: bigint(20), 'Null': true, Extra: '' }
- { Field: ifInNUcastPkts_rate, Type: int(11), 'Null': true, Extra: '' }
- { Field: ifOutNUcastPkts, Type: bigint(20), 'Null': true, Extra: '' }
- { Field: ifOutNUcastPkts_prev, Type: bigint(20), 'Null': true, Extra: '' }
- { Field: ifOutNUcastPkts_delta, Type: bigint(20), 'Null': true, Extra: '' }
- { Field: ifOutNUcastPkts_rate, Type: int(11), 'Null': true, Extra: '' }
- { Field: ifInDiscards, Type: bigint(20), 'Null': true, Extra: '' }
- { Field: ifInDiscards_prev, Type: bigint(20), 'Null': true, Extra: '' }
- { Field: ifInDiscards_delta, Type: bigint(20), 'Null': true, Extra: '' }
- { Field: ifInDiscards_rate, Type: int(11), 'Null': true, Extra: '' }
- { Field: ifOutDiscards, Type: bigint(20), 'Null': true, Extra: '' }
- { Field: ifOutDiscards_prev, Type: bigint(20), 'Null': true, Extra: '' }
- { Field: ifOutDiscards_delta, Type: bigint(20), 'Null': true, Extra: '' }
- { Field: ifOutDiscards_rate, Type: int(11), 'Null': true, Extra: '' }
- { Field: ifInUnknownProtos, Type: bigint(20), 'Null': true, Extra: '' }
- { Field: ifInUnknownProtos_prev, Type: bigint(20), 'Null': true, Extra: '' }
- { Field: ifInUnknownProtos_delta, Type: bigint(20), 'Null': true, Extra: '' }
- { Field: ifInUnknownProtos_rate, Type: int(11), 'Null': true, Extra: '' }
- { Field: ifInBroadcastPkts, Type: bigint(20), 'Null': true, Extra: '' }
- { Field: ifInBroadcastPkts_prev, Type: bigint(20), 'Null': true, Extra: '' }
- { Field: ifInBroadcastPkts_delta, Type: bigint(20), 'Null': true, Extra: '' }
- { Field: ifInBroadcastPkts_rate, Type: int(11), 'Null': true, Extra: '' }
- { Field: ifOutBroadcastPkts, Type: bigint(20), 'Null': true, Extra: '' }
- { Field: ifOutBroadcastPkts_prev, Type: bigint(20), 'Null': true, Extra: '' }
- { Field: ifOutBroadcastPkts_delta, Type: bigint(20), 'Null': true, Extra: '' }
- { Field: ifOutBroadcastPkts_rate, Type: int(11), 'Null': true, Extra: '' }
- { Field: ifInMulticastPkts, Type: bigint(20), 'Null': true, Extra: '' }
- { Field: ifInMulticastPkts_prev, Type: bigint(20), 'Null': true, Extra: '' }
- { Field: ifInMulticastPkts_delta, Type: bigint(20), 'Null': true, Extra: '' }
- { Field: ifInMulticastPkts_rate, Type: int(11), 'Null': true, Extra: '' }
- { Field: ifOutMulticastPkts, Type: bigint(20), 'Null': true, Extra: '' }
- { Field: ifOutMulticastPkts_prev, Type: bigint(20), 'Null': true, Extra: '' }
- { Field: ifOutMulticastPkts_delta, Type: bigint(20), 'Null': true, Extra: '' }
- { Field: ifOutMulticastPkts_rate, Type: int(11), 'Null': true, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [port_id], Unique: true, Type: BTREE }
ports_stp:
Columns:
- { Field: port_stp_id, Type: 'int(10) unsigned', 'Null': false, Extra: auto_increment }
- { Field: device_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: port_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: priority, Type: 'tinyint(3) unsigned', 'Null': false, Extra: '' }
- { Field: state, Type: varchar(11), 'Null': false, Extra: '' }
- { Field: enable, Type: varchar(8), 'Null': false, Extra: '' }
- { Field: pathCost, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: designatedRoot, Type: varchar(32), 'Null': false, Extra: '' }
- { Field: designatedCost, Type: 'smallint(5) unsigned', 'Null': false, Extra: '' }
- { Field: designatedBridge, Type: varchar(32), 'Null': false, Extra: '' }
- { Field: designatedPort, Type: mediumint(9), 'Null': false, Extra: '' }
- { Field: forwardTransitions, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [port_stp_id], Unique: true, Type: BTREE }
device_id: { Name: device_id, Columns: [device_id, port_id], Unique: true, Type: BTREE }
ports_vlans:
Columns:
- { Field: port_vlan_id, Type: 'int(10) unsigned', 'Null': false, Extra: auto_increment }
- { Field: device_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: port_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: vlan, Type: int(11), 'Null': false, Extra: '' }
- { Field: baseport, Type: int(11), 'Null': false, Extra: '' }
- { Field: priority, Type: bigint(20), 'Null': false, Extra: '' }
- { Field: state, Type: varchar(16), 'Null': false, Extra: '' }
- { Field: cost, Type: int(11), 'Null': false, Extra: '' }
- { Field: untagged, Type: tinyint(1), 'Null': false, Extra: '', Default: '0' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [port_vlan_id], Unique: true, Type: BTREE }
unique: { Name: unique, Columns: [device_id, port_id, vlan], Unique: true, Type: BTREE }
processes:
Columns:
- { Field: device_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: pid, Type: int(11), 'Null': false, Extra: '' }
- { Field: vsz, Type: int(11), 'Null': false, Extra: '' }
- { Field: rss, Type: int(11), 'Null': false, Extra: '' }
- { Field: cputime, Type: varchar(12), 'Null': false, Extra: '' }
- { Field: user, Type: varchar(50), 'Null': false, Extra: '' }
- { Field: command, Type: text, 'Null': false, Extra: '' }
Indexes:
device_id: { Name: device_id, Columns: [device_id], Unique: false, Type: BTREE }
processors:
Columns:
- { Field: processor_id, Type: 'int(10) unsigned', 'Null': false, Extra: auto_increment }
- { Field: entPhysicalIndex, Type: int(11), 'Null': false, Extra: '', Default: '0' }
- { Field: hrDeviceIndex, Type: int(11), 'Null': true, Extra: '' }
- { Field: device_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: processor_oid, Type: varchar(128), 'Null': false, Extra: '' }
- { Field: processor_index, Type: varchar(32), 'Null': false, Extra: '' }
- { Field: processor_type, Type: varchar(16), 'Null': false, Extra: '' }
- { Field: processor_usage, Type: int(11), 'Null': false, Extra: '' }
- { Field: processor_descr, Type: varchar(64), 'Null': false, Extra: '' }
- { Field: processor_precision, Type: int(11), 'Null': false, Extra: '', Default: '1' }
- { Field: processor_perc_warn, Type: int(11), 'Null': true, Extra: '', Default: '75' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [processor_id], Unique: true, Type: BTREE }
device_id: { Name: device_id, Columns: [device_id], Unique: false, Type: BTREE }
proxmox:
Columns:
- { Field: id, Type: 'int(10) unsigned', 'Null': false, Extra: auto_increment }
- { Field: device_id, Type: 'int(10) unsigned', 'Null': false, Extra: '', Default: '0' }
- { Field: vmid, Type: int(11), 'Null': false, Extra: '' }
- { Field: cluster, Type: varchar(255), 'Null': false, Extra: '' }
- { Field: description, Type: varchar(255), 'Null': true, Extra: '' }
- { Field: last_seen, Type: timestamp, 'Null': false, Extra: '', Default: CURRENT_TIMESTAMP }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [id], Unique: true, Type: BTREE }
cluster_vm: { Name: cluster_vm, Columns: [cluster, vmid], Unique: true, Type: BTREE }
proxmox_ports:
Columns:
- { Field: id, Type: 'int(10) unsigned', 'Null': false, Extra: auto_increment }
- { Field: vm_id, Type: int(11), 'Null': false, Extra: '' }
- { Field: port, Type: varchar(10), 'Null': false, Extra: '' }
- { Field: last_seen, Type: timestamp, 'Null': false, Extra: '', Default: CURRENT_TIMESTAMP }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [id], Unique: true, Type: BTREE }
vm_port: { Name: vm_port, Columns: [vm_id, port], Unique: true, Type: BTREE }
pseudowires:
Columns:
- { Field: pseudowire_id, Type: 'int(10) unsigned', 'Null': false, Extra: auto_increment }
- { Field: device_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: port_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: peer_device_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: peer_ldp_id, Type: int(11), 'Null': false, Extra: '' }
- { Field: cpwVcID, Type: int(11), 'Null': false, Extra: '' }
- { Field: cpwOid, Type: int(11), 'Null': false, Extra: '' }
- { Field: pw_type, Type: varchar(32), 'Null': false, Extra: '' }
- { Field: pw_psntype, Type: varchar(32), 'Null': false, Extra: '' }
- { Field: pw_local_mtu, Type: int(11), 'Null': false, Extra: '' }
- { Field: pw_peer_mtu, Type: int(11), 'Null': false, Extra: '' }
- { Field: pw_descr, Type: varchar(128), 'Null': false, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [pseudowire_id], Unique: true, Type: BTREE }
route:
Columns:
- { Field: route_id, Type: 'int(10) unsigned', 'Null': false, Extra: auto_increment }
- { Field: created_at, Type: timestamp, 'Null': true, Extra: '' }
- { Field: updated_at, Type: timestamp, 'Null': true, Extra: '' }
- { Field: device_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: port_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: context_name, Type: varchar(255), 'Null': true, Extra: '' }
- { Field: inetCidrRouteIfIndex, Type: bigint(20), 'Null': false, Extra: '' }
- { Field: inetCidrRouteType, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: inetCidrRouteProto, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: inetCidrRouteNextHopAS, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: inetCidrRouteMetric1, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: inetCidrRouteDestType, Type: varchar(255), 'Null': false, Extra: '' }
- { Field: inetCidrRouteDest, Type: varchar(255), 'Null': false, Extra: '' }
- { Field: inetCidrRouteNextHopType, Type: varchar(255), 'Null': false, Extra: '' }
- { Field: inetCidrRouteNextHop, Type: varchar(255), 'Null': false, Extra: '' }
- { Field: inetCidrRoutePolicy, Type: varchar(255), 'Null': false, Extra: '' }
- { Field: inetCidrRoutePfxLen, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [route_id], Unique: true, Type: BTREE }
sensors:
Columns:
- { Field: sensor_id, Type: 'int(10) unsigned', 'Null': false, Extra: auto_increment }
- { Field: sensor_deleted, Type: tinyint(1), 'Null': false, Extra: '', Default: '0' }
- { Field: sensor_class, Type: varchar(64), 'Null': false, Extra: '' }
- { Field: device_id, Type: 'int(10) unsigned', 'Null': false, Extra: '', Default: '0' }
- { Field: poller_type, Type: varchar(16), 'Null': false, Extra: '', Default: snmp }
- { Field: sensor_oid, Type: varchar(255), 'Null': false, Extra: '' }
- { Field: sensor_index, Type: varchar(128), 'Null': true, Extra: '' }
- { Field: sensor_type, Type: varchar(255), 'Null': false, Extra: '' }
- { Field: sensor_descr, Type: varchar(255), 'Null': true, Extra: '' }
- { Field: group, Type: varchar(255), 'Null': true, Extra: '' }
- { Field: sensor_divisor, Type: bigint(20), 'Null': false, Extra: '', Default: '1' }
- { Field: sensor_multiplier, Type: int(11), 'Null': false, Extra: '', Default: '1' }
- { Field: sensor_current, Type: double, 'Null': true, Extra: '' }
- { Field: sensor_limit, Type: double, 'Null': true, Extra: '' }
- { Field: sensor_limit_warn, Type: double, 'Null': true, Extra: '' }
- { Field: sensor_limit_low, Type: double, 'Null': true, Extra: '' }
- { Field: sensor_limit_low_warn, Type: double, 'Null': true, Extra: '' }
- { Field: sensor_alert, Type: tinyint(1), 'Null': false, Extra: '', Default: '1' }
- { Field: sensor_custom, Type: 'enum(''No'',''Yes'')', 'Null': false, Extra: '', Default: 'No' }
- { Field: entPhysicalIndex, Type: varchar(16), 'Null': true, Extra: '' }
- { Field: entPhysicalIndex_measured, Type: varchar(16), 'Null': true, Extra: '' }
- { Field: lastupdate, Type: timestamp, 'Null': false, Extra: 'on update CURRENT_TIMESTAMP', Default: CURRENT_TIMESTAMP }
- { Field: sensor_prev, Type: double, 'Null': true, Extra: '' }
- { Field: user_func, Type: varchar(100), 'Null': true, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [sensor_id], Unique: true, Type: BTREE }
sensor_class: { Name: sensor_class, Columns: [sensor_class], Unique: false, Type: BTREE }
sensor_host: { Name: sensor_host, Columns: [device_id], Unique: false, Type: BTREE }
sensor_type: { Name: sensor_type, Columns: [sensor_type], Unique: false, Type: BTREE }
Constraints:
sensors_device_id_foreign: { name: sensors_device_id_foreign, foreign_key: device_id, table: devices, key: device_id, extra: 'ON DELETE CASCADE' }
sensors_to_state_indexes:
Columns:
- { Field: sensors_to_state_translations_id, Type: 'int(10) unsigned', 'Null': false, Extra: auto_increment }
- { Field: sensor_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: state_index_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [sensors_to_state_translations_id], Unique: true, Type: BTREE }
sensor_id_state_index_id: { Name: sensor_id_state_index_id, Columns: [sensor_id, state_index_id], Unique: true, Type: BTREE }
state_index_id: { Name: state_index_id, Columns: [state_index_id], Unique: false, Type: BTREE }
Constraints:
sensors_to_state_indexes_ibfk_1: { name: sensors_to_state_indexes_ibfk_1, foreign_key: state_index_id, table: state_indexes, key: state_index_id, extra: '' }
sensors_to_state_indexes_sensor_id_foreign: { name: sensors_to_state_indexes_sensor_id_foreign, foreign_key: sensor_id, table: sensors, key: sensor_id, extra: 'ON DELETE CASCADE' }
services:
Columns:
- { Field: service_id, Type: 'int(10) unsigned', 'Null': false, Extra: auto_increment }
- { Field: device_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: service_ip, Type: text, 'Null': false, Extra: '' }
- { Field: service_type, Type: varchar(255), 'Null': false, Extra: '' }
- { Field: service_desc, Type: text, 'Null': false, Extra: '' }
- { Field: service_param, Type: text, 'Null': false, Extra: '' }
- { Field: service_ignore, Type: tinyint(1), 'Null': false, Extra: '' }
- { Field: service_status, Type: tinyint(4), 'Null': false, Extra: '', Default: '0' }
- { Field: service_changed, Type: 'int(10) unsigned', 'Null': false, Extra: '', Default: '0' }
- { Field: service_message, Type: text, 'Null': false, Extra: '' }
- { Field: service_disabled, Type: tinyint(1), 'Null': false, Extra: '', Default: '0' }
- { Field: service_ds, Type: text, 'Null': false, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [service_id], Unique: true, Type: BTREE }
service_host: { Name: service_host, Columns: [device_id], Unique: false, Type: BTREE }
session:
Columns:
- { Field: session_id, Type: 'int(10) unsigned', 'Null': false, Extra: auto_increment }
- { Field: session_username, Type: varchar(255), 'Null': false, Extra: '' }
- { Field: session_value, Type: varchar(60), 'Null': false, Extra: '' }
- { Field: session_token, Type: varchar(60), 'Null': false, Extra: '' }
- { Field: session_auth, Type: varchar(16), 'Null': false, Extra: '' }
- { Field: session_expiry, Type: int(11), 'Null': false, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [session_id], Unique: true, Type: BTREE }
session_value: { Name: session_value, Columns: [session_value], Unique: true, Type: BTREE }
slas:
Columns:
- { Field: sla_id, Type: 'int(10) unsigned', 'Null': false, Extra: auto_increment }
- { Field: device_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: sla_nr, Type: int(11), 'Null': false, Extra: '' }
- { Field: owner, Type: varchar(255), 'Null': false, Extra: '' }
- { Field: tag, Type: varchar(255), 'Null': false, Extra: '' }
- { Field: rtt_type, Type: varchar(16), 'Null': false, Extra: '' }
- { Field: status, Type: tinyint(1), 'Null': false, Extra: '' }
- { Field: opstatus, Type: tinyint(1), 'Null': false, Extra: '', Default: '0' }
- { Field: deleted, Type: tinyint(1), 'Null': false, Extra: '', Default: '0' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [sla_id], Unique: true, Type: BTREE }
device_id: { Name: device_id, Columns: [device_id], Unique: false, Type: BTREE }
unique_key: { Name: unique_key, Columns: [device_id, sla_nr], Unique: true, Type: BTREE }
state_indexes:
Columns:
- { Field: state_index_id, Type: 'int(10) unsigned', 'Null': false, Extra: auto_increment }
- { Field: state_name, Type: varchar(64), 'Null': false, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [state_index_id], Unique: true, Type: BTREE }
state_name: { Name: state_name, Columns: [state_name], Unique: true, Type: BTREE }
state_translations:
Columns:
- { Field: state_translation_id, Type: 'int(10) unsigned', 'Null': false, Extra: auto_increment }
- { Field: state_index_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: state_descr, Type: varchar(255), 'Null': false, Extra: '' }
- { Field: state_draw_graph, Type: tinyint(1), 'Null': false, Extra: '' }
- { Field: state_value, Type: smallint(6), 'Null': false, Extra: '', Default: '0' }
- { Field: state_generic_value, Type: tinyint(1), 'Null': false, Extra: '' }
- { Field: state_lastupdated, Type: timestamp, 'Null': false, Extra: 'on update CURRENT_TIMESTAMP', Default: CURRENT_TIMESTAMP }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [state_translation_id], Unique: true, Type: BTREE }
state_index_id_value: { Name: state_index_id_value, Columns: [state_index_id, state_value], Unique: true, Type: BTREE }
storage:
Columns:
- { Field: storage_id, Type: 'int(10) unsigned', 'Null': false, Extra: auto_increment }
- { Field: device_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: storage_mib, Type: varchar(16), 'Null': false, Extra: '' }
- { Field: storage_index, Type: varchar(64), 'Null': true, Extra: '' }
- { Field: storage_type, Type: varchar(32), 'Null': true, Extra: '' }
- { Field: storage_descr, Type: text, 'Null': false, Extra: '' }
- { Field: storage_size, Type: bigint(20), 'Null': false, Extra: '' }
- { Field: storage_units, Type: int(11), 'Null': false, Extra: '' }
- { Field: storage_used, Type: bigint(20), 'Null': false, Extra: '', Default: '0' }
- { Field: storage_free, Type: bigint(20), 'Null': false, Extra: '', Default: '0' }
- { Field: storage_perc, Type: int(11), 'Null': false, Extra: '', Default: '0' }
- { Field: storage_perc_warn, Type: int(11), 'Null': true, Extra: '', Default: '60' }
- { Field: storage_deleted, Type: tinyint(1), 'Null': false, Extra: '', Default: '0' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [storage_id], Unique: true, Type: BTREE }
device_id: { Name: device_id, Columns: [device_id], Unique: false, Type: BTREE }
index_unique: { Name: index_unique, Columns: [device_id, storage_mib, storage_index], Unique: true, Type: BTREE }
stp:
Columns:
- { Field: stp_id, Type: 'int(10) unsigned', 'Null': false, Extra: auto_increment }
- { Field: device_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: rootBridge, Type: tinyint(1), 'Null': false, Extra: '' }
- { Field: bridgeAddress, Type: varchar(32), 'Null': false, Extra: '' }
- { Field: protocolSpecification, Type: varchar(16), 'Null': false, Extra: '' }
- { Field: priority, Type: mediumint(9), 'Null': false, Extra: '' }
- { Field: timeSinceTopologyChange, Type: varchar(32), 'Null': false, Extra: '' }
- { Field: topChanges, Type: mediumint(9), 'Null': false, Extra: '' }
- { Field: designatedRoot, Type: varchar(32), 'Null': false, Extra: '' }
- { Field: rootCost, Type: mediumint(9), 'Null': false, Extra: '' }
- { Field: rootPort, Type: int(11), 'Null': true, Extra: '' }
- { Field: maxAge, Type: mediumint(9), 'Null': false, Extra: '' }
- { Field: helloTime, Type: mediumint(9), 'Null': false, Extra: '' }
- { Field: holdTime, Type: mediumint(9), 'Null': false, Extra: '' }
- { Field: forwardDelay, Type: mediumint(9), 'Null': false, Extra: '' }
- { Field: bridgeMaxAge, Type: smallint(6), 'Null': false, Extra: '' }
- { Field: bridgeHelloTime, Type: smallint(6), 'Null': false, Extra: '' }
- { Field: bridgeForwardDelay, Type: smallint(6), 'Null': false, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [stp_id], Unique: true, Type: BTREE }
stp_host: { Name: stp_host, Columns: [device_id], Unique: false, Type: BTREE }
syslog:
Columns:
- { Field: device_id, Type: 'int(10) unsigned', 'Null': true, Extra: '' }
- { Field: facility, Type: varchar(10), 'Null': true, Extra: '' }
- { Field: priority, Type: varchar(10), 'Null': true, Extra: '' }
- { Field: level, Type: varchar(10), 'Null': true, Extra: '' }
- { Field: tag, Type: varchar(10), 'Null': true, Extra: '' }
- { Field: timestamp, Type: timestamp, 'Null': false, Extra: '', Default: CURRENT_TIMESTAMP }
- { Field: program, Type: varchar(32), 'Null': true, Extra: '' }
- { Field: msg, Type: text, 'Null': true, Extra: '' }
- { Field: seq, Type: 'bigint(20) unsigned', 'Null': false, Extra: auto_increment }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [seq], Unique: true, Type: BTREE }
datetime: { Name: datetime, Columns: [timestamp], Unique: false, Type: BTREE }
device_id: { Name: device_id, Columns: [device_id], Unique: false, Type: BTREE }
device_id-timestamp: { Name: device_id-timestamp, Columns: [device_id, timestamp], Unique: false, Type: BTREE }
priority_level: { Name: priority_level, Columns: [priority, level], Unique: false, Type: BTREE }
program: { Name: program, Columns: [program], Unique: false, Type: BTREE }
tnmsneinfo:
Columns:
- { Field: id, Type: 'int(10) unsigned', 'Null': false, Extra: auto_increment }
- { Field: device_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: neID, Type: int(11), 'Null': false, Extra: '' }
- { Field: neType, Type: varchar(128), 'Null': false, Extra: '' }
- { Field: neName, Type: varchar(128), 'Null': false, Extra: '' }
- { Field: neLocation, Type: varchar(128), 'Null': false, Extra: '' }
- { Field: neAlarm, Type: varchar(128), 'Null': false, Extra: '' }
- { Field: neOpMode, Type: varchar(128), 'Null': false, Extra: '' }
- { Field: neOpState, Type: varchar(128), 'Null': false, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [id], Unique: true, Type: BTREE }
device_id: { Name: device_id, Columns: [device_id], Unique: false, Type: BTREE }
neID: { Name: neID, Columns: [neID], Unique: false, Type: BTREE }
toner:
Columns:
- { Field: toner_id, Type: 'int(10) unsigned', 'Null': false, Extra: auto_increment }
- { Field: device_id, Type: 'int(10) unsigned', 'Null': false, Extra: '', Default: '0' }
- { Field: toner_index, Type: int(11), 'Null': false, Extra: '' }
- { Field: toner_type, Type: varchar(64), 'Null': false, Extra: '' }
- { Field: toner_oid, Type: varchar(64), 'Null': false, Extra: '' }
- { Field: toner_descr, Type: varchar(32), 'Null': false, Extra: '', Default: '' }
- { Field: toner_capacity, Type: int(11), 'Null': false, Extra: '', Default: '0' }
- { Field: toner_current, Type: int(11), 'Null': false, Extra: '', Default: '0' }
- { Field: toner_capacity_oid, Type: varchar(64), 'Null': true, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [toner_id], Unique: true, Type: BTREE }
device_id: { Name: device_id, Columns: [device_id], Unique: false, Type: BTREE }
transport_group_transport:
Columns:
- { Field: transport_group_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: transport_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
ucd_diskio:
Columns:
- { Field: diskio_id, Type: 'int(10) unsigned', 'Null': false, Extra: auto_increment }
- { Field: device_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: diskio_index, Type: int(11), 'Null': false, Extra: '' }
- { Field: diskio_descr, Type: varchar(32), 'Null': false, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [diskio_id], Unique: true, Type: BTREE }
device_id: { Name: device_id, Columns: [device_id], Unique: false, Type: BTREE }
users:
Columns:
- { Field: user_id, Type: 'int(10) unsigned', 'Null': false, Extra: auto_increment }
- { Field: auth_type, Type: varchar(32), 'Null': true, Extra: '' }
- { Field: auth_id, Type: int(11), 'Null': true, Extra: '' }
- { Field: username, Type: varchar(255), 'Null': false, Extra: '' }
- { Field: password, Type: varchar(255), 'Null': true, Extra: '' }
- { Field: realname, Type: varchar(64), 'Null': false, Extra: '' }
- { Field: email, Type: varchar(64), 'Null': false, Extra: '' }
- { Field: descr, Type: char(30), 'Null': false, Extra: '' }
- { Field: level, Type: tinyint(4), 'Null': false, Extra: '', Default: '0' }
- { Field: can_modify_passwd, Type: tinyint(1), 'Null': false, Extra: '', Default: '1' }
- { Field: created_at, Type: timestamp, 'Null': false, Extra: '', Default: '1970-01-02 00:00:01' }
- { Field: updated_at, Type: timestamp, 'Null': false, Extra: '', Default: CURRENT_TIMESTAMP }
- { Field: remember_token, Type: varchar(100), 'Null': true, Extra: '' }
- { Field: enabled, Type: tinyint(1), 'Null': false, Extra: '', Default: '1' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [user_id], Unique: true, Type: BTREE }
username: { Name: username, Columns: [auth_type, username], Unique: true, Type: BTREE }
users_prefs:
Columns:
- { Field: user_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: pref, Type: varchar(32), 'Null': false, Extra: '' }
- { Field: value, Type: varchar(128), 'Null': false, Extra: '' }
Indexes:
users_prefs_user_id_pref_unique: { Name: users_prefs_user_id_pref_unique, Columns: [user_id, pref], Unique: true, Type: BTREE }
users_widgets:
Columns:
- { Field: user_widget_id, Type: 'int(10) unsigned', 'Null': false, Extra: auto_increment }
- { Field: user_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: widget_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: col, Type: tinyint(4), 'Null': false, Extra: '' }
- { Field: row, Type: tinyint(4), 'Null': false, Extra: '' }
- { Field: size_x, Type: tinyint(4), 'Null': false, Extra: '' }
- { Field: size_y, Type: tinyint(4), 'Null': false, Extra: '' }
- { Field: title, Type: varchar(255), 'Null': false, Extra: '' }
- { Field: refresh, Type: tinyint(4), 'Null': false, Extra: '', Default: '60' }
- { Field: settings, Type: text, 'Null': false, Extra: '' }
- { Field: dashboard_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [user_widget_id], Unique: true, Type: BTREE }
user_id: { Name: user_id, Columns: [user_id, widget_id], Unique: false, Type: BTREE }
vlans:
Columns:
- { Field: vlan_id, Type: 'int(10) unsigned', 'Null': false, Extra: auto_increment }
- { Field: device_id, Type: 'int(10) unsigned', 'Null': true, Extra: '' }
- { Field: vlan_vlan, Type: int(11), 'Null': true, Extra: '' }
- { Field: vlan_domain, Type: int(11), 'Null': true, Extra: '' }
- { Field: vlan_name, Type: varchar(64), 'Null': true, Extra: '' }
- { Field: vlan_type, Type: varchar(16), 'Null': true, Extra: '' }
- { Field: vlan_mtu, Type: int(11), 'Null': true, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [vlan_id], Unique: true, Type: BTREE }
device_id: { Name: device_id, Columns: [device_id, vlan_vlan], Unique: false, Type: BTREE }
vminfo:
Columns:
- { Field: id, Type: 'int(10) unsigned', 'Null': false, Extra: auto_increment }
- { Field: device_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: vm_type, Type: varchar(16), 'Null': false, Extra: '', Default: vmware }
- { Field: vmwVmVMID, Type: int(11), 'Null': false, Extra: '' }
- { Field: vmwVmDisplayName, Type: varchar(128), 'Null': false, Extra: '' }
- { Field: vmwVmGuestOS, Type: varchar(128), 'Null': false, Extra: '' }
- { Field: vmwVmMemSize, Type: int(11), 'Null': false, Extra: '' }
- { Field: vmwVmCpus, Type: int(11), 'Null': false, Extra: '' }
- { Field: vmwVmState, Type: varchar(128), 'Null': false, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [id], Unique: true, Type: BTREE }
device_id: { Name: device_id, Columns: [device_id], Unique: false, Type: BTREE }
vmwVmVMID: { Name: vmwVmVMID, Columns: [vmwVmVMID], Unique: false, Type: BTREE }
vrfs:
Columns:
- { Field: vrf_id, Type: 'int(10) unsigned', 'Null': false, Extra: auto_increment }
- { Field: vrf_oid, Type: varchar(256), 'Null': false, Extra: '' }
- { Field: vrf_name, Type: varchar(128), 'Null': true, Extra: '' }
- { Field: bgpLocalAs, Type: 'int(10) unsigned', 'Null': true, Extra: '' }
- { Field: mplsVpnVrfRouteDistinguisher, Type: varchar(128), 'Null': true, Extra: '' }
- { Field: mplsVpnVrfDescription, Type: text, 'Null': false, Extra: '' }
- { Field: device_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [vrf_id], Unique: true, Type: BTREE }
device_id: { Name: device_id, Columns: [device_id], Unique: false, Type: BTREE }
vrf_lite_cisco:
Columns:
- { Field: vrf_lite_cisco_id, Type: 'int(10) unsigned', 'Null': false, Extra: auto_increment }
- { Field: device_id, Type: 'int(10) unsigned', 'Null': false, Extra: '' }
- { Field: context_name, Type: varchar(128), 'Null': false, Extra: '' }
- { Field: intance_name, Type: varchar(128), 'Null': true, Extra: '', Default: '' }
- { Field: vrf_name, Type: varchar(128), 'Null': true, Extra: '', Default: Default }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [vrf_lite_cisco_id], Unique: true, Type: BTREE }
context: { Name: context, Columns: [context_name], Unique: false, Type: BTREE }
device: { Name: device, Columns: [device_id], Unique: false, Type: BTREE }
mix: { Name: mix, Columns: [device_id, context_name, vrf_name], Unique: false, Type: BTREE }
vrf: { Name: vrf, Columns: [vrf_name], Unique: false, Type: BTREE }
widgets:
Columns:
- { Field: widget_id, Type: 'int(10) unsigned', 'Null': false, Extra: auto_increment }
- { Field: widget_title, Type: varchar(255), 'Null': false, Extra: '' }
- { Field: widget, Type: varchar(255), 'Null': false, Extra: '' }
- { Field: base_dimensions, Type: varchar(10), 'Null': false, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [widget_id], Unique: true, Type: BTREE }
widget: { Name: widget, Columns: [widget], Unique: true, Type: BTREE }
wireless_sensors:
Columns:
- { Field: sensor_id, Type: 'int(10) unsigned', 'Null': false, Extra: auto_increment }
- { Field: sensor_deleted, Type: tinyint(1), 'Null': false, Extra: '', Default: '0' }
- { Field: sensor_class, Type: varchar(64), 'Null': false, Extra: '' }
- { Field: device_id, Type: 'int(10) unsigned', 'Null': false, Extra: '', Default: '0' }
- { Field: sensor_index, Type: varchar(64), 'Null': true, Extra: '' }
- { Field: sensor_type, Type: varchar(255), 'Null': false, Extra: '' }
- { Field: sensor_descr, Type: varchar(255), 'Null': true, Extra: '' }
- { Field: sensor_divisor, Type: int(11), 'Null': false, Extra: '', Default: '1' }
- { Field: sensor_multiplier, Type: int(11), 'Null': false, Extra: '', Default: '1' }
- { Field: sensor_aggregator, Type: varchar(16), 'Null': false, Extra: '', Default: sum }
- { Field: sensor_current, Type: double, 'Null': true, Extra: '' }
- { Field: sensor_prev, Type: double, 'Null': true, Extra: '' }
- { Field: sensor_limit, Type: double, 'Null': true, Extra: '' }
- { Field: sensor_limit_warn, Type: double, 'Null': true, Extra: '' }
- { Field: sensor_limit_low, Type: double, 'Null': true, Extra: '' }
- { Field: sensor_limit_low_warn, Type: double, 'Null': true, Extra: '' }
- { Field: sensor_alert, Type: tinyint(1), 'Null': false, Extra: '', Default: '1' }
- { Field: sensor_custom, Type: 'enum(''No'',''Yes'')', 'Null': false, Extra: '', Default: 'No' }
- { Field: entPhysicalIndex, Type: varchar(16), 'Null': true, Extra: '' }
- { Field: entPhysicalIndex_measured, Type: varchar(16), 'Null': true, Extra: '' }
- { Field: lastupdate, Type: timestamp, 'Null': false, Extra: '', Default: CURRENT_TIMESTAMP }
- { Field: sensor_oids, Type: text, 'Null': false, Extra: '' }
- { Field: access_point_id, Type: 'int(10) unsigned', 'Null': true, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [sensor_id], Unique: true, Type: BTREE }
sensor_class: { Name: sensor_class, Columns: [sensor_class], Unique: false, Type: BTREE }
sensor_host: { Name: sensor_host, Columns: [device_id], Unique: false, Type: BTREE }
sensor_type: { Name: sensor_type, Columns: [sensor_type], Unique: false, Type: BTREE }
Constraints:
wireless_sensors_device_id_foreign: { name: wireless_sensors_device_id_foreign, foreign_key: device_id, table: devices, key: device_id, extra: 'ON DELETE CASCADE' }