LibreNMS/misc/db_schema.yaml

2166 lines
148 KiB
YAML

access_points:
Columns:
- { Field: accesspoint_id, Type: 'int unsigned', 'Null': false, Extra: auto_increment }
- { Field: device_id, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: name, Type: varchar(255), 'Null': false, Extra: '' }
- { Field: radio_number, Type: tinyint, 'Null': true, Extra: '' }
- { Field: type, Type: varchar(16), 'Null': false, Extra: '' }
- { Field: mac_addr, Type: varchar(24), 'Null': false, Extra: '' }
- { Field: deleted, Type: tinyint, 'Null': false, Extra: '', Default: '0' }
- { Field: channel, Type: 'tinyint unsigned', 'Null': false, Extra: '', Default: '0' }
- { Field: txpow, Type: tinyint, 'Null': false, Extra: '', Default: '0' }
- { Field: radioutil, Type: tinyint, 'Null': false, Extra: '', Default: '0' }
- { Field: numasoclients, Type: smallint, 'Null': false, Extra: '', Default: '0' }
- { Field: nummonclients, Type: smallint, 'Null': false, Extra: '', Default: '0' }
- { Field: numactbssid, Type: tinyint, 'Null': false, Extra: '', Default: '0' }
- { Field: nummonbssid, Type: tinyint, 'Null': false, Extra: '', Default: '0' }
- { Field: interference, Type: 'tinyint unsigned', 'Null': false, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [accesspoint_id], Unique: true, Type: BTREE }
access_points_deleted_index: { Name: access_points_deleted_index, Columns: [deleted], Unique: false, Type: BTREE }
name: { Name: name, Columns: [name, radio_number], Unique: false, Type: BTREE }
alerts:
Columns:
- { Field: id, Type: 'int unsigned', 'Null': false, Extra: auto_increment }
- { Field: device_id, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: rule_id, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: state, Type: int, 'Null': false, Extra: '' }
- { Field: alerted, Type: int, 'Null': false, Extra: '' }
- { Field: open, Type: int, 'Null': false, Extra: '' }
- { Field: note, Type: text, 'Null': true, Extra: '' }
- { Field: timestamp, Type: timestamp, 'Null': false, Extra: '', Default: CURRENT_TIMESTAMP }
- { Field: info, Type: text, 'Null': false, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [id], Unique: true, Type: BTREE }
alerts_device_id_index: { Name: alerts_device_id_index, Columns: [device_id], Unique: false, Type: BTREE }
alerts_device_id_rule_id_unique: { Name: alerts_device_id_rule_id_unique, Columns: [device_id, rule_id], Unique: true, Type: BTREE }
alerts_rule_id_index: { Name: alerts_rule_id_index, Columns: [rule_id], Unique: false, Type: BTREE }
alert_device_map:
Columns:
- { Field: id, Type: 'int unsigned', 'Null': false, Extra: auto_increment }
- { Field: rule_id, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: device_id, Type: 'int unsigned', 'Null': false, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [id], Unique: true, Type: BTREE }
alert_device_map_rule_id_device_id_unique: { Name: alert_device_map_rule_id_device_id_unique, Columns: [rule_id, device_id], Unique: true, Type: BTREE }
alert_group_map:
Columns:
- { Field: id, Type: 'int unsigned', 'Null': false, Extra: auto_increment }
- { Field: rule_id, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: group_id, Type: 'int unsigned', 'Null': false, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [id], Unique: true, Type: BTREE }
alert_group_map_rule_id_group_id_unique: { Name: alert_group_map_rule_id_group_id_unique, Columns: [rule_id, group_id], Unique: true, Type: BTREE }
alert_location_map:
Columns:
- { Field: id, Type: 'int unsigned', 'Null': false, Extra: auto_increment }
- { Field: rule_id, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: location_id, Type: 'int unsigned', 'Null': false, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [id], Unique: true, Type: BTREE }
alert_location_map_rule_id_location_id_uindex: { Name: alert_location_map_rule_id_location_id_uindex, Columns: [rule_id, location_id], Unique: true, Type: BTREE }
alert_log:
Columns:
- { Field: id, Type: 'int unsigned', 'Null': false, Extra: auto_increment }
- { Field: rule_id, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: device_id, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: state, Type: int, '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 }
alert_log_device_id_index: { Name: alert_log_device_id_index, Columns: [device_id], Unique: false, Type: BTREE }
alert_log_rule_id_device_id_index: { Name: alert_log_rule_id_device_id_index, Columns: [rule_id, device_id], Unique: false, Type: BTREE }
alert_log_rule_id_device_id_state_index: { Name: alert_log_rule_id_device_id_state_index, Columns: [rule_id, device_id, state], Unique: false, Type: BTREE }
alert_log_rule_id_index: { Name: alert_log_rule_id_index, Columns: [rule_id], Unique: false, Type: BTREE }
alert_log_time_logged_index: { Name: alert_log_time_logged_index, Columns: [time_logged], Unique: false, Type: BTREE }
alert_rules:
Columns:
- { Field: id, Type: 'int 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, '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: '' }
- { Field: invert_map, Type: tinyint, 'Null': false, Extra: '', Default: '0' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [id], Unique: true, Type: BTREE }
alert_rules_name_unique: { Name: alert_rules_name_unique, Columns: [name], Unique: true, Type: BTREE }
alert_schedulables:
Columns:
- { Field: item_id, Type: 'int unsigned', 'Null': false, Extra: auto_increment }
- { Field: schedule_id, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: alert_schedulable_id, Type: 'int 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 }
alert_schedulables_schedule_id_index: { Name: alert_schedulables_schedule_id_index, Columns: [schedule_id], Unique: false, Type: BTREE }
schedulable_morph_index: { Name: schedulable_morph_index, Columns: [alert_schedulable_type, alert_schedulable_id], Unique: false, Type: BTREE }
alert_schedule:
Columns:
- { Field: schedule_id, Type: 'int unsigned', 'Null': false, Extra: auto_increment }
- { Field: recurring, Type: 'tinyint 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: 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 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 unsigned', 'Null': false, Extra: auto_increment }
- { Field: alert_templates_id, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: alert_rule_id, Type: 'int 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 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, '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 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 unsigned', 'Null': false, Extra: auto_increment }
- { Field: rule_id, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: transport_or_group_id, Type: 'int 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 unsigned', 'Null': false, Extra: auto_increment }
- { Field: user_id, Type: 'int 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, 'Null': false, Extra: '', Default: '0' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [id], Unique: true, Type: BTREE }
api_tokens_token_hash_unique: { Name: api_tokens_token_hash_unique, Columns: [token_hash], Unique: true, Type: BTREE }
applications:
Columns:
- { Field: app_id, Type: 'int unsigned', 'Null': false, Extra: auto_increment }
- { Field: device_id, Type: 'int 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, '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 }
applications_device_id_app_type_unique: { Name: applications_device_id_app_type_unique, Columns: [device_id, app_type], Unique: true, Type: BTREE }
application_metrics:
Columns:
- { Field: app_id, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: metric, Type: varchar(64), 'Null': false, Extra: '' }
- { Field: value, Type: double, 'Null': true, Extra: '' }
- { Field: value_prev, Type: double, 'Null': true, Extra: '' }
Indexes:
application_metrics_app_id_metric_unique: { Name: application_metrics_app_id_metric_unique, Columns: [app_id, metric], Unique: true, Type: BTREE }
authlog:
Columns:
- { Field: id, Type: 'int 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 }
availability:
Columns:
- { Field: availability_id, Type: 'int unsigned', 'Null': false, Extra: auto_increment }
- { Field: device_id, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: duration, Type: bigint, 'Null': false, Extra: '' }
- { Field: availability_perc, Type: 'decimal(9,6)', 'Null': false, Extra: '', Default: '0.000000' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [availability_id], Unique: true, Type: BTREE }
availability_device_id_duration_unique: { Name: availability_device_id_duration_unique, Columns: [device_id, duration], Unique: true, Type: BTREE }
availability_device_id_index: { Name: availability_device_id_index, Columns: [device_id], Unique: false, Type: BTREE }
bgpPeers:
Columns:
- { Field: bgpPeer_id, Type: 'int unsigned', 'Null': false, Extra: auto_increment }
- { Field: device_id, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: vrf_id, Type: 'int unsigned', 'Null': true, Extra: '' }
- { Field: astext, Type: varchar(255), 'Null': false, Extra: '' }
- { Field: bgpPeerIdentifier, Type: text, 'Null': false, Extra: '' }
- { Field: bgpPeerRemoteAs, Type: bigint, 'Null': false, Extra: '' }
- { Field: bgpPeerState, Type: text, 'Null': false, Extra: '' }
- { Field: bgpPeerAdminStatus, Type: text, 'Null': false, Extra: '' }
- { Field: bgpPeerLastErrorCode, Type: int, 'Null': true, Extra: '' }
- { Field: bgpPeerLastErrorSubCode, Type: int, 'Null': true, Extra: '' }
- { Field: bgpPeerLastErrorText, Type: varchar(254), 'Null': true, Extra: '' }
- { Field: bgpPeerIface, Type: 'int unsigned', 'Null': true, 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, 'Null': false, Extra: '' }
- { Field: bgpPeerOutUpdates, Type: int, 'Null': false, Extra: '' }
- { Field: bgpPeerInTotalMessages, Type: int, 'Null': false, Extra: '' }
- { Field: bgpPeerOutTotalMessages, Type: int, 'Null': false, Extra: '' }
- { Field: bgpPeerFsmEstablishedTime, Type: int, 'Null': false, Extra: '' }
- { Field: bgpPeerInUpdateElapsedTime, Type: int, 'Null': false, Extra: '' }
- { Field: context_name, Type: varchar(128), 'Null': true, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [bgpPeer_id], Unique: true, Type: BTREE }
bgppeers_device_id_context_name_index: { Name: bgppeers_device_id_context_name_index, Columns: [device_id, context_name], Unique: false, Type: BTREE }
bgpPeers_cbgp:
Columns:
- { Field: device_id, Type: 'int 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, 'Null': false, Extra: '' }
- { Field: DeniedPrefixes, Type: int, 'Null': false, Extra: '' }
- { Field: PrefixAdminLimit, Type: int, 'Null': false, Extra: '' }
- { Field: PrefixThreshold, Type: int, 'Null': false, Extra: '' }
- { Field: PrefixClearThreshold, Type: int, 'Null': false, Extra: '' }
- { Field: AdvertisedPrefixes, Type: int, 'Null': false, Extra: '' }
- { Field: SuppressedPrefixes, Type: int, 'Null': false, Extra: '' }
- { Field: WithdrawnPrefixes, Type: int, 'Null': false, Extra: '' }
- { Field: AcceptedPrefixes_delta, Type: int, 'Null': false, Extra: '' }
- { Field: AcceptedPrefixes_prev, Type: int, 'Null': false, Extra: '' }
- { Field: DeniedPrefixes_delta, Type: int, 'Null': false, Extra: '' }
- { Field: DeniedPrefixes_prev, Type: int, 'Null': false, Extra: '' }
- { Field: AdvertisedPrefixes_delta, Type: int, 'Null': false, Extra: '' }
- { Field: AdvertisedPrefixes_prev, Type: int, 'Null': false, Extra: '' }
- { Field: SuppressedPrefixes_delta, Type: int, 'Null': false, Extra: '' }
- { Field: SuppressedPrefixes_prev, Type: int, 'Null': false, Extra: '' }
- { Field: WithdrawnPrefixes_delta, Type: int, 'Null': false, Extra: '' }
- { Field: WithdrawnPrefixes_prev, Type: int, 'Null': false, Extra: '' }
- { Field: context_name, Type: varchar(128), 'Null': true, Extra: '' }
Indexes:
bgppeers_cbgp_device_id_bgppeeridentifier_afi_safi_unique: { Name: bgppeers_cbgp_device_id_bgppeeridentifier_afi_safi_unique, Columns: [device_id, bgpPeerIdentifier, afi, safi], Unique: true, Type: BTREE }
bgppeers_cbgp_device_id_bgppeeridentifier_context_name_index: { Name: bgppeers_cbgp_device_id_bgppeeridentifier_context_name_index, Columns: [device_id, bgpPeerIdentifier, context_name], Unique: false, Type: BTREE }
bills:
Columns:
- { Field: bill_id, Type: 'int 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, 'Null': true, Extra: '' }
- { Field: bill_day, Type: int, 'Null': false, Extra: '', Default: '1' }
- { Field: bill_quota, Type: bigint, 'Null': true, Extra: '' }
- { Field: rate_95th_in, Type: bigint, 'Null': false, Extra: '' }
- { Field: rate_95th_out, Type: bigint, 'Null': false, Extra: '' }
- { Field: rate_95th, Type: bigint, 'Null': false, Extra: '' }
- { Field: dir_95th, Type: varchar(3), 'Null': false, Extra: '' }
- { Field: total_data, Type: bigint, 'Null': false, Extra: '' }
- { Field: total_data_in, Type: bigint, 'Null': false, Extra: '' }
- { Field: total_data_out, Type: bigint, 'Null': false, Extra: '' }
- { Field: rate_average_in, Type: bigint, 'Null': false, Extra: '' }
- { Field: rate_average_out, Type: bigint, 'Null': false, Extra: '' }
- { Field: rate_average, Type: bigint, '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, 'Null': false, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [bill_id], Unique: true, Type: BTREE }
bill_data:
Columns:
- { Field: bill_id, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: timestamp, Type: datetime, 'Null': false, Extra: '' }
- { Field: period, Type: int, 'Null': false, Extra: '' }
- { Field: delta, Type: bigint, 'Null': false, Extra: '' }
- { Field: in_delta, Type: bigint, 'Null': false, Extra: '' }
- { Field: out_delta, Type: bigint, 'Null': false, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [bill_id, timestamp], Unique: true, Type: BTREE }
bill_data_bill_id_index: { Name: bill_data_bill_id_index, Columns: [bill_id], Unique: false, Type: BTREE }
bill_history:
Columns:
- { Field: bill_hist_id, Type: 'int unsigned', 'Null': false, Extra: auto_increment }
- { Field: bill_id, Type: 'int 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, 'Null': false, Extra: '' }
- { Field: bill_used, Type: bigint, 'Null': false, Extra: '' }
- { Field: bill_overuse, Type: bigint, 'Null': false, Extra: '' }
- { Field: bill_percent, Type: 'decimal(10,2)', 'Null': false, Extra: '' }
- { Field: rate_95th_in, Type: bigint, 'Null': false, Extra: '' }
- { Field: rate_95th_out, Type: bigint, 'Null': false, Extra: '' }
- { Field: rate_95th, Type: bigint, 'Null': false, Extra: '' }
- { Field: dir_95th, Type: varchar(3), 'Null': false, Extra: '' }
- { Field: rate_average, Type: bigint, 'Null': false, Extra: '' }
- { Field: rate_average_in, Type: bigint, 'Null': false, Extra: '' }
- { Field: rate_average_out, Type: bigint, 'Null': false, Extra: '' }
- { Field: traf_in, Type: bigint, 'Null': false, Extra: '' }
- { Field: traf_out, Type: bigint, 'Null': false, Extra: '' }
- { Field: traf_total, Type: bigint, 'Null': false, Extra: '' }
- { Field: bill_peak_out, Type: bigint, 'Null': true, Extra: '' }
- { Field: bill_peak_in, Type: bigint, 'Null': true, Extra: '' }
- { Field: pdf, Type: longblob, 'Null': true, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [bill_hist_id], Unique: true, Type: BTREE }
bill_history_bill_id_bill_datefrom_bill_dateto_unique: { Name: bill_history_bill_id_bill_datefrom_bill_dateto_unique, Columns: [bill_id, bill_datefrom, bill_dateto], Unique: true, Type: BTREE }
bill_history_bill_id_index: { Name: bill_history_bill_id_index, Columns: [bill_id], Unique: false, Type: BTREE }
bill_perms:
Columns:
- { Field: id, Type: 'bigint unsigned', 'Null': false, Extra: auto_increment }
- { Field: user_id, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: bill_id, Type: 'int unsigned', 'Null': false, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [id], Unique: true, Type: BTREE }
bill_ports:
Columns:
- { Field: id, Type: 'bigint unsigned', 'Null': false, Extra: auto_increment }
- { Field: bill_id, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: port_id, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: bill_port_autoadded, Type: tinyint, 'Null': false, Extra: '', Default: '0' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [id], Unique: true, Type: BTREE }
bill_port_counters:
Columns:
- { Field: port_id, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: timestamp, Type: timestamp, 'Null': false, Extra: '', Default: CURRENT_TIMESTAMP }
- { Field: in_counter, Type: bigint, 'Null': true, Extra: '' }
- { Field: in_delta, Type: bigint, 'Null': false, Extra: '', Default: '0' }
- { Field: out_counter, Type: bigint, 'Null': true, Extra: '' }
- { Field: out_delta, Type: bigint, 'Null': false, Extra: '', Default: '0' }
- { Field: bill_id, Type: 'int unsigned', 'Null': false, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [port_id, bill_id], Unique: true, Type: BTREE }
cache:
Columns:
- { Field: key, Type: varchar(255), 'Null': false, Extra: '' }
- { Field: value, Type: mediumtext, 'Null': false, Extra: '' }
- { Field: expiration, Type: int, 'Null': false, Extra: '' }
Indexes:
cache_key_unique: { Name: cache_key_unique, Columns: [key], Unique: true, Type: BTREE }
cache_locks:
Columns:
- { Field: key, Type: varchar(255), 'Null': false, Extra: '' }
- { Field: owner, Type: varchar(255), 'Null': false, Extra: '' }
- { Field: expiration, Type: int, 'Null': false, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [key], Unique: true, Type: BTREE }
callback:
Columns:
- { Field: callback_id, Type: 'int 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 unsigned', 'Null': false, Extra: auto_increment }
- { Field: device_id, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: entPhysicalIndex, Type: int, 'Null': false, Extra: '' }
- { Field: afi, Type: varchar(4), 'Null': false, Extra: '' }
- { Field: cef_index, Type: int, 'Null': false, Extra: '' }
- { Field: cef_path, Type: varchar(16), 'Null': false, Extra: '' }
- { Field: drop, Type: int, 'Null': false, Extra: '' }
- { Field: punt, Type: int, 'Null': false, Extra: '' }
- { Field: punt2host, Type: int, 'Null': false, Extra: '' }
- { Field: drop_prev, Type: int, 'Null': false, Extra: '' }
- { Field: punt_prev, Type: int, 'Null': false, Extra: '' }
- { Field: punt2host_prev, Type: int, 'Null': false, Extra: '' }
- { Field: updated, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: updated_prev, Type: 'int unsigned', 'Null': false, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [cef_switching_id], Unique: true, Type: BTREE }
cef_switching_device_id_entphysicalindex_afi_cef_index_unique: { Name: cef_switching_device_id_entphysicalindex_afi_cef_index_unique, Columns: [device_id, entPhysicalIndex, afi, cef_index], Unique: true, Type: BTREE }
ciscoASA:
Columns:
- { Field: ciscoASA_id, Type: 'int unsigned', 'Null': false, Extra: auto_increment }
- { Field: device_id, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: oid, Type: varchar(255), 'Null': false, Extra: '' }
- { Field: data, Type: bigint, 'Null': false, Extra: '' }
- { Field: high_alert, Type: bigint, 'Null': false, Extra: '' }
- { Field: low_alert, Type: bigint, 'Null': false, Extra: '' }
- { Field: disabled, Type: tinyint, 'Null': false, Extra: '', Default: '0' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [ciscoASA_id], Unique: true, Type: BTREE }
ciscoasa_device_id_index: { Name: ciscoasa_device_id_index, Columns: [device_id], Unique: false, Type: BTREE }
component:
Columns:
- { Field: id, Type: 'int unsigned', 'Null': false, Extra: auto_increment }
- { Field: device_id, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: type, Type: varchar(50), 'Null': false, Extra: '' }
- { Field: label, Type: varchar(255), 'Null': true, Extra: '' }
- { Field: status, Type: tinyint, 'Null': false, Extra: '', Default: '0' }
- { Field: disabled, Type: tinyint, 'Null': false, Extra: '', Default: '0' }
- { Field: ignore, Type: tinyint, 'Null': false, Extra: '', Default: '0' }
- { Field: error, Type: varchar(255), 'Null': true, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [id], Unique: true, Type: BTREE }
component_device_id_index: { Name: component_device_id_index, Columns: [device_id], Unique: false, Type: BTREE }
component_type_index: { Name: component_type_index, Columns: [type], Unique: false, Type: BTREE }
component_prefs:
Columns:
- { Field: id, Type: 'int unsigned', 'Null': false, Extra: auto_increment }
- { Field: component, Type: 'int 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_prefs_component_index: { Name: component_prefs_component_index, 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 unsigned', 'Null': false, Extra: auto_increment }
- { Field: component_id, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: status, Type: tinyint, '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 }
component_statuslog_component_id_index: { Name: component_statuslog_component_id_index, 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 unsigned', 'Null': false, Extra: auto_increment }
- { Field: config_name, Type: varchar(255), 'Null': false, Extra: '' }
- { Field: config_value, Type: mediumtext, 'Null': false, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [config_id], Unique: true, Type: BTREE }
config_config_name_unique: { Name: config_config_name_unique, Columns: [config_name], Unique: true, Type: BTREE }
customers:
Columns:
- { Field: customer_id, Type: 'int 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, 'Null': false, Extra: '', Default: '0' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [customer_id], Unique: true, Type: BTREE }
customers_username_unique: { Name: customers_username_unique, Columns: [username], Unique: true, Type: BTREE }
customoids:
Columns:
- { Field: customoid_id, Type: 'int unsigned', 'Null': false, Extra: auto_increment }
- { Field: device_id, Type: 'int unsigned', 'Null': false, Extra: '', Default: '0' }
- { Field: customoid_descr, Type: varchar(255), 'Null': true, Extra: '', Default: '' }
- { Field: customoid_deleted, Type: tinyint, 'Null': false, Extra: '', Default: '0' }
- { Field: customoid_current, Type: double, 'Null': true, Extra: '' }
- { Field: customoid_prev, Type: double, 'Null': true, Extra: '' }
- { Field: customoid_oid, Type: varchar(255), 'Null': true, Extra: '' }
- { Field: customoid_datatype, Type: varchar(20), 'Null': false, Extra: '', Default: GAUGE }
- { Field: customoid_unit, Type: varchar(20), 'Null': true, Extra: '' }
- { Field: customoid_divisor, Type: 'int unsigned', 'Null': false, Extra: '', Default: '1' }
- { Field: customoid_multiplier, Type: 'int unsigned', 'Null': false, Extra: '', Default: '1' }
- { Field: customoid_limit, Type: double, 'Null': true, Extra: '' }
- { Field: customoid_limit_warn, Type: double, 'Null': true, Extra: '' }
- { Field: customoid_limit_low, Type: double, 'Null': true, Extra: '' }
- { Field: customoid_limit_low_warn, Type: double, 'Null': true, Extra: '' }
- { Field: customoid_alert, Type: tinyint, 'Null': false, Extra: '', Default: '0' }
- { Field: customoid_passed, Type: tinyint, 'Null': false, Extra: '', Default: '0' }
- { Field: lastupdate, Type: timestamp, 'Null': false, Extra: 'on update CURRENT_TIMESTAMP', Default: CURRENT_TIMESTAMP }
- { Field: user_func, Type: varchar(100), 'Null': true, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [customoid_id], Unique: true, Type: BTREE }
dashboards:
Columns:
- { Field: dashboard_id, Type: 'int unsigned', 'Null': false, Extra: auto_increment }
- { Field: user_id, Type: 'int unsigned', 'Null': false, Extra: '', Default: '0' }
- { Field: dashboard_name, Type: varchar(255), 'Null': false, Extra: '' }
- { Field: access, Type: tinyint, 'Null': false, Extra: '', Default: '0' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [dashboard_id], Unique: true, Type: BTREE }
dbSchema:
Columns:
- { Field: version, Type: int, 'Null': false, Extra: '', Default: '0' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [version], Unique: true, Type: BTREE }
devices:
Columns:
- { Field: device_id, Type: 'int unsigned', 'Null': false, Extra: auto_increment }
- { Field: inserted, Type: timestamp, 'Null': true, Extra: '', Default: CURRENT_TIMESTAMP }
- { Field: hostname, Type: varchar(128), 'Null': false, Extra: '' }
- { Field: sysName, Type: varchar(128), 'Null': true, Extra: '' }
- { Field: display, Type: varchar(128), 'Null': true, Extra: '' }
- { Field: ip, Type: varbinary(16), 'Null': true, Extra: '' }
- { Field: overwrite_ip, Type: varchar(40), '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: varchar(10), 'Null': true, Extra: '' }
- { Field: cryptopass, Type: varchar(64), 'Null': true, Extra: '' }
- { Field: cryptoalgo, Type: varchar(10), 'Null': true, Extra: '' }
- { Field: snmpver, Type: varchar(4), 'Null': false, Extra: '', Default: v2c }
- { Field: port, Type: 'smallint unsigned', 'Null': false, Extra: '', Default: '161' }
- { Field: transport, Type: varchar(16), 'Null': false, Extra: '', Default: udp }
- { Field: timeout, Type: int, 'Null': true, Extra: '' }
- { Field: retries, Type: int, 'Null': true, Extra: '' }
- { Field: snmp_disable, Type: tinyint, 'Null': false, Extra: '', Default: '0' }
- { Field: bgpLocalAs, Type: 'int 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 unsigned', 'Null': true, Extra: '' }
- { Field: os, Type: varchar(32), 'Null': true, Extra: '' }
- { Field: status, Type: tinyint, 'Null': false, Extra: '', Default: '0' }
- { Field: status_reason, Type: varchar(50), 'Null': false, Extra: '' }
- { Field: ignore, Type: tinyint, 'Null': false, Extra: '', Default: '0' }
- { Field: disabled, Type: tinyint, 'Null': false, Extra: '', Default: '0' }
- { Field: uptime, Type: bigint, 'Null': true, Extra: '' }
- { Field: agent_uptime, Type: 'int 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, 'Null': false, Extra: '', Default: '0' }
- { Field: override_sysLocation, Type: tinyint, 'Null': true, Extra: '', Default: '0' }
- { Field: notes, Type: text, 'Null': true, Extra: '' }
- { Field: port_association_mode, Type: int, 'Null': false, Extra: '', Default: '1' }
- { Field: max_depth, Type: int, 'Null': false, Extra: '', Default: '0' }
- { Field: disable_notify, Type: tinyint, 'Null': false, Extra: '', Default: '0' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [device_id], Unique: true, Type: BTREE }
devices_hostname_sysname_display_index: { Name: devices_hostname_sysname_display_index, Columns: [hostname, sysName, display], Unique: false, Type: BTREE }
devices_last_poll_attempted_index: { Name: devices_last_poll_attempted_index, Columns: [last_poll_attempted], Unique: false, Type: BTREE }
devices_last_polled_index: { Name: devices_last_polled_index, Columns: [last_polled], Unique: false, Type: BTREE }
devices_os_index: { Name: devices_os_index, Columns: [os], Unique: false, Type: BTREE }
devices_status_index: { Name: devices_status_index, Columns: [status], Unique: false, Type: BTREE }
devices_sysname_index: { Name: devices_sysname_index, Columns: [sysName], Unique: false, Type: BTREE }
devices_attribs:
Columns:
- { Field: attrib_id, Type: 'int unsigned', 'Null': false, Extra: auto_increment }
- { Field: device_id, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: attrib_type, Type: varchar(64), '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 }
devices_attribs_device_id_index: { Name: devices_attribs_device_id_index, Columns: [device_id], Unique: false, Type: BTREE }
devices_group_perms:
Columns:
- { Field: user_id, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: device_group_id, Type: 'int unsigned', 'Null': false, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [device_group_id, user_id], Unique: true, Type: BTREE }
devices_group_perms_device_group_id_index: { Name: devices_group_perms_device_group_id_index, Columns: [device_group_id], Unique: false, Type: BTREE }
devices_group_perms_user_id_index: { Name: devices_group_perms_user_id_index, Columns: [user_id], Unique: false, Type: BTREE }
devices_perms:
Columns:
- { Field: id, Type: 'bigint unsigned', 'Null': false, Extra: auto_increment }
- { Field: user_id, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: device_id, Type: 'int unsigned', 'Null': false, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [id], Unique: true, Type: BTREE }
devices_perms_user_id_index: { Name: devices_perms_user_id_index, Columns: [user_id], Unique: false, Type: BTREE }
device_graphs:
Columns:
- { Field: id, Type: 'bigint unsigned', 'Null': false, Extra: auto_increment }
- { Field: device_id, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: graph, Type: varchar(255), 'Null': true, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [id], Unique: true, Type: BTREE }
device_graphs_device_id_index: { Name: device_graphs_device_id_index, Columns: [device_id], Unique: false, Type: BTREE }
device_groups:
Columns:
- { Field: id, Type: 'int 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 }
device_groups_name_unique: { Name: device_groups_name_unique, Columns: [name], Unique: true, Type: BTREE }
device_group_device:
Columns:
- { Field: device_group_id, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: device_id, Type: 'int 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_outages:
Columns:
- { Field: id, Type: 'bigint unsigned', 'Null': false, Extra: auto_increment }
- { Field: device_id, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: going_down, Type: bigint, 'Null': false, Extra: '' }
- { Field: up_again, Type: bigint, 'Null': true, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [id], Unique: true, Type: BTREE }
device_outages_device_id_going_down_unique: { Name: device_outages_device_id_going_down_unique, Columns: [device_id, going_down], Unique: true, Type: BTREE }
device_outages_device_id_index: { Name: device_outages_device_id_index, Columns: [device_id], Unique: false, Type: BTREE }
device_perf:
Columns:
- { Field: id, Type: 'int unsigned', 'Null': false, Extra: auto_increment }
- { Field: device_id, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: timestamp, Type: datetime, 'Null': false, Extra: '' }
- { Field: xmt, Type: int, 'Null': false, Extra: '' }
- { Field: rcv, Type: int, 'Null': false, Extra: '' }
- { Field: loss, Type: int, '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_perf_device_id_index: { Name: device_perf_device_id_index, Columns: [device_id], Unique: false, Type: BTREE }
device_perf_device_id_timestamp_index: { Name: device_perf_device_id_timestamp_index, Columns: [device_id, timestamp], Unique: false, Type: BTREE }
device_relationships:
Columns:
- { Field: parent_device_id, Type: 'int unsigned', 'Null': false, Extra: '', Default: '0' }
- { Field: child_device_id, Type: 'int unsigned', 'Null': false, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [parent_device_id, child_device_id], Unique: true, Type: BTREE }
device_relationships_child_device_id_index: { Name: device_relationships_child_device_id_index, 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 unsigned', 'Null': false, Extra: auto_increment }
- { Field: device_id, Type: 'int unsigned', 'Null': true, Extra: '' }
- { Field: entPhysical_id, Type: 'int unsigned', 'Null': true, Extra: '' }
- { Field: entStateLastChanged, Type: datetime, 'Null': true, Extra: '' }
- { Field: entStateAdmin, Type: int, 'Null': true, Extra: '' }
- { Field: entStateOper, Type: int, 'Null': true, Extra: '' }
- { Field: entStateUsage, Type: int, 'Null': true, Extra: '' }
- { Field: entStateAlarm, Type: text, 'Null': true, Extra: '' }
- { Field: entStateStandby, Type: int, '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 unsigned', 'Null': false, Extra: auto_increment }
- { Field: device_id, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: entPhysicalIndex, Type: int, '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, 'Null': false, Extra: '' }
- { Field: entPhysicalParentRelPos, Type: int, 'Null': false, Extra: '' }
- { Field: entPhysicalMfgName, Type: text, 'Null': false, Extra: '' }
- { Field: ifIndex, Type: int, 'Null': true, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [entPhysical_id], Unique: true, Type: BTREE }
entphysical_device_id_index: { Name: entphysical_device_id_index, Columns: [device_id], Unique: false, Type: BTREE }
entPhysical_state:
Columns:
- { Field: id, Type: 'bigint unsigned', 'Null': false, Extra: auto_increment }
- { Field: device_id, Type: 'int 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:
PRIMARY: { Name: PRIMARY, Columns: [id], Unique: true, Type: BTREE }
device_id_index: { Name: device_id_index, Columns: [device_id, entPhysicalIndex], Unique: false, Type: BTREE }
eventlog:
Columns:
- { Field: event_id, Type: 'int unsigned', 'Null': false, Extra: auto_increment }
- { Field: device_id, Type: 'int 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, 'Null': false, Extra: '', Default: '2' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [event_id], Unique: true, Type: BTREE }
eventlog_datetime_index: { Name: eventlog_datetime_index, Columns: [datetime], Unique: false, Type: BTREE }
eventlog_device_id_index: { Name: eventlog_device_id_index, 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, 'Null': false, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [graph_type, graph_subtype, graph_section], Unique: true, Type: BTREE }
graph_types_graph_section_index: { Name: graph_types_graph_section_index, Columns: [graph_section], Unique: false, Type: BTREE }
graph_types_graph_subtype_index: { Name: graph_types_graph_subtype_index, Columns: [graph_subtype], Unique: false, Type: BTREE }
graph_types_graph_type_index: { Name: graph_types_graph_type_index, Columns: [graph_type], Unique: false, Type: BTREE }
hrDevice:
Columns:
- { Field: hrDevice_id, Type: 'int unsigned', 'Null': false, Extra: auto_increment }
- { Field: device_id, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: hrDeviceIndex, Type: int, 'Null': false, Extra: '' }
- { Field: hrDeviceDescr, Type: text, 'Null': false, Extra: '' }
- { Field: hrDeviceType, Type: text, 'Null': false, Extra: '' }
- { Field: hrDeviceErrors, Type: int, 'Null': false, Extra: '', Default: '0' }
- { Field: hrDeviceStatus, Type: text, 'Null': false, Extra: '' }
- { Field: hrProcessorLoad, Type: tinyint, 'Null': true, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [hrDevice_id], Unique: true, Type: BTREE }
hrdevice_device_id_index: { Name: hrdevice_device_id_index, Columns: [device_id], Unique: false, Type: BTREE }
hrSystem:
Columns:
- { Field: hrSystem_id, Type: 'int unsigned', 'Null': false, Extra: auto_increment }
- { Field: device_id, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: hrSystemNumUsers, Type: int, 'Null': true, Extra: '' }
- { Field: hrSystemProcesses, Type: int, 'Null': true, Extra: '' }
- { Field: hrSystemMaxProcesses, Type: int, 'Null': true, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [hrSystem_id], Unique: true, Type: BTREE }
hrsystem_device_id_index: { Name: hrsystem_device_id_index, Columns: [device_id], Unique: false, Type: BTREE }
ipsec_tunnels:
Columns:
- { Field: tunnel_id, Type: 'int unsigned', 'Null': false, Extra: auto_increment }
- { Field: device_id, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: peer_port, Type: 'int 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 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 }
ipsec_tunnels_device_id_peer_addr_unique: { Name: ipsec_tunnels_device_id_peer_addr_unique, Columns: [device_id, peer_addr], Unique: true, Type: BTREE }
ipv4_addresses:
Columns:
- { Field: ipv4_address_id, Type: 'int unsigned', 'Null': false, Extra: auto_increment }
- { Field: ipv4_address, Type: varchar(32), 'Null': false, Extra: '' }
- { Field: ipv4_prefixlen, Type: int, 'Null': false, Extra: '' }
- { Field: ipv4_network_id, Type: varchar(32), 'Null': false, Extra: '' }
- { Field: port_id, Type: 'int 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 }
ipv4_addresses_port_id_index: { Name: ipv4_addresses_port_id_index, Columns: [port_id], Unique: false, Type: BTREE }
ipv4_mac:
Columns:
- { Field: id, Type: 'bigint unsigned', 'Null': false, Extra: auto_increment }
- { Field: port_id, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: device_id, Type: 'int 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:
PRIMARY: { Name: PRIMARY, Columns: [id], Unique: true, Type: BTREE }
ipv4_mac_mac_address_index: { Name: ipv4_mac_mac_address_index, Columns: [mac_address], Unique: false, Type: BTREE }
ipv4_mac_port_id_index: { Name: ipv4_mac_port_id_index, Columns: [port_id], Unique: false, Type: BTREE }
ipv4_networks:
Columns:
- { Field: ipv4_network_id, Type: 'int 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 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, '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 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 }
ipv6_addresses_port_id_index: { Name: ipv6_addresses_port_id_index, Columns: [port_id], Unique: false, Type: BTREE }
ipv6_networks:
Columns:
- { Field: ipv6_network_id, Type: 'int 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 }
isis_adjacencies:
Columns:
- { Field: id, Type: 'int unsigned', 'Null': false, Extra: auto_increment }
- { Field: device_id, Type: int, 'Null': false, Extra: '' }
- { Field: index, Type: varchar(16), 'Null': true, Extra: '' }
- { Field: port_id, Type: int, 'Null': true, Extra: '' }
- { Field: ifIndex, Type: int, 'Null': false, Extra: '' }
- { Field: isisISAdjState, Type: varchar(13), 'Null': false, Extra: '' }
- { Field: isisISAdjNeighSysType, Type: varchar(128), 'Null': true, Extra: '' }
- { Field: isisISAdjNeighSysID, Type: varchar(128), 'Null': true, Extra: '' }
- { Field: isisISAdjNeighPriority, Type: varchar(128), 'Null': true, Extra: '' }
- { Field: isisISAdjLastUpTime, Type: 'bigint unsigned', 'Null': true, Extra: '' }
- { Field: isisISAdjAreaAddress, Type: varchar(128), 'Null': true, Extra: '' }
- { Field: isisISAdjIPAddrType, Type: varchar(128), 'Null': true, Extra: '' }
- { Field: isisISAdjIPAddrAddress, Type: varchar(128), 'Null': true, Extra: '' }
- { Field: isisCircAdminState, Type: varchar(16), 'Null': false, Extra: '', Default: 'off' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [id], Unique: true, Type: BTREE }
isis_adjacencies_device_id_index: { Name: isis_adjacencies_device_id_index, Columns: [device_id], Unique: false, Type: BTREE }
isis_adjacencies_ifindex_index: { Name: isis_adjacencies_ifindex_index, Columns: [ifIndex], Unique: false, Type: BTREE }
isis_adjacencies_port_id_index: { Name: isis_adjacencies_port_id_index, Columns: [port_id], Unique: false, Type: BTREE }
juniAtmVp:
Columns:
- { Field: id, Type: 'bigint unsigned', 'Null': false, Extra: auto_increment }
- { Field: juniAtmVp_id, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: port_id, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: vp_id, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: vp_descr, Type: varchar(32), 'Null': false, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [id], Unique: true, Type: BTREE }
juniatmvp_port_id_index: { Name: juniatmvp_port_id_index, Columns: [port_id], Unique: false, Type: BTREE }
links:
Columns:
- { Field: id, Type: 'int unsigned', 'Null': false, Extra: auto_increment }
- { Field: local_port_id, Type: 'int unsigned', 'Null': true, Extra: '' }
- { Field: local_device_id, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: remote_port_id, Type: 'int unsigned', 'Null': true, Extra: '' }
- { Field: active, Type: tinyint, '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 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 }
links_local_port_id_index: { Name: links_local_port_id_index, Columns: [local_port_id], Unique: false, Type: BTREE }
links_remote_port_id_index: { Name: links_remote_port_id_index, 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 }
loadbalancer_rservers:
Columns:
- { Field: rserver_id, Type: 'int unsigned', 'Null': false, Extra: auto_increment }
- { Field: farm_id, Type: varchar(128), 'Null': false, Extra: '' }
- { Field: device_id, Type: 'int 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: id, Type: 'bigint unsigned', 'Null': false, Extra: auto_increment }
- { Field: classmap_id, Type: 'int 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 unsigned', 'Null': false, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [id], Unique: true, Type: BTREE }
loadbalancer_vservers_device_id_index: { Name: loadbalancer_vservers_device_id_index, Columns: [device_id], Unique: false, Type: BTREE }
locations:
Columns:
- { Field: id, Type: 'int 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: '' }
- { Field: fixed_coordinates, Type: tinyint, 'Null': false, Extra: '', Default: '0' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [id], Unique: true, Type: BTREE }
locations_location_unique: { Name: locations_location_unique, Columns: [location], Unique: true, Type: BTREE }
mac_accounting:
Columns:
- { Field: ma_id, Type: 'int unsigned', 'Null': false, Extra: auto_increment }
- { Field: port_id, Type: 'int 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, 'Null': false, Extra: '' }
- { Field: bps_in, Type: int, 'Null': false, Extra: '' }
- { Field: cipMacHCSwitchedBytes_input, Type: bigint, 'Null': true, Extra: '' }
- { Field: cipMacHCSwitchedBytes_input_prev, Type: bigint, 'Null': true, Extra: '' }
- { Field: cipMacHCSwitchedBytes_input_delta, Type: bigint, 'Null': true, Extra: '' }
- { Field: cipMacHCSwitchedBytes_input_rate, Type: int, 'Null': true, Extra: '' }
- { Field: cipMacHCSwitchedBytes_output, Type: bigint, 'Null': true, Extra: '' }
- { Field: cipMacHCSwitchedBytes_output_prev, Type: bigint, 'Null': true, Extra: '' }
- { Field: cipMacHCSwitchedBytes_output_delta, Type: bigint, 'Null': true, Extra: '' }
- { Field: cipMacHCSwitchedBytes_output_rate, Type: int, 'Null': true, Extra: '' }
- { Field: cipMacHCSwitchedPkts_input, Type: bigint, 'Null': true, Extra: '' }
- { Field: cipMacHCSwitchedPkts_input_prev, Type: bigint, 'Null': true, Extra: '' }
- { Field: cipMacHCSwitchedPkts_input_delta, Type: bigint, 'Null': true, Extra: '' }
- { Field: cipMacHCSwitchedPkts_input_rate, Type: int, 'Null': true, Extra: '' }
- { Field: cipMacHCSwitchedPkts_output, Type: bigint, 'Null': true, Extra: '' }
- { Field: cipMacHCSwitchedPkts_output_prev, Type: bigint, 'Null': true, Extra: '' }
- { Field: cipMacHCSwitchedPkts_output_delta, Type: bigint, 'Null': true, Extra: '' }
- { Field: cipMacHCSwitchedPkts_output_rate, Type: int, 'Null': true, Extra: '' }
- { Field: poll_time, Type: 'int unsigned', 'Null': true, Extra: '' }
- { Field: poll_prev, Type: 'int unsigned', 'Null': true, Extra: '' }
- { Field: poll_period, Type: 'int unsigned', 'Null': true, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [ma_id], Unique: true, Type: BTREE }
mac_accounting_port_id_index: { Name: mac_accounting_port_id_index, Columns: [port_id], Unique: false, Type: BTREE }
mefinfo:
Columns:
- { Field: id, Type: 'int unsigned', 'Null': false, Extra: auto_increment }
- { Field: device_id, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: mefID, Type: int, 'Null': false, Extra: '' }
- { Field: mefType, Type: varchar(128), 'Null': false, Extra: '' }
- { Field: mefIdent, Type: varchar(128), 'Null': false, Extra: '' }
- { Field: mefMTU, Type: int, '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 }
mefinfo_device_id_index: { Name: mefinfo_device_id_index, Columns: [device_id], Unique: false, Type: BTREE }
mefinfo_mefid_index: { Name: mefinfo_mefid_index, Columns: [mefID], Unique: false, Type: BTREE }
mempools:
Columns:
- { Field: mempool_id, Type: 'int unsigned', 'Null': false, Extra: auto_increment }
- { Field: mempool_index, Type: varchar(16), 'Null': false, Extra: '' }
- { Field: entPhysicalIndex, Type: int, 'Null': true, Extra: '' }
- { Field: mempool_type, Type: varchar(32), 'Null': false, Extra: '' }
- { Field: mempool_class, Type: varchar(32), 'Null': false, Extra: '', Default: system }
- { Field: mempool_precision, Type: int, 'Null': false, Extra: '', Default: '1' }
- { Field: mempool_descr, Type: varchar(128), 'Null': false, Extra: '' }
- { Field: device_id, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: mempool_perc, Type: int, 'Null': false, Extra: '' }
- { Field: mempool_perc_oid, Type: varchar(255), 'Null': true, Extra: '' }
- { Field: mempool_used, Type: bigint, 'Null': false, Extra: '' }
- { Field: mempool_used_oid, Type: varchar(255), 'Null': true, Extra: '' }
- { Field: mempool_free, Type: bigint, 'Null': false, Extra: '' }
- { Field: mempool_free_oid, Type: varchar(255), 'Null': true, Extra: '' }
- { Field: mempool_total, Type: bigint, 'Null': false, Extra: '' }
- { Field: mempool_total_oid, Type: varchar(255), 'Null': true, Extra: '' }
- { Field: mempool_largestfree, Type: bigint, 'Null': true, Extra: '' }
- { Field: mempool_lowestfree, Type: bigint, 'Null': true, Extra: '' }
- { Field: mempool_deleted, Type: tinyint, 'Null': false, Extra: '', Default: '0' }
- { Field: mempool_perc_warn, Type: int, 'Null': true, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [mempool_id], Unique: true, Type: BTREE }
mempools_device_id_index: { Name: mempools_device_id_index, Columns: [device_id], Unique: false, Type: BTREE }
migrations:
Columns:
- { Field: id, Type: 'int unsigned', 'Null': false, Extra: auto_increment }
- { Field: migration, Type: varchar(255), 'Null': false, Extra: '' }
- { Field: batch, Type: int, 'Null': false, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [id], Unique: true, Type: BTREE }
mpls_lsps:
Columns:
- { Field: lsp_id, Type: 'int unsigned', 'Null': false, Extra: auto_increment }
- { Field: vrf_oid, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: lsp_oid, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: device_id, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: mplsLspRowStatus, Type: 'enum(''active'',''notInService'',''notReady'',''createAndGo'',''createAndWait'',''destroy'')', 'Null': false, Extra: '' }
- { Field: mplsLspLastChange, Type: bigint, '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, 'Null': true, Extra: '' }
- { Field: mplsLspTimeUp, Type: bigint, 'Null': true, Extra: '' }
- { Field: mplsLspTimeDown, Type: bigint, 'Null': true, Extra: '' }
- { Field: mplsLspPrimaryTimeUp, Type: bigint, 'Null': true, Extra: '' }
- { Field: mplsLspTransitions, Type: 'int unsigned', 'Null': true, Extra: '' }
- { Field: mplsLspLastTransition, Type: bigint, 'Null': true, Extra: '' }
- { Field: mplsLspConfiguredPaths, Type: 'int unsigned', 'Null': true, Extra: '' }
- { Field: mplsLspStandbyPaths, Type: 'int unsigned', 'Null': true, Extra: '' }
- { Field: mplsLspOperationalPaths, Type: 'int unsigned', 'Null': true, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [lsp_id], Unique: true, Type: BTREE }
mpls_lsps_device_id_index: { Name: mpls_lsps_device_id_index, Columns: [device_id], Unique: false, Type: BTREE }
mpls_lsp_paths:
Columns:
- { Field: lsp_path_id, Type: 'int unsigned', 'Null': false, Extra: auto_increment }
- { Field: lsp_id, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: path_oid, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: device_id, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: mplsLspPathRowStatus, Type: 'enum(''active'',''notInService'',''notReady'',''createAndGo'',''createAndWait'',''destroy'')', 'Null': false, Extra: '' }
- { Field: mplsLspPathLastChange, Type: bigint, 'Null': false, Extra: '' }
- { Field: mplsLspPathType, Type: 'enum(''other'',''primary'',''standby'',''secondary'')', 'Null': false, Extra: '' }
- { Field: mplsLspPathBandwidth, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: mplsLspPathOperBandwidth, Type: 'int 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 unsigned', 'Null': false, Extra: '' }
- { Field: mplsLspPathOperMetric, Type: 'int unsigned', 'Null': true, Extra: '' }
- { Field: mplsLspPathTimeUp, Type: bigint, 'Null': true, Extra: '' }
- { Field: mplsLspPathTimeDown, Type: bigint, 'Null': true, Extra: '' }
- { Field: mplsLspPathTransitionCount, Type: 'int unsigned', 'Null': true, Extra: '' }
- { Field: mplsLspPathTunnelARHopListIndex, Type: 'int unsigned', 'Null': true, Extra: '' }
- { Field: mplsLspPathTunnelCHopListIndex, Type: 'int unsigned', 'Null': true, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [lsp_path_id], Unique: true, Type: BTREE }
mpls_lsp_paths_device_id_index: { Name: mpls_lsp_paths_device_id_index, Columns: [device_id], Unique: false, Type: BTREE }
mpls_saps:
Columns:
- { Field: sap_id, Type: 'int unsigned', 'Null': false, Extra: auto_increment }
- { Field: svc_id, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: svc_oid, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: sapPortId, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: ifName, Type: varchar(255), 'Null': true, Extra: '' }
- { Field: device_id, Type: 'int 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, 'Null': true, Extra: '' }
- { Field: sapLastStatusChange, Type: bigint, 'Null': true, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [sap_id], Unique: true, Type: BTREE }
mpls_saps_device_id_index: { Name: mpls_saps_device_id_index, Columns: [device_id], Unique: false, Type: BTREE }
mpls_sdps:
Columns:
- { Field: sdp_id, Type: 'int unsigned', 'Null': false, Extra: auto_increment }
- { Field: sdp_oid, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: device_id, Type: 'int 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, 'Null': true, Extra: '' }
- { Field: sdpOperPathMtu, Type: int, 'Null': true, Extra: '' }
- { Field: sdpLastMgmtChange, Type: bigint, 'Null': true, Extra: '' }
- { Field: sdpLastStatusChange, Type: bigint, '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 }
mpls_sdps_device_id_index: { Name: mpls_sdps_device_id_index, Columns: [device_id], Unique: false, Type: BTREE }
mpls_sdp_binds:
Columns:
- { Field: bind_id, Type: 'int unsigned', 'Null': false, Extra: auto_increment }
- { Field: sdp_id, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: svc_id, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: sdp_oid, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: svc_oid, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: device_id, Type: 'int 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, 'Null': true, Extra: '' }
- { Field: sdpBindLastStatusChange, Type: bigint, '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, 'Null': true, Extra: '' }
- { Field: sdpBindBaseStatsIngFwdOctets, Type: bigint, 'Null': true, Extra: '' }
- { Field: sdpBindBaseStatsEgrFwdPackets, Type: bigint, 'Null': true, Extra: '' }
- { Field: sdpBindBaseStatsEgrFwdOctets, Type: bigint, 'Null': true, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [bind_id], Unique: true, Type: BTREE }
mpls_sdp_binds_device_id_index: { Name: mpls_sdp_binds_device_id_index, Columns: [device_id], Unique: false, Type: BTREE }
mpls_services:
Columns:
- { Field: svc_id, Type: 'int unsigned', 'Null': false, Extra: auto_increment }
- { Field: svc_oid, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: device_id, Type: 'int 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 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, 'Null': true, Extra: '' }
- { Field: svcNumSaps, Type: int, 'Null': true, Extra: '' }
- { Field: svcNumSdps, Type: int, 'Null': true, Extra: '' }
- { Field: svcLastMgmtChange, Type: bigint, 'Null': true, Extra: '' }
- { Field: svcLastStatusChange, Type: bigint, 'Null': true, Extra: '' }
- { Field: svcVRouterId, Type: int, '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, 'Null': true, Extra: '' }
- { Field: svcTlsFdbNumEntries, Type: int, 'Null': true, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [svc_id], Unique: true, Type: BTREE }
mpls_services_device_id_index: { Name: mpls_services_device_id_index, Columns: [device_id], Unique: false, Type: BTREE }
mpls_tunnel_ar_hops:
Columns:
- { Field: ar_hop_id, Type: 'int unsigned', 'Null': false, Extra: auto_increment }
- { Field: mplsTunnelARHopListIndex, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: mplsTunnelARHopIndex, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: device_id, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: lsp_path_id, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: mplsTunnelARHopAddrType, Type: 'enum(''unknown'',''ipV4'',''ipV6'',''asNumber'',''lspid'',''unnum'')', 'Null': true, Extra: '' }
- { Field: mplsTunnelARHopIpv4Addr, Type: varchar(15), 'Null': true, Extra: '' }
- { Field: mplsTunnelARHopIpv6Addr, Type: varchar(45), 'Null': true, Extra: '' }
- { Field: mplsTunnelARHopAsNumber, Type: 'int unsigned', 'Null': true, Extra: '' }
- { Field: mplsTunnelARHopStrictOrLoose, Type: 'enum(''strict'',''loose'')', 'Null': true, Extra: '' }
- { Field: mplsTunnelARHopRouterId, Type: varchar(15), 'Null': true, Extra: '' }
- { Field: localProtected, Type: 'enum(''false'',''true'')', 'Null': false, Extra: '', Default: 'false' }
- { Field: linkProtectionInUse, Type: 'enum(''false'',''true'')', 'Null': false, Extra: '', Default: 'false' }
- { Field: bandwidthProtected, Type: 'enum(''false'',''true'')', 'Null': false, Extra: '', Default: 'false' }
- { Field: nextNodeProtected, Type: 'enum(''false'',''true'')', 'Null': false, Extra: '', Default: 'false' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [ar_hop_id], Unique: true, Type: BTREE }
mpls_tunnel_ar_hops_device_id_index: { Name: mpls_tunnel_ar_hops_device_id_index, Columns: [device_id], Unique: false, Type: BTREE }
mpls_tunnel_c_hops:
Columns:
- { Field: c_hop_id, Type: 'int unsigned', 'Null': false, Extra: auto_increment }
- { Field: mplsTunnelCHopListIndex, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: mplsTunnelCHopIndex, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: device_id, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: lsp_path_id, Type: 'int unsigned', 'Null': true, Extra: '' }
- { Field: mplsTunnelCHopAddrType, Type: 'enum(''unknown'',''ipV4'',''ipV6'',''asNumber'',''lspid'',''unnum'')', 'Null': true, Extra: '' }
- { Field: mplsTunnelCHopIpv4Addr, Type: varchar(15), 'Null': true, Extra: '' }
- { Field: mplsTunnelCHopIpv6Addr, Type: varchar(45), 'Null': true, Extra: '' }
- { Field: mplsTunnelCHopAsNumber, Type: 'int unsigned', 'Null': true, Extra: '' }
- { Field: mplsTunnelCHopStrictOrLoose, Type: 'enum(''strict'',''loose'')', 'Null': true, Extra: '' }
- { Field: mplsTunnelCHopRouterId, Type: varchar(15), 'Null': true, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [c_hop_id], Unique: true, Type: BTREE }
mpls_tunnel_c_hops_device_id_index: { Name: mpls_tunnel_c_hops_device_id_index, Columns: [device_id], Unique: false, Type: BTREE }
munin_plugins:
Columns:
- { Field: mplug_id, Type: 'int unsigned', 'Null': false, Extra: auto_increment }
- { Field: device_id, Type: 'int 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, 'Null': false, Extra: '', Default: '0' }
- { Field: mplug_graph, Type: tinyint, 'Null': false, Extra: '', Default: '1' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [mplug_id], Unique: true, Type: BTREE }
munin_plugins_device_id_index: { Name: munin_plugins_device_id_index, Columns: [device_id], Unique: false, Type: BTREE }
munin_plugins_device_id_mplug_type_unique: { Name: munin_plugins_device_id_mplug_type_unique, Columns: [device_id, mplug_type], Unique: true, Type: BTREE }
munin_plugins_ds:
Columns:
- { Field: mplug_id, Type: 'int 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:
munin_plugins_ds_mplug_id_ds_name_unique: { Name: munin_plugins_ds_mplug_id_ds_name_unique, Columns: [mplug_id, ds_name], Unique: true, Type: BTREE }
netscaler_vservers:
Columns:
- { Field: vsvr_id, Type: 'int unsigned', 'Null': false, Extra: auto_increment }
- { Field: device_id, Type: 'int 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, '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, 'Null': false, Extra: '' }
- { Field: vsvr_server, Type: int, 'Null': false, Extra: '' }
- { Field: vsvr_req_rate, Type: int, 'Null': false, Extra: '' }
- { Field: vsvr_bps_in, Type: int, 'Null': false, Extra: '' }
- { Field: vsvr_bps_out, Type: int, 'Null': false, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [vsvr_id], Unique: true, Type: BTREE }
notifications:
Columns:
- { Field: notifications_id, Type: 'int 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, '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 }
notifications_checksum_unique: { Name: notifications_checksum_unique, 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 unsigned', 'Null': false, Extra: auto_increment }
- { Field: notifications_id, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: user_id, Type: 'int 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 unsigned', 'Null': false, Extra: auto_increment }
- { Field: device_id, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: ospfAreaId, Type: varchar(32), 'Null': false, Extra: '' }
- { Field: ospfAuthType, Type: varchar(64), 'Null': true, Extra: '' }
- { Field: ospfImportAsExtern, Type: varchar(128), 'Null': false, Extra: '' }
- { Field: ospfSpfRuns, Type: int, 'Null': false, Extra: '' }
- { Field: ospfAreaBdrRtrCount, Type: int, 'Null': false, Extra: '' }
- { Field: ospfAsBdrRtrCount, Type: int, 'Null': false, Extra: '' }
- { Field: ospfAreaLsaCount, Type: int, 'Null': false, Extra: '' }
- { Field: ospfAreaLsaCksumSum, Type: int, '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 }
ospf_areas_device_id_ospfareaid_context_name_unique: { Name: ospf_areas_device_id_ospfareaid_context_name_unique, Columns: [device_id, ospfAreaId, context_name], Unique: true, Type: BTREE }
ospf_instances:
Columns:
- { Field: id, Type: 'int unsigned', 'Null': false, Extra: auto_increment }
- { Field: device_id, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: ospf_instance_id, Type: 'int 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, 'Null': false, Extra: '' }
- { Field: ospfExternLsaCksumSum, Type: int, 'Null': false, Extra: '' }
- { Field: ospfTOSSupport, Type: varchar(32), 'Null': false, Extra: '' }
- { Field: ospfOriginateNewLsas, Type: int, 'Null': false, Extra: '' }
- { Field: ospfRxNewLsas, Type: int, 'Null': false, Extra: '' }
- { Field: ospfExtLsdbLimit, Type: int, 'Null': true, Extra: '' }
- { Field: ospfMulticastExtensions, Type: int, 'Null': true, Extra: '' }
- { Field: ospfExitOverflowInterval, Type: int, '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 }
ospf_instances_device_id_ospf_instance_id_context_name_unique: { Name: ospf_instances_device_id_ospf_instance_id_context_name_unique, Columns: [device_id, ospf_instance_id, context_name], Unique: true, Type: BTREE }
ospf_nbrs:
Columns:
- { Field: id, Type: 'int unsigned', 'Null': false, Extra: auto_increment }
- { Field: device_id, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: port_id, Type: 'int 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, 'Null': false, Extra: '' }
- { Field: ospfNbrRtrId, Type: varchar(32), 'Null': false, Extra: '' }
- { Field: ospfNbrOptions, Type: int, 'Null': false, Extra: '' }
- { Field: ospfNbrPriority, Type: int, 'Null': false, Extra: '' }
- { Field: ospfNbrState, Type: varchar(32), 'Null': false, Extra: '' }
- { Field: ospfNbrEvents, Type: int, 'Null': false, Extra: '' }
- { Field: ospfNbrLsRetransQLen, Type: int, '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 }
ospf_nbrs_device_id_ospf_nbr_id_context_name_unique: { Name: ospf_nbrs_device_id_ospf_nbr_id_context_name_unique, Columns: [device_id, ospf_nbr_id, context_name], Unique: true, Type: BTREE }
ospf_ports:
Columns:
- { Field: id, Type: 'int unsigned', 'Null': false, Extra: auto_increment }
- { Field: device_id, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: port_id, Type: 'int 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, '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, 'Null': true, Extra: '' }
- { Field: ospfIfTransitDelay, Type: int, 'Null': true, Extra: '' }
- { Field: ospfIfRetransInterval, Type: int, 'Null': true, Extra: '' }
- { Field: ospfIfHelloInterval, Type: int, 'Null': true, Extra: '' }
- { Field: ospfIfRtrDeadInterval, Type: int, 'Null': true, Extra: '' }
- { Field: ospfIfPollInterval, Type: int, '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, '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: ospfIfMetricIpAddress, Type: varchar(32), 'Null': true, Extra: '' }
- { Field: ospfIfMetricAddressLessIf, Type: int, 'Null': true, Extra: '' }
- { Field: ospfIfMetricTOS, Type: int, 'Null': true, Extra: '' }
- { Field: ospfIfMetricValue, Type: int, 'Null': true, Extra: '' }
- { Field: ospfIfMetricStatus, 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 }
ospf_ports_device_id_ospf_port_id_context_name_unique: { Name: ospf_ports_device_id_ospf_port_id_context_name_unique, Columns: [device_id, ospf_port_id, context_name], Unique: true, Type: BTREE }
packages:
Columns:
- { Field: pkg_id, Type: 'int unsigned', 'Null': false, Extra: auto_increment }
- { Field: device_id, Type: 'int 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, '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, 'Null': true, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [pkg_id], Unique: true, Type: BTREE }
packages_device_id_index: { Name: packages_device_id_index, Columns: [device_id], Unique: false, Type: BTREE }
packages_device_id_name_manager_arch_version_build_unique: { Name: packages_device_id_name_manager_arch_version_build_unique, Columns: [device_id, name, manager, arch, version, build], Unique: true, Type: BTREE }
pdb_ix:
Columns:
- { Field: pdb_ix_id, Type: 'int unsigned', 'Null': false, Extra: auto_increment }
- { Field: ix_id, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: name, Type: varchar(255), 'Null': false, Extra: '' }
- { Field: asn, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: timestamp, Type: 'int 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 unsigned', 'Null': false, Extra: auto_increment }
- { Field: ix_id, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: peer_id, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: remote_asn, Type: 'int 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 unsigned', 'Null': true, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [pdb_ix_peers_id], Unique: true, Type: BTREE }
plugins:
Columns:
- { Field: plugin_id, Type: 'int unsigned', 'Null': false, Extra: auto_increment }
- { Field: plugin_name, Type: varchar(60), 'Null': false, Extra: '' }
- { Field: plugin_active, Type: int, 'Null': false, Extra: '' }
- { Field: version, Type: int, 'Null': false, Extra: '', Default: '1' }
- { Field: settings, Type: longtext, 'Null': true, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [plugin_id], Unique: true, Type: BTREE }
pollers:
Columns:
- { Field: id, Type: 'int 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 unsigned', 'Null': false, Extra: '' }
- { Field: time_taken, Type: double, 'Null': false, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [id], Unique: true, Type: BTREE }
pollers_poller_name_unique: { Name: pollers_poller_name_unique, Columns: [poller_name], Unique: true, Type: BTREE }
poller_cluster:
Columns:
- { Field: id, Type: 'int 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, 'Null': false, Extra: '' }
- { Field: poller_enabled, Type: tinyint, 'Null': true, Extra: '' }
- { Field: poller_frequency, Type: int, 'Null': true, Extra: '' }
- { Field: poller_workers, Type: int, 'Null': true, Extra: '' }
- { Field: poller_down_retry, Type: int, 'Null': true, Extra: '' }
- { Field: discovery_enabled, Type: tinyint, 'Null': true, Extra: '' }
- { Field: discovery_frequency, Type: int, 'Null': true, Extra: '' }
- { Field: discovery_workers, Type: int, 'Null': true, Extra: '' }
- { Field: services_enabled, Type: tinyint, 'Null': true, Extra: '' }
- { Field: services_frequency, Type: int, 'Null': true, Extra: '' }
- { Field: services_workers, Type: int, 'Null': true, Extra: '' }
- { Field: billing_enabled, Type: tinyint, 'Null': true, Extra: '' }
- { Field: billing_frequency, Type: int, 'Null': true, Extra: '' }
- { Field: billing_calculate_frequency, Type: int, 'Null': true, Extra: '' }
- { Field: alerting_enabled, Type: tinyint, 'Null': true, Extra: '' }
- { Field: alerting_frequency, Type: int, 'Null': true, Extra: '' }
- { Field: ping_enabled, Type: tinyint, 'Null': true, Extra: '' }
- { Field: ping_frequency, Type: int, 'Null': true, Extra: '' }
- { Field: update_enabled, Type: tinyint, 'Null': true, Extra: '' }
- { Field: update_frequency, Type: int, 'Null': true, Extra: '' }
- { Field: loglevel, Type: varchar(8), 'Null': true, Extra: '' }
- { Field: watchdog_enabled, Type: tinyint, 'Null': true, Extra: '' }
- { Field: watchdog_log, Type: varchar(255), 'Null': true, 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 unsigned', 'Null': false, Extra: auto_increment }
- { Field: parent_poller, Type: 'int unsigned', 'Null': false, Extra: '', Default: '0' }
- { Field: poller_type, Type: varchar(64), 'Null': false, Extra: '', Default: '' }
- { Field: depth, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: devices, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: worker_seconds, Type: 'double unsigned', 'Null': false, Extra: '' }
- { Field: workers, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: frequency, Type: 'int unsigned', 'Null': false, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [id], Unique: true, Type: BTREE }
poller_cluster_stats_parent_poller_poller_type_unique: { Name: poller_cluster_stats_parent_poller_poller_type_unique, Columns: [parent_poller, poller_type], Unique: true, Type: BTREE }
poller_groups:
Columns:
- { Field: id, Type: 'int 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 unsigned', 'Null': false, Extra: auto_increment }
- { Field: device_id, Type: 'int 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, 'Null': true, Extra: '', Default: '0' }
- { Field: ifSpeed, Type: bigint, 'Null': true, Extra: '' }
- { Field: ifSpeed_prev, Type: bigint, 'Null': true, Extra: '' }
- { Field: ifConnectorPresent, Type: varchar(12), 'Null': true, Extra: '' }
- { Field: ifPromiscuousMode, Type: varchar(12), '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, 'Null': true, Extra: '' }
- { Field: ifType, Type: varchar(64), 'Null': true, Extra: '' }
- { Field: ifAlias, Type: varchar(255), 'Null': true, Extra: '' }
- { Field: ifPhysAddress, Type: varchar(64), 'Null': true, Extra: '' }
- { Field: ifHardType, Type: varchar(64), 'Null': true, Extra: '' }
- { Field: ifLastChange, Type: 'bigint 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, 'Null': false, Extra: '', Default: '0' }
- { Field: counter_in, Type: int, 'Null': true, Extra: '' }
- { Field: counter_out, Type: int, 'Null': true, Extra: '' }
- { Field: ignore, Type: tinyint, 'Null': false, Extra: '', Default: '0' }
- { Field: disabled, Type: tinyint, 'Null': false, Extra: '', Default: '0' }
- { Field: detailed, Type: tinyint, 'Null': false, Extra: '', Default: '0' }
- { Field: deleted, Type: tinyint, '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, 'Null': true, Extra: '' }
- { Field: pagpPartnerGroupIfIndex, Type: int, '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, 'Null': true, Extra: '' }
- { Field: ifInUcastPkts, Type: 'bigint unsigned', 'Null': true, Extra: '' }
- { Field: ifInUcastPkts_prev, Type: 'bigint unsigned', 'Null': true, Extra: '' }
- { Field: ifInUcastPkts_delta, Type: 'bigint unsigned', 'Null': true, Extra: '' }
- { Field: ifInUcastPkts_rate, Type: 'bigint unsigned', 'Null': true, Extra: '' }
- { Field: ifOutUcastPkts, Type: 'bigint unsigned', 'Null': true, Extra: '' }
- { Field: ifOutUcastPkts_prev, Type: 'bigint unsigned', 'Null': true, Extra: '' }
- { Field: ifOutUcastPkts_delta, Type: 'bigint unsigned', 'Null': true, Extra: '' }
- { Field: ifOutUcastPkts_rate, Type: 'bigint unsigned', 'Null': true, Extra: '' }
- { Field: ifInErrors, Type: 'bigint unsigned', 'Null': true, Extra: '' }
- { Field: ifInErrors_prev, Type: 'bigint unsigned', 'Null': true, Extra: '' }
- { Field: ifInErrors_delta, Type: 'bigint unsigned', 'Null': true, Extra: '' }
- { Field: ifInErrors_rate, Type: 'bigint unsigned', 'Null': true, Extra: '' }
- { Field: ifOutErrors, Type: 'bigint unsigned', 'Null': true, Extra: '' }
- { Field: ifOutErrors_prev, Type: 'bigint unsigned', 'Null': true, Extra: '' }
- { Field: ifOutErrors_delta, Type: 'bigint unsigned', 'Null': true, Extra: '' }
- { Field: ifOutErrors_rate, Type: 'bigint unsigned', 'Null': true, Extra: '' }
- { Field: ifInOctets, Type: 'bigint unsigned', 'Null': true, Extra: '' }
- { Field: ifInOctets_prev, Type: 'bigint unsigned', 'Null': true, Extra: '' }
- { Field: ifInOctets_delta, Type: 'bigint unsigned', 'Null': true, Extra: '' }
- { Field: ifInOctets_rate, Type: 'bigint unsigned', 'Null': true, Extra: '' }
- { Field: ifOutOctets, Type: 'bigint unsigned', 'Null': true, Extra: '' }
- { Field: ifOutOctets_prev, Type: 'bigint unsigned', 'Null': true, Extra: '' }
- { Field: ifOutOctets_delta, Type: 'bigint unsigned', 'Null': true, Extra: '' }
- { Field: ifOutOctets_rate, Type: 'bigint unsigned', 'Null': true, Extra: '' }
- { Field: poll_time, Type: 'int unsigned', 'Null': true, Extra: '' }
- { Field: poll_prev, Type: 'int unsigned', 'Null': true, Extra: '' }
- { Field: poll_period, Type: 'int unsigned', 'Null': true, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [port_id], Unique: true, Type: BTREE }
ports_device_id_ifindex_unique: { Name: ports_device_id_ifindex_unique, Columns: [device_id, ifIndex], Unique: true, Type: BTREE }
ports_ifalias_port_descr_descr_portname_index: { Name: ports_ifalias_port_descr_descr_portname_index, Columns: [ifAlias, port_descr_descr, portName], Unique: false, Type: BTREE }
ports_ifdescr_ifname_index: { Name: ports_ifdescr_ifname_index, Columns: [ifDescr, ifName], Unique: false, Type: BTREE }
ports_adsl:
Columns:
- { Field: port_id, Type: 'int 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, 'Null': false, Extra: '' }
- { Field: adslAtucChanCurrTxRate, Type: int, '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, '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, 'Null': false, Extra: '' }
Indexes:
ports_adsl_port_id_unique: { Name: ports_adsl_port_id_unique, Columns: [port_id], Unique: true, Type: BTREE }
ports_fdb:
Columns:
- { Field: ports_fdb_id, Type: 'bigint unsigned', 'Null': false, Extra: auto_increment }
- { Field: port_id, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: mac_address, Type: varchar(32), 'Null': false, Extra: '' }
- { Field: vlan_id, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: device_id, Type: 'int 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 }
ports_fdb_device_id_index: { Name: ports_fdb_device_id_index, Columns: [device_id], Unique: false, Type: BTREE }
ports_fdb_mac_address_index: { Name: ports_fdb_mac_address_index, Columns: [mac_address], 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 unsigned', 'Null': false, Extra: auto_increment }
- { Field: auth_id, Type: varchar(50), 'Null': false, Extra: '' }
- { Field: device_id, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: port_id, Type: 'int 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 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: id, Type: 'bigint unsigned', 'Null': false, Extra: auto_increment }
- { Field: user_id, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: port_id, Type: 'int unsigned', 'Null': false, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [id], Unique: true, Type: BTREE }
ports_stack:
Columns:
- { Field: device_id, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: port_id_high, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: port_id_low, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: ifStackStatus, Type: varchar(32), 'Null': false, Extra: '' }
Indexes:
ports_stack_device_id_port_id_high_port_id_low_unique: { Name: ports_stack_device_id_port_id_high_port_id_low_unique, Columns: [device_id, port_id_high, port_id_low], Unique: true, Type: BTREE }
ports_statistics:
Columns:
- { Field: port_id, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: ifInNUcastPkts, Type: bigint, 'Null': true, Extra: '' }
- { Field: ifInNUcastPkts_prev, Type: bigint, 'Null': true, Extra: '' }
- { Field: ifInNUcastPkts_delta, Type: bigint, 'Null': true, Extra: '' }
- { Field: ifInNUcastPkts_rate, Type: int, 'Null': true, Extra: '' }
- { Field: ifOutNUcastPkts, Type: bigint, 'Null': true, Extra: '' }
- { Field: ifOutNUcastPkts_prev, Type: bigint, 'Null': true, Extra: '' }
- { Field: ifOutNUcastPkts_delta, Type: bigint, 'Null': true, Extra: '' }
- { Field: ifOutNUcastPkts_rate, Type: int, 'Null': true, Extra: '' }
- { Field: ifInDiscards, Type: bigint, 'Null': true, Extra: '' }
- { Field: ifInDiscards_prev, Type: bigint, 'Null': true, Extra: '' }
- { Field: ifInDiscards_delta, Type: bigint, 'Null': true, Extra: '' }
- { Field: ifInDiscards_rate, Type: int, 'Null': true, Extra: '' }
- { Field: ifOutDiscards, Type: bigint, 'Null': true, Extra: '' }
- { Field: ifOutDiscards_prev, Type: bigint, 'Null': true, Extra: '' }
- { Field: ifOutDiscards_delta, Type: bigint, 'Null': true, Extra: '' }
- { Field: ifOutDiscards_rate, Type: int, 'Null': true, Extra: '' }
- { Field: ifInUnknownProtos, Type: bigint, 'Null': true, Extra: '' }
- { Field: ifInUnknownProtos_prev, Type: bigint, 'Null': true, Extra: '' }
- { Field: ifInUnknownProtos_delta, Type: bigint, 'Null': true, Extra: '' }
- { Field: ifInUnknownProtos_rate, Type: int, 'Null': true, Extra: '' }
- { Field: ifInBroadcastPkts, Type: bigint, 'Null': true, Extra: '' }
- { Field: ifInBroadcastPkts_prev, Type: bigint, 'Null': true, Extra: '' }
- { Field: ifInBroadcastPkts_delta, Type: bigint, 'Null': true, Extra: '' }
- { Field: ifInBroadcastPkts_rate, Type: int, 'Null': true, Extra: '' }
- { Field: ifOutBroadcastPkts, Type: bigint, 'Null': true, Extra: '' }
- { Field: ifOutBroadcastPkts_prev, Type: bigint, 'Null': true, Extra: '' }
- { Field: ifOutBroadcastPkts_delta, Type: bigint, 'Null': true, Extra: '' }
- { Field: ifOutBroadcastPkts_rate, Type: int, 'Null': true, Extra: '' }
- { Field: ifInMulticastPkts, Type: bigint, 'Null': true, Extra: '' }
- { Field: ifInMulticastPkts_prev, Type: bigint, 'Null': true, Extra: '' }
- { Field: ifInMulticastPkts_delta, Type: bigint, 'Null': true, Extra: '' }
- { Field: ifInMulticastPkts_rate, Type: int, 'Null': true, Extra: '' }
- { Field: ifOutMulticastPkts, Type: bigint, 'Null': true, Extra: '' }
- { Field: ifOutMulticastPkts_prev, Type: bigint, 'Null': true, Extra: '' }
- { Field: ifOutMulticastPkts_delta, Type: bigint, 'Null': true, Extra: '' }
- { Field: ifOutMulticastPkts_rate, Type: int, 'Null': true, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [port_id], Unique: true, Type: BTREE }
ports_stp:
Columns:
- { Field: port_stp_id, Type: 'int unsigned', 'Null': false, Extra: auto_increment }
- { Field: device_id, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: vlan, Type: 'int unsigned', 'Null': true, Extra: '' }
- { Field: port_id, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: port_index, Type: 'int unsigned', 'Null': false, Extra: '', Default: '0' }
- { Field: priority, Type: 'tinyint unsigned', 'Null': false, Extra: '' }
- { Field: state, Type: varchar(11), 'Null': false, Extra: '' }
- { Field: enable, Type: varchar(8), 'Null': false, Extra: '' }
- { Field: pathCost, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: designatedRoot, Type: varchar(32), 'Null': false, Extra: '' }
- { Field: designatedCost, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: designatedBridge, Type: varchar(32), 'Null': false, Extra: '' }
- { Field: designatedPort, Type: mediumint, 'Null': false, Extra: '' }
- { Field: forwardTransitions, Type: 'int unsigned', 'Null': false, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [port_stp_id], Unique: true, Type: BTREE }
ports_stp_device_id_vlan_port_index_unique: { Name: ports_stp_device_id_vlan_port_index_unique, Columns: [device_id, vlan, port_index], Unique: true, Type: BTREE }
ports_vlans:
Columns:
- { Field: port_vlan_id, Type: 'int unsigned', 'Null': false, Extra: auto_increment }
- { Field: device_id, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: port_id, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: vlan, Type: int, 'Null': false, Extra: '' }
- { Field: baseport, Type: int, 'Null': false, Extra: '' }
- { Field: priority, Type: bigint, 'Null': false, Extra: '' }
- { Field: state, Type: varchar(16), 'Null': false, Extra: '' }
- { Field: cost, Type: int, 'Null': false, Extra: '' }
- { Field: untagged, Type: tinyint, 'Null': false, Extra: '', Default: '0' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [port_vlan_id], Unique: true, Type: BTREE }
ports_vlans_device_id_port_id_vlan_unique: { Name: ports_vlans_device_id_port_id_vlan_unique, Columns: [device_id, port_id, vlan], Unique: true, Type: BTREE }
port_groups:
Columns:
- { Field: id, Type: 'int unsigned', 'Null': false, Extra: auto_increment }
- { Field: name, Type: varchar(255), 'Null': false, Extra: '' }
- { Field: desc, Type: varchar(255), 'Null': true, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [id], Unique: true, Type: BTREE }
port_groups_name_unique: { Name: port_groups_name_unique, Columns: [name], Unique: true, Type: BTREE }
port_group_port:
Columns:
- { Field: port_group_id, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: port_id, Type: 'int unsigned', 'Null': false, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [port_group_id, port_id], Unique: true, Type: BTREE }
port_group_port_port_group_id_index: { Name: port_group_port_port_group_id_index, Columns: [port_group_id], Unique: false, Type: BTREE }
port_group_port_port_id_index: { Name: port_group_port_port_id_index, Columns: [port_id], Unique: false, Type: BTREE }
Constraints:
port_group_port_port_group_id_foreign: { name: port_group_port_port_group_id_foreign, foreign_key: port_group_id, table: port_groups, key: id, extra: 'ON DELETE CASCADE' }
port_group_port_port_id_foreign: { name: port_group_port_port_id_foreign, foreign_key: port_id, table: ports, key: port_id, extra: 'ON DELETE CASCADE' }
printer_supplies:
Columns:
- { Field: supply_id, Type: 'int unsigned', 'Null': false, Extra: auto_increment }
- { Field: device_id, Type: 'int unsigned', 'Null': false, Extra: '', Default: '0' }
- { Field: supply_index, Type: int, 'Null': false, Extra: '' }
- { Field: supply_type, Type: varchar(64), 'Null': false, Extra: '' }
- { Field: supply_oid, Type: varchar(64), 'Null': false, Extra: '' }
- { Field: supply_descr, Type: varchar(255), 'Null': false, Extra: '', Default: '' }
- { Field: supply_capacity, Type: int, 'Null': false, Extra: '', Default: '0' }
- { Field: supply_current, Type: int, 'Null': false, Extra: '', Default: '0' }
- { Field: supply_capacity_oid, Type: varchar(64), 'Null': true, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [supply_id], Unique: true, Type: BTREE }
toner_device_id_index: { Name: toner_device_id_index, Columns: [device_id], Unique: false, Type: BTREE }
processes:
Columns:
- { Field: id, Type: 'bigint unsigned', 'Null': false, Extra: auto_increment }
- { Field: device_id, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: pid, Type: int, 'Null': false, Extra: '' }
- { Field: vsz, Type: int, 'Null': false, Extra: '' }
- { Field: rss, Type: int, '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:
PRIMARY: { Name: PRIMARY, Columns: [id], Unique: true, Type: BTREE }
processes_device_id_index: { Name: processes_device_id_index, Columns: [device_id], Unique: false, Type: BTREE }
processors:
Columns:
- { Field: processor_id, Type: 'int unsigned', 'Null': false, Extra: auto_increment }
- { Field: entPhysicalIndex, Type: int, 'Null': false, Extra: '', Default: '0' }
- { Field: hrDeviceIndex, Type: int, 'Null': true, Extra: '' }
- { Field: device_id, Type: 'int 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, 'Null': false, Extra: '' }
- { Field: processor_descr, Type: varchar(64), 'Null': false, Extra: '' }
- { Field: processor_precision, Type: int, 'Null': false, Extra: '', Default: '1' }
- { Field: processor_perc_warn, Type: int, 'Null': true, Extra: '', Default: '75' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [processor_id], Unique: true, Type: BTREE }
processors_device_id_index: { Name: processors_device_id_index, Columns: [device_id], Unique: false, Type: BTREE }
proxmox:
Columns:
- { Field: id, Type: 'int unsigned', 'Null': false, Extra: auto_increment }
- { Field: device_id, Type: 'int unsigned', 'Null': false, Extra: '', Default: '0' }
- { Field: vmid, Type: int, '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 }
proxmox_cluster_vmid_unique: { Name: proxmox_cluster_vmid_unique, Columns: [cluster, vmid], Unique: true, Type: BTREE }
proxmox_ports:
Columns:
- { Field: id, Type: 'int unsigned', 'Null': false, Extra: auto_increment }
- { Field: vm_id, Type: int, '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 }
proxmox_ports_vm_id_port_unique: { Name: proxmox_ports_vm_id_port_unique, Columns: [vm_id, port], Unique: true, Type: BTREE }
pseudowires:
Columns:
- { Field: pseudowire_id, Type: 'int unsigned', 'Null': false, Extra: auto_increment }
- { Field: device_id, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: port_id, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: peer_device_id, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: peer_ldp_id, Type: int, 'Null': false, Extra: '' }
- { Field: cpwVcID, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: cpwOid, Type: int, '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, 'Null': false, Extra: '' }
- { Field: pw_peer_mtu, Type: int, 'Null': false, Extra: '' }
- { Field: pw_descr, Type: varchar(128), 'Null': false, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [pseudowire_id], Unique: true, Type: BTREE }
push_subscriptions:
Columns:
- { Field: id, Type: 'bigint unsigned', 'Null': false, Extra: auto_increment }
- { Field: subscribable_type, Type: varchar(255), 'Null': false, Extra: '' }
- { Field: subscribable_id, Type: 'bigint unsigned', 'Null': false, Extra: '' }
- { Field: endpoint, Type: varchar(500), 'Null': false, Extra: '' }
- { Field: public_key, Type: varchar(255), 'Null': true, Extra: '' }
- { Field: auth_token, Type: varchar(255), 'Null': true, Extra: '' }
- { Field: content_encoding, Type: varchar(255), 'Null': true, Extra: '' }
- { Field: description, Type: varchar(255), 'Null': true, Extra: '' }
- { Field: created_at, Type: timestamp, 'Null': true, Extra: '' }
- { Field: updated_at, Type: timestamp, 'Null': true, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [id], Unique: true, Type: BTREE }
push_subscriptions_endpoint_unique: { Name: push_subscriptions_endpoint_unique, Columns: [endpoint], Unique: true, Type: BTREE }
push_subscriptions_subscribable_type_subscribable_id_index: { Name: push_subscriptions_subscribable_type_subscribable_id_index, Columns: [subscribable_type, subscribable_id], Unique: false, Type: BTREE }
route:
Columns:
- { Field: route_id, Type: 'int 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 unsigned', 'Null': false, Extra: '' }
- { Field: port_id, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: context_name, Type: varchar(255), 'Null': true, Extra: '' }
- { Field: inetCidrRouteIfIndex, Type: bigint, 'Null': false, Extra: '' }
- { Field: inetCidrRouteType, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: inetCidrRouteProto, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: inetCidrRouteNextHopAS, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: inetCidrRouteMetric1, Type: 'int 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 unsigned', 'Null': false, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [route_id], Unique: true, Type: BTREE }
sensors:
Columns:
- { Field: sensor_id, Type: 'int unsigned', 'Null': false, Extra: auto_increment }
- { Field: sensor_deleted, Type: tinyint, 'Null': false, Extra: '', Default: '0' }
- { Field: sensor_class, Type: varchar(64), 'Null': false, Extra: '' }
- { Field: device_id, Type: 'int 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, 'Null': false, Extra: '', Default: '1' }
- { Field: sensor_multiplier, Type: int, '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, '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 }
sensors_device_id_index: { Name: sensors_device_id_index, Columns: [device_id], Unique: false, Type: BTREE }
sensors_sensor_class_index: { Name: sensors_sensor_class_index, Columns: [sensor_class], Unique: false, Type: BTREE }
sensors_sensor_type_index: { Name: sensors_sensor_type_index, 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 unsigned', 'Null': false, Extra: auto_increment }
- { Field: sensor_id, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: state_index_id, Type: 'int unsigned', 'Null': false, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [sensors_to_state_translations_id], Unique: true, Type: BTREE }
sensors_to_state_indexes_sensor_id_state_index_id_unique: { Name: sensors_to_state_indexes_sensor_id_state_index_id_unique, Columns: [sensor_id, state_index_id], Unique: true, Type: BTREE }
sensors_to_state_indexes_state_index_id_index: { Name: sensors_to_state_indexes_state_index_id_index, 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 unsigned', 'Null': false, Extra: auto_increment }
- { Field: device_id, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: service_ip, Type: text, 'Null': true, Extra: '' }
- { Field: service_type, Type: varchar(255), 'Null': false, Extra: '' }
- { Field: service_desc, Type: text, 'Null': true, Extra: '' }
- { Field: service_param, Type: text, 'Null': true, Extra: '' }
- { Field: service_ignore, Type: tinyint, 'Null': false, Extra: '', Default: '0' }
- { Field: service_status, Type: tinyint, 'Null': false, Extra: '', Default: '0' }
- { Field: service_changed, Type: 'int unsigned', 'Null': false, Extra: '', Default: '0' }
- { Field: service_message, Type: text, 'Null': true, Extra: '' }
- { Field: service_disabled, Type: tinyint, 'Null': false, Extra: '', Default: '0' }
- { Field: service_ds, Type: text, 'Null': true, Extra: '' }
- { Field: service_template_id, Type: 'int unsigned', 'Null': false, Extra: '', Default: '0' }
- { Field: service_name, Type: varchar(255), 'Null': true, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [service_id], Unique: true, Type: BTREE }
services_device_id_index: { Name: services_device_id_index, Columns: [device_id], Unique: false, Type: BTREE }
service_templates:
Columns:
- { Field: id, Type: 'int unsigned', 'Null': false, Extra: auto_increment }
- { Field: ip, Type: text, 'Null': true, Extra: '' }
- { Field: check, Type: varchar(255), 'Null': false, Extra: '' }
- { Field: type, Type: varchar(16), 'Null': false, Extra: '', Default: static }
- { Field: rules, Type: text, 'Null': true, Extra: '' }
- { Field: desc, Type: text, 'Null': true, Extra: '' }
- { Field: param, Type: text, 'Null': true, Extra: '' }
- { Field: ignore, Type: tinyint, 'Null': false, Extra: '', Default: '0' }
- { Field: changed, Type: timestamp, 'Null': false, Extra: 'on update CURRENT_TIMESTAMP', Default: CURRENT_TIMESTAMP }
- { Field: disabled, Type: tinyint, 'Null': false, Extra: '', Default: '0' }
- { Field: name, Type: varchar(255), 'Null': false, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [id], Unique: true, Type: BTREE }
service_templates_device:
Columns:
- { Field: service_template_id, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: device_id, Type: 'int unsigned', 'Null': false, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [service_template_id, device_id], Unique: true, Type: BTREE }
service_templates_device_device_id_index: { Name: service_templates_device_device_id_index, Columns: [device_id], Unique: false, Type: BTREE }
service_templates_device_service_template_id_index: { Name: service_templates_device_service_template_id_index, Columns: [service_template_id], Unique: false, Type: BTREE }
Constraints:
service_templates_device_device_id_foreign: { name: service_templates_device_device_id_foreign, foreign_key: device_id, table: devices, key: device_id, extra: 'ON DELETE CASCADE' }
service_templates_device_service_template_id_foreign: { name: service_templates_device_service_template_id_foreign, foreign_key: service_template_id, table: service_templates, key: id, extra: 'ON DELETE CASCADE' }
service_templates_device_group:
Columns:
- { Field: service_template_id, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: device_group_id, Type: 'int unsigned', 'Null': false, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [service_template_id, device_group_id], Unique: true, Type: BTREE }
service_templates_device_group_device_group_id_index: { Name: service_templates_device_group_device_group_id_index, Columns: [device_group_id], Unique: false, Type: BTREE }
service_templates_device_group_service_template_id_index: { Name: service_templates_device_group_service_template_id_index, Columns: [service_template_id], Unique: false, Type: BTREE }
Constraints:
service_templates_device_group_device_group_id_foreign: { name: service_templates_device_group_device_group_id_foreign, foreign_key: device_group_id, table: device_groups, key: id, extra: 'ON DELETE CASCADE' }
service_templates_device_group_service_template_id_foreign: { name: service_templates_device_group_service_template_id_foreign, foreign_key: service_template_id, table: service_templates, key: id, extra: 'ON DELETE CASCADE' }
session:
Columns:
- { Field: session_id, Type: 'int 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, 'Null': false, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [session_id], Unique: true, Type: BTREE }
session_session_value_unique: { Name: session_session_value_unique, Columns: [session_value], Unique: true, Type: BTREE }
sessions:
Columns:
- { Field: id, Type: varchar(255), 'Null': false, Extra: '' }
- { Field: user_id, Type: 'bigint unsigned', 'Null': true, Extra: '' }
- { Field: ip_address, Type: varchar(45), 'Null': true, Extra: '' }
- { Field: user_agent, Type: text, 'Null': true, Extra: '' }
- { Field: payload, Type: text, 'Null': false, Extra: '' }
- { Field: last_activity, Type: int, 'Null': false, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [id], Unique: true, Type: BTREE }
sessions_last_activity_index: { Name: sessions_last_activity_index, Columns: [last_activity], Unique: false, Type: BTREE }
sessions_user_id_index: { Name: sessions_user_id_index, Columns: [user_id], Unique: false, Type: BTREE }
slas:
Columns:
- { Field: sla_id, Type: 'int unsigned', 'Null': false, Extra: auto_increment }
- { Field: device_id, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: sla_nr, Type: 'int unsigned', '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: rtt, Type: 'double(8,2) unsigned', 'Null': true, Extra: '' }
- { Field: status, Type: tinyint, 'Null': false, Extra: '' }
- { Field: opstatus, Type: tinyint, 'Null': false, Extra: '', Default: '0' }
- { Field: deleted, Type: tinyint, 'Null': false, Extra: '', Default: '0' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [sla_id], Unique: true, Type: BTREE }
slas_device_id_index: { Name: slas_device_id_index, Columns: [device_id], Unique: false, Type: BTREE }
slas_device_id_sla_nr_unique: { Name: slas_device_id_sla_nr_unique, Columns: [device_id, sla_nr], Unique: true, Type: BTREE }
state_indexes:
Columns:
- { Field: state_index_id, Type: 'int 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_indexes_state_name_unique: { Name: state_indexes_state_name_unique, Columns: [state_name], Unique: true, Type: BTREE }
state_translations:
Columns:
- { Field: state_translation_id, Type: 'int unsigned', 'Null': false, Extra: auto_increment }
- { Field: state_index_id, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: state_descr, Type: varchar(255), 'Null': false, Extra: '' }
- { Field: state_draw_graph, Type: tinyint, 'Null': false, Extra: '' }
- { Field: state_value, Type: smallint, 'Null': false, Extra: '', Default: '0' }
- { Field: state_generic_value, Type: tinyint, '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_translations_state_index_id_state_value_unique: { Name: state_translations_state_index_id_state_value_unique, Columns: [state_index_id, state_value], Unique: true, Type: BTREE }
storage:
Columns:
- { Field: storage_id, Type: 'int unsigned', 'Null': false, Extra: auto_increment }
- { Field: device_id, Type: 'int 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, 'Null': false, Extra: '' }
- { Field: storage_units, Type: int, 'Null': false, Extra: '' }
- { Field: storage_used, Type: bigint, 'Null': false, Extra: '', Default: '0' }
- { Field: storage_free, Type: bigint, 'Null': false, Extra: '', Default: '0' }
- { Field: storage_perc, Type: int, 'Null': false, Extra: '', Default: '0' }
- { Field: storage_perc_warn, Type: int, 'Null': true, Extra: '', Default: '60' }
- { Field: storage_deleted, Type: tinyint, 'Null': false, Extra: '', Default: '0' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [storage_id], Unique: true, Type: BTREE }
storage_device_id_index: { Name: storage_device_id_index, Columns: [device_id], Unique: false, Type: BTREE }
storage_device_id_storage_mib_storage_index_unique: { Name: storage_device_id_storage_mib_storage_index_unique, Columns: [device_id, storage_mib, storage_index], Unique: true, Type: BTREE }
stp:
Columns:
- { Field: stp_id, Type: 'int unsigned', 'Null': false, Extra: auto_increment }
- { Field: device_id, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: vlan, Type: 'int unsigned', 'Null': true, Extra: '' }
- { Field: rootBridge, Type: tinyint, 'Null': false, Extra: '' }
- { Field: bridgeAddress, Type: varchar(32), 'Null': false, Extra: '' }
- { Field: protocolSpecification, Type: varchar(16), 'Null': false, Extra: '' }
- { Field: priority, Type: mediumint, 'Null': false, Extra: '' }
- { Field: timeSinceTopologyChange, Type: varchar(32), 'Null': false, Extra: '' }
- { Field: topChanges, Type: mediumint, 'Null': false, Extra: '' }
- { Field: designatedRoot, Type: varchar(32), 'Null': false, Extra: '' }
- { Field: rootCost, Type: mediumint, 'Null': false, Extra: '' }
- { Field: rootPort, Type: int, 'Null': true, Extra: '' }
- { Field: maxAge, Type: mediumint, 'Null': false, Extra: '' }
- { Field: helloTime, Type: mediumint, 'Null': false, Extra: '' }
- { Field: holdTime, Type: mediumint, 'Null': false, Extra: '' }
- { Field: forwardDelay, Type: mediumint, 'Null': false, Extra: '' }
- { Field: bridgeMaxAge, Type: smallint, 'Null': false, Extra: '' }
- { Field: bridgeHelloTime, Type: smallint, 'Null': false, Extra: '' }
- { Field: bridgeForwardDelay, Type: smallint, 'Null': false, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [stp_id], Unique: true, Type: BTREE }
stp_device_id_index: { Name: stp_device_id_index, Columns: [device_id], Unique: false, Type: BTREE }
syslog:
Columns:
- { Field: device_id, Type: 'int 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 unsigned', 'Null': false, Extra: auto_increment }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [seq], Unique: true, Type: BTREE }
syslog_device_id_index: { Name: syslog_device_id_index, Columns: [device_id], Unique: false, Type: BTREE }
syslog_device_id_priority_index: { Name: syslog_device_id_priority_index, Columns: [device_id, priority], Unique: false, Type: BTREE }
syslog_device_id_program_index: { Name: syslog_device_id_program_index, Columns: [device_id, program], Unique: false, Type: BTREE }
syslog_device_id_timestamp_index: { Name: syslog_device_id_timestamp_index, Columns: [device_id, timestamp], Unique: false, Type: BTREE }
syslog_priority_level_index: { Name: syslog_priority_level_index, Columns: [priority, level], Unique: false, Type: BTREE }
syslog_program_index: { Name: syslog_program_index, Columns: [program], Unique: false, Type: BTREE }
syslog_timestamp_index: { Name: syslog_timestamp_index, Columns: [timestamp], Unique: false, Type: BTREE }
tnmsneinfo:
Columns:
- { Field: id, Type: 'int unsigned', 'Null': false, Extra: auto_increment }
- { Field: device_id, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: neID, Type: int, '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 }
tnmsneinfo_device_id_index: { Name: tnmsneinfo_device_id_index, Columns: [device_id], Unique: false, Type: BTREE }
tnmsneinfo_neid_index: { Name: tnmsneinfo_neid_index, Columns: [neID], Unique: false, Type: BTREE }
transport_group_transport:
Columns:
- { Field: id, Type: 'bigint unsigned', 'Null': false, Extra: auto_increment }
- { Field: transport_group_id, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: transport_id, Type: 'int unsigned', 'Null': false, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [id], Unique: true, Type: BTREE }
ucd_diskio:
Columns:
- { Field: diskio_id, Type: 'int unsigned', 'Null': false, Extra: auto_increment }
- { Field: device_id, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: diskio_index, Type: int, 'Null': false, Extra: '' }
- { Field: diskio_descr, Type: varchar(32), 'Null': false, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [diskio_id], Unique: true, Type: BTREE }
ucd_diskio_device_id_index: { Name: ucd_diskio_device_id_index, Columns: [device_id], Unique: false, Type: BTREE }
users:
Columns:
- { Field: user_id, Type: 'int unsigned', 'Null': false, Extra: auto_increment }
- { Field: auth_type, Type: varchar(32), 'Null': true, Extra: '' }
- { Field: auth_id, Type: varchar(255), '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, 'Null': false, Extra: '', Default: '0' }
- { Field: can_modify_passwd, Type: tinyint, '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, 'Null': false, Extra: '', Default: '1' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [user_id], Unique: true, Type: BTREE }
users_auth_type_username_unique: { Name: users_auth_type_username_unique, Columns: [auth_type, username], Unique: true, Type: BTREE }
users_prefs:
Columns:
- { Field: user_id, Type: 'int 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 unsigned', 'Null': false, Extra: auto_increment }
- { Field: user_id, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: widget, Type: varchar(32), 'Null': false, Extra: '' }
- { Field: col, Type: tinyint, 'Null': false, Extra: '' }
- { Field: row, Type: tinyint, 'Null': false, Extra: '' }
- { Field: size_x, Type: tinyint, 'Null': false, Extra: '' }
- { Field: size_y, Type: tinyint, 'Null': false, Extra: '' }
- { Field: title, Type: varchar(255), 'Null': false, Extra: '' }
- { Field: refresh, Type: tinyint, 'Null': false, Extra: '', Default: '60' }
- { Field: settings, Type: text, 'Null': false, Extra: '' }
- { Field: dashboard_id, Type: 'int unsigned', 'Null': false, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [user_widget_id], Unique: true, Type: BTREE }
user_id: { Name: user_id, Columns: [user_id], Unique: false, Type: BTREE }
vlans:
Columns:
- { Field: vlan_id, Type: 'int unsigned', 'Null': false, Extra: auto_increment }
- { Field: device_id, Type: 'int unsigned', 'Null': true, Extra: '' }
- { Field: vlan_vlan, Type: int, 'Null': true, Extra: '' }
- { Field: vlan_domain, Type: int, '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, '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 unsigned', 'Null': false, Extra: auto_increment }
- { Field: device_id, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: vm_type, Type: varchar(16), 'Null': false, Extra: '', Default: vmware }
- { Field: vmwVmVMID, Type: int, 'Null': false, Extra: '' }
- { Field: vmwVmDisplayName, Type: varchar(128), 'Null': false, Extra: '' }
- { Field: vmwVmGuestOS, Type: varchar(128), 'Null': false, Extra: '' }
- { Field: vmwVmMemSize, Type: int, 'Null': false, Extra: '' }
- { Field: vmwVmCpus, Type: int, 'Null': false, Extra: '' }
- { Field: vmwVmState, Type: 'smallint unsigned', 'Null': false, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [id], Unique: true, Type: BTREE }
vminfo_device_id_index: { Name: vminfo_device_id_index, Columns: [device_id], Unique: false, Type: BTREE }
vminfo_vmwvmvmid_index: { Name: vminfo_vmwvmvmid_index, Columns: [vmwVmVMID], Unique: false, Type: BTREE }
vrfs:
Columns:
- { Field: vrf_id, Type: 'int 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 unsigned', 'Null': true, Extra: '' }
- { Field: mplsVpnVrfRouteDistinguisher, Type: varchar(128), 'Null': true, Extra: '' }
- { Field: mplsVpnVrfDescription, Type: text, 'Null': false, Extra: '' }
- { Field: device_id, Type: 'int unsigned', 'Null': false, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [vrf_id], Unique: true, Type: BTREE }
vrfs_device_id_index: { Name: vrfs_device_id_index, Columns: [device_id], Unique: false, Type: BTREE }
vrf_lite_cisco:
Columns:
- { Field: vrf_lite_cisco_id, Type: 'int unsigned', 'Null': false, Extra: auto_increment }
- { Field: device_id, Type: 'int 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 }
vrf_lite_cisco_context_name_index: { Name: vrf_lite_cisco_context_name_index, Columns: [context_name], Unique: false, Type: BTREE }
vrf_lite_cisco_device_id_context_name_vrf_name_index: { Name: vrf_lite_cisco_device_id_context_name_vrf_name_index, Columns: [device_id, context_name, vrf_name], Unique: false, Type: BTREE }
vrf_lite_cisco_device_id_index: { Name: vrf_lite_cisco_device_id_index, Columns: [device_id], Unique: false, Type: BTREE }
vrf_lite_cisco_vrf_name_index: { Name: vrf_lite_cisco_vrf_name_index, Columns: [vrf_name], Unique: false, Type: BTREE }
wireless_sensors:
Columns:
- { Field: sensor_id, Type: 'int unsigned', 'Null': false, Extra: auto_increment }
- { Field: sensor_deleted, Type: tinyint, 'Null': false, Extra: '', Default: '0' }
- { Field: sensor_class, Type: varchar(64), 'Null': false, Extra: '' }
- { Field: device_id, Type: 'int 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, 'Null': false, Extra: '', Default: '1' }
- { Field: sensor_multiplier, Type: int, '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, '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 unsigned', 'Null': true, Extra: '' }
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [sensor_id], Unique: true, Type: BTREE }
wireless_sensors_device_id_index: { Name: wireless_sensors_device_id_index, Columns: [device_id], Unique: false, Type: BTREE }
wireless_sensors_sensor_class_index: { Name: wireless_sensors_sensor_class_index, Columns: [sensor_class], Unique: false, Type: BTREE }
wireless_sensors_sensor_type_index: { Name: wireless_sensors_sensor_type_index, 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' }