forked from Cacti/cacti
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cacti.sql
3085 lines (2747 loc) · 120 KB
/
cacti.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
--
-- Allow MySQL to handle Cacti's legacy syntax
--
DELIMITER //
DROP FUNCTION IF EXISTS NOAUTOCREATENEEDED//
CREATE FUNCTION NOAUTOCREATENEEDED()
RETURNS BOOL
READS SQL DATA
DETERMINISTIC
BEGIN
DECLARE ret BOOL;
DECLARE ismaria BOOL;
DECLARE majv INT;
DECLARE medv INT;
DECLARE minv INT;
DECLARE realversion VARCHAR(16);
DECLARE majn INT;
DECLARE medn INT;
DECLARE minn INT;
SET ret = TRUE;
SELECT LOCATE('MariaDB', @@version) > 0 INTO ismaria;
IF ismaria THEN
-- MariaDB version NO_AUTO_CREATE_USER started to be default
SET majn = 10;
SET medn = 1;
SET minn = 7;
ELSE
-- MySQL version it started to be default (8.0.11)
SET majn = 8;
SET medn = 0;
SET minn = 11;
END IF;
SELECT SUBSTRING_INDEX(SUBSTRING_INDEX(@@VERSION, '.', 3),'-',1) INTO realversion;
SELECT CONVERT(SUBSTRING_INDEX(realversion, '.', 1), SIGNED INTEGER) INTO majv;
SELECT CONVERT(SUBSTRING_INDEX(SUBSTRING_INDEX(realversion, '.', 2), '.', -1), SIGNED INTEGER) INTO medv;
SELECT CONVERT(SUBSTRING_INDEX(SUBSTRING_INDEX(realversion, '.', 3), '.', -1), SIGNED INTEGER) INTO minv;
IF majv >= majn AND medv >= medn AND minv >= minn THEN
SET ret = FALSE;
END IF;
RETURN ret;
END //
DELIMITER ;
SET @sqlmode= "";
SELECT IF(NOAUTOCREATENEEDED(), 'NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION', 'NO_ENGINE_SUBSTITUTION') INTO @sqlmode;
SET SESSION sql_mode = @sqlmode;
--
-- Table structure for table `aggregate_graph_templates`
--
CREATE TABLE `aggregate_graph_templates` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(64) NOT NULL,
`graph_template_id` int(10) unsigned NOT NULL,
`gprint_prefix` varchar(64) NOT NULL,
`gprint_format` char(2) DEFAULT '',
`graph_type` int(10) unsigned NOT NULL,
`total` int(10) unsigned NOT NULL,
`total_type` int(10) unsigned NOT NULL,
`total_prefix` varchar(64) NOT NULL,
`order_type` int(10) unsigned NOT NULL,
`created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`user_id` int(10) unsigned NOT NULL,
PRIMARY KEY (`id`),
KEY `graph_template_id` (`graph_template_id`),
KEY `user_id` (`user_id`)
) ENGINE=InnoDB COMMENT='Template Definitions for Aggregate Graphs';
--
-- Table structure for table `aggregate_graph_templates_graph`
--
CREATE TABLE `aggregate_graph_templates_graph` (
`aggregate_template_id` int(10) unsigned NOT NULL,
`t_image_format_id` char(2) DEFAULT '',
`image_format_id` tinyint(1) NOT NULL DEFAULT '0',
`t_height` char(2) DEFAULT '',
`height` mediumint(8) NOT NULL DEFAULT '0',
`t_width` char(2) DEFAULT '',
`width` mediumint(8) NOT NULL DEFAULT '0',
`t_upper_limit` char(2) DEFAULT '',
`upper_limit` varchar(20) NOT NULL DEFAULT '0',
`t_lower_limit` char(2) DEFAULT '',
`lower_limit` varchar(20) NOT NULL DEFAULT '0',
`t_vertical_label` char(2) DEFAULT '',
`vertical_label` varchar(200) DEFAULT '',
`t_slope_mode` char(2) DEFAULT '',
`slope_mode` char(2) DEFAULT 'on',
`t_auto_scale` char(2) DEFAULT '',
`auto_scale` char(2) DEFAULT '',
`t_auto_scale_opts` char(2) DEFAULT '',
`auto_scale_opts` tinyint(1) NOT NULL DEFAULT '0',
`t_auto_scale_log` char(2) DEFAULT '',
`auto_scale_log` char(2) DEFAULT '',
`t_scale_log_units` char(2) DEFAULT '',
`scale_log_units` char(2) DEFAULT '',
`t_auto_scale_rigid` char(2) DEFAULT '',
`auto_scale_rigid` char(2) DEFAULT '',
`t_auto_padding` char(2) DEFAULT '',
`auto_padding` char(2) DEFAULT '',
`t_base_value` char(2) DEFAULT '',
`base_value` mediumint(8) NOT NULL DEFAULT '0',
`t_grouping` char(2) DEFAULT '',
`grouping` char(2) NOT NULL DEFAULT '',
`t_unit_value` char(2) DEFAULT '',
`unit_value` varchar(20) DEFAULT '',
`t_unit_exponent_value` char(2) DEFAULT '',
`unit_exponent_value` varchar(5) NOT NULL DEFAULT '',
t_alt_y_grid char(2) default '',
alt_y_grid char(2) default NULL,
t_right_axis char(2) DEFAULT '',
right_axis varchar(20) DEFAULT NULL,
t_right_axis_label char(2) DEFAULT '',
right_axis_label varchar(200) DEFAULT NULL,
t_right_axis_format char(2) DEFAULT '',
right_axis_format mediumint(8) DEFAULT NULL,
t_right_axis_formatter char(2) DEFAULT '',
right_axis_formatter varchar(10) DEFAULT NULL,
t_left_axis_formatter char(2) DEFAULT '',
left_axis_formatter varchar(10) DEFAULT NULL,
t_no_gridfit char(2) DEFAULT '',
no_gridfit char(2) DEFAULT NULL,
t_unit_length char(2) DEFAULT '',
unit_length varchar(10) DEFAULT NULL,
t_tab_width char(2) DEFAULT '',
tab_width varchar(20) DEFAULT '30',
t_dynamic_labels char(2) default '',
dynamic_labels char(2) default NULL,
t_force_rules_legend char(2) DEFAULT '',
force_rules_legend char(2) DEFAULT NULL,
t_legend_position char(2) DEFAULT '',
legend_position varchar(10) DEFAULT NULL,
t_legend_direction char(2) DEFAULT '',
legend_direction varchar(10) DEFAULT NULL,
PRIMARY KEY (`aggregate_template_id`)
) ENGINE=InnoDB COMMENT='Aggregate Template Graph Data';
--
-- Table structure for table `aggregate_graph_templates_item`
--
CREATE TABLE `aggregate_graph_templates_item` (
`aggregate_template_id` int(10) unsigned NOT NULL,
`graph_templates_item_id` int(10) unsigned NOT NULL,
`sequence` mediumint(8) unsigned NOT NULL DEFAULT '0',
`color_template` int(11) NOT NULL,
`t_graph_type_id` char(2) DEFAULT '',
`graph_type_id` tinyint(3) NOT NULL DEFAULT '0',
`t_cdef_id` char(2) DEFAULT '',
`cdef_id` mediumint(8) unsigned DEFAULT NULL,
`item_skip` char(2) NOT NULL,
`item_total` char(2) NOT NULL,
PRIMARY KEY (`aggregate_template_id`,`graph_templates_item_id`)
) ENGINE=InnoDB COMMENT='Aggregate Template Graph Items';
--
-- Table structure for table `aggregate_graphs`
--
CREATE TABLE `aggregate_graphs` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`aggregate_template_id` int(10) unsigned NOT NULL,
`template_propogation` char(2) NOT NULL DEFAULT '',
`local_graph_id` int(10) unsigned NOT NULL,
`title_format` varchar(128) NOT NULL,
`graph_template_id` int(10) unsigned NOT NULL,
`gprint_prefix` varchar(64) NOT NULL,
`gprint_format` char(2) DEFAULT '',
`graph_type` int(10) unsigned NOT NULL,
`total` int(10) unsigned NOT NULL,
`total_type` int(10) unsigned NOT NULL,
`total_prefix` varchar(64) NOT NULL,
`order_type` int(10) unsigned NOT NULL,
`created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`user_id` int(10) unsigned NOT NULL,
PRIMARY KEY (`id`),
KEY `aggregate_template_id` (`aggregate_template_id`),
KEY `local_graph_id` (`local_graph_id`),
KEY `title_format` (`title_format`),
KEY `user_id` (`user_id`)
) ENGINE=InnoDB COMMENT='Aggregate Graph Definitions';
--
-- Table structure for table `aggregate_graphs_graph_item`
--
CREATE TABLE `aggregate_graphs_graph_item` (
`aggregate_graph_id` int(10) unsigned NOT NULL,
`graph_templates_item_id` int(10) unsigned NOT NULL,
`sequence` mediumint(8) unsigned NOT NULL DEFAULT '0',
`color_template` int(11) unsigned NOT NULL,
`t_graph_type_id` char(2) DEFAULT '',
`graph_type_id` tinyint(3) NOT NULL DEFAULT '0',
`t_cdef_id` char(2) DEFAULT '',
`cdef_id` mediumint(8) unsigned DEFAULT NULL,
`item_skip` char(2) NOT NULL,
`item_total` char(2) NOT NULL,
PRIMARY KEY (`aggregate_graph_id`,`graph_templates_item_id`)
) ENGINE=InnoDB COMMENT='Aggregate Graph Graph Items';
--
-- Table structure for table `aggregate_graphs_items`
--
CREATE TABLE `aggregate_graphs_items` (
`aggregate_graph_id` int(10) unsigned NOT NULL,
`local_graph_id` int(10) unsigned NOT NULL,
`sequence` mediumint(8) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`aggregate_graph_id`,`local_graph_id`)
) ENGINE=InnoDB COMMENT='Aggregate Graph Items';
--
-- Table structure for table `automation_devices`
--
CREATE TABLE `automation_devices` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`network_id` int(10) unsigned NOT NULL DEFAULT '0',
`hostname` varchar(100) NOT NULL DEFAULT '',
`ip` varchar(17) NOT NULL DEFAULT '',
`snmp_community` varchar(100) NOT NULL DEFAULT '',
`snmp_version` tinyint(1) unsigned NOT NULL DEFAULT '1',
`snmp_port` mediumint(5) unsigned NOT NULL DEFAULT '161',
`snmp_username` varchar(50) DEFAULT NULL,
`snmp_password` varchar(50) DEFAULT NULL,
`snmp_auth_protocol` char(6) DEFAULT '',
`snmp_priv_passphrase` varchar(200) DEFAULT '',
`snmp_priv_protocol` char(6) DEFAULT '',
`snmp_context` varchar(64) DEFAULT '',
`snmp_engine_id` varchar(64) DEFAULT '',
`sysName` varchar(100) NOT NULL DEFAULT '',
`sysLocation` varchar(255) NOT NULL DEFAULT '',
`sysContact` varchar(255) NOT NULL DEFAULT '',
`sysDescr` varchar(255) NOT NULL DEFAULT '',
`sysUptime` int(32) NOT NULL DEFAULT '0',
`os` varchar(64) NOT NULL DEFAULT '',
`snmp` tinyint(4) NOT NULL DEFAULT '0',
`known` tinyint(4) NOT NULL DEFAULT '0',
`up` tinyint(4) NOT NULL DEFAULT '0',
`time` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
UNIQUE KEY `ip` (`ip`),
KEY `hostname` (`hostname`)
) ENGINE=InnoDB COMMENT='Table of Discovered Devices';
--
-- Table structure for table `automation_graph_rule_items`
--
CREATE TABLE `automation_graph_rule_items` (
`id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
`rule_id` mediumint(8) unsigned NOT NULL DEFAULT '0',
`sequence` smallint(3) unsigned NOT NULL DEFAULT '0',
`operation` smallint(3) unsigned NOT NULL DEFAULT '0',
`field` varchar(255) NOT NULL DEFAULT '',
`operator` smallint(3) unsigned NOT NULL DEFAULT '0',
`pattern` varchar(255) NOT NULL DEFAULT '',
PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT='Automation Graph Rule Items';
--
-- Dumping data for table `automation_graph_rule_items`
--
INSERT INTO `automation_graph_rule_items` VALUES (1,1,1,0,'ifOperStatus',7,'Up'),(2,1,2,1,'ifIP',16,''),(3,1,3,1,'ifHwAddr',16,''),(4,2,1,0,'ifOperStatus',7,'Up'),(5,2,2,1,'ifIP',16,''),(6,2,3,1,'ifHwAddr',16,'');
--
-- Table structure for table `automation_graph_rules`
--
CREATE TABLE `automation_graph_rules` (
`id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(255) NOT NULL DEFAULT '',
`snmp_query_id` smallint(3) unsigned NOT NULL DEFAULT '0',
`graph_type_id` smallint(3) unsigned NOT NULL DEFAULT '0',
`enabled` char(2) DEFAULT '',
PRIMARY KEY (`id`),
KEY `name` (`name`(171))
) ENGINE=InnoDB COMMENT='Automation Graph Rules';
--
-- Dumping data for table `automation_graph_rules`
--
INSERT INTO `automation_graph_rules` VALUES (1,'Traffic 64 bit Server',1,12,'on'),(2,'Traffic 64 bit Server Linux',1,12,'on'),(3,'Disk Space',3,17,'on');
--
-- Table structure for table `automation_ips`
--
CREATE TABLE `automation_ips` (
`ip_address` varchar(20) NOT NULL DEFAULT '',
`hostname` varchar(100) DEFAULT NULL,
`network_id` int(10) unsigned DEFAULT NULL,
`pid` int(10) unsigned DEFAULT NULL,
`status` int(10) unsigned DEFAULT NULL,
`thread` int(10) unsigned DEFAULT NULL,
PRIMARY KEY (`ip_address`),
KEY `pid` (`pid`)
) ENGINE=MEMORY COMMENT='List of discoverable ip addresses used for scanning';
--
-- Table structure for table `automation_match_rule_items`
--
CREATE TABLE `automation_match_rule_items` (
`id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
`rule_id` mediumint(8) unsigned NOT NULL DEFAULT '0',
`rule_type` smallint(3) unsigned NOT NULL DEFAULT '0',
`sequence` smallint(3) unsigned NOT NULL DEFAULT '0',
`operation` smallint(3) unsigned NOT NULL DEFAULT '0',
`field` varchar(255) NOT NULL DEFAULT '',
`operator` smallint(3) unsigned NOT NULL DEFAULT '0',
`pattern` varchar(255) NOT NULL DEFAULT '',
PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT='Automation Match Rule Items';
--
-- Dumping data for table `automation_match_rule_items`
--
INSERT INTO `automation_match_rule_items` VALUES (1,1,1,1,0,'h.snmp_sysDescr',8,''),(2,1,1,2,1,'h.snmp_version',12,'2'),(3,1,3,1,0,'ht.name',1,'Linux'),(4,2,1,1,0,'ht.name',1,'Linux'),(5,2,1,2,1,'h.snmp_version',12,'2'),(6,2,3,1,0,'ht.name',1,'SNMP'),(7,2,3,2,1,'gt.name',1,'Traffic'),(8,1,1,3,1,'h.snmp_sysDescr',2,'Windows');
--
-- Table structure for table `automation_networks`
--
CREATE TABLE `automation_networks` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`poller_id` int(10) unsigned DEFAULT '1',
`site_id` int(10) unsigned DEFAULT '1',
`name` varchar(128) NOT NULL DEFAULT '' COMMENT 'The name for this network',
`subnet_range` varchar(1024) NOT NULL DEFAULT '' COMMENT 'Defined subnet ranges for discovery',
`dns_servers` varchar(128) NOT NULL DEFAULT '' COMMENT 'DNS Servers to use for name resolution',
`enabled` char(2) DEFAULT '',
`notification_enabled` char(2) DEFAULT '',
`notification_email` varchar(255) DEFAULT '',
`notification_fromname` varchar(32) DEFAULT '',
`notification_fromemail` varchar(128) DEFAULT '',
`snmp_id` int(10) unsigned DEFAULT NULL,
`enable_netbios` char(2) DEFAULT '',
`add_to_cacti` char(2) DEFAULT '',
`same_sysname` char(2) DEFAULT '',
`total_ips` int(10) unsigned DEFAULT '0',
`up_hosts` int(10) unsigned NOT NULL DEFAULT '0',
`snmp_hosts` int(10) unsigned NOT NULL DEFAULT '0',
`ping_method` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'The ping method (ICMP:TCP:UDP)',
`ping_port` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'For TCP:UDP the port to ping',
`ping_timeout` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'The ping timeout in seconds',
`ping_retries` int(10) unsigned DEFAULT '0',
`sched_type` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Schedule type: manual or automatic',
`threads` int(10) unsigned DEFAULT '1',
`run_limit` int(10) unsigned DEFAULT '0' COMMENT 'The maximum runtime for the discovery',
`start_at` varchar(20) DEFAULT NULL,
`next_start` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
`recur_every` int(10) unsigned DEFAULT '1',
`day_of_week` varchar(45) DEFAULT NULL COMMENT 'The days of week to run in crontab format',
`month` varchar(45) DEFAULT NULL COMMENT 'The months to run in crontab format',
`day_of_month` varchar(45) DEFAULT NULL COMMENT 'The days of month to run in crontab format',
`monthly_week` varchar(45) DEFAULT NULL,
`monthly_day` varchar(45) DEFAULT NULL,
`last_runtime` double NOT NULL DEFAULT '0' COMMENT 'The last runtime for discovery',
`last_started` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' COMMENT 'The time the discovery last started',
`last_status` varchar(128) NOT NULL DEFAULT '' COMMENT 'The last exit message if any',
`rerun_data_queries` char(2) DEFAULT NULL COMMENT 'Rerun data queries or not for existing hosts',
PRIMARY KEY (`id`),
KEY `poller_id` (`poller_id`)
) ENGINE=InnoDB COMMENT='Stores scanning subnet definitions';
--
-- Dumping data for table `automation_networks`
--
INSERT INTO `automation_networks` VALUES (1,1,0,'Test Network','192.168.1.0/24','','on','','','','',1,'on','on','',254,0,0,1,22,400,1,2,10,1200,'0000-00-00 00:00:00','0000-00-00 00:00:00',2,'4','','','','',0,'0000-00-00 00:00:00','','on');
--
-- Table structure for table `automation_processes`
--
CREATE TABLE `automation_processes` (
`pid` int(8) unsigned NOT NULL,
`poller_id` int(10) unsigned DEFAULT '1',
`network_id` int(10) unsigned NOT NULL DEFAULT '0',
`task` varchar(20) DEFAULT '',
`status` varchar(20) DEFAULT NULL,
`command` varchar(20) DEFAULT NULL,
`up_hosts` int(10) unsigned DEFAULT '0',
`snmp_hosts` int(10) unsigned DEFAULT '0',
`heartbeat` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
PRIMARY KEY (`pid`,`network_id`)
) ENGINE=MEMORY COMMENT='Table tracking active poller processes';
--
-- Table structure for table `automation_snmp`
--
CREATE TABLE `automation_snmp` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(100) NOT NULL DEFAULT '',
PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT='Group of SNMP Option Sets';
--
-- Dumping data for table `automation_snmp`
--
INSERT INTO `automation_snmp` VALUES (1,'Default Option Set');
--
-- Table structure for table `automation_snmp_items`
--
CREATE TABLE `automation_snmp_items` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`snmp_id` int(10) unsigned NOT NULL DEFAULT '0',
`sequence` int(10) unsigned NOT NULL DEFAULT '0',
`snmp_version` tinyint(1) unsigned NOT NULL DEFAULT '1',
`snmp_community` varchar(100) NOT NULL,
`snmp_port` mediumint(5) unsigned NOT NULL DEFAULT '161',
`snmp_timeout` int(10) unsigned NOT NULL DEFAULT '500',
`snmp_retries` tinyint(11) unsigned NOT NULL DEFAULT '3',
`max_oids` int(12) unsigned DEFAULT '10',
`snmp_username` varchar(50) DEFAULT NULL,
`snmp_password` varchar(50) DEFAULT NULL,
`snmp_auth_protocol` char(6) DEFAULT '',
`snmp_priv_passphrase` varchar(200) DEFAULT '',
`snmp_priv_protocol` char(6) DEFAULT '',
`snmp_context` varchar(64) DEFAULT '',
`snmp_engine_id` varchar(64) DEFAULT '',
PRIMARY KEY (`id`,`snmp_id`)
) ENGINE=InnoDB COMMENT='Set of SNMP Options';
--
-- Dumping data for table `automation_snmp_items`
--
INSERT INTO `automation_snmp_items` VALUES (1,1,1,'2','public',161,1000,3,10,'admin','baseball','MD5','','DES','',''),(2,1,2,'2','private',161,1000,3,10,'admin','baseball','MD5','','DES','','');
--
-- Table structure for table `automation_templates`
--
CREATE TABLE `automation_templates` (
`id` int(8) NOT NULL AUTO_INCREMENT,
`host_template` int(8) NOT NULL DEFAULT '0',
`availability_method` int(10) unsigned DEFAULT '2',
`sysDescr` varchar(255) DEFAULT '',
`sysName` varchar(255) DEFAULT '',
`sysOid` varchar(60) DEFAULT '',
`sequence` int(10) unsigned DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT='Templates of SNMP Sys variables used for automation';
--
-- Dumping data for table `automation_templates`
--
INSERT INTO `automation_templates` VALUES (1,3,2,'Linux','','',2),(2,1,2,'HP ETHERNET','','',1);
--
-- Table structure for table `automation_tree_rule_items`
--
CREATE TABLE `automation_tree_rule_items` (
`id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
`rule_id` mediumint(8) unsigned NOT NULL DEFAULT '0',
`sequence` smallint(3) unsigned NOT NULL DEFAULT '0',
`field` varchar(255) NOT NULL DEFAULT '',
`sort_type` smallint(3) unsigned NOT NULL DEFAULT '0',
`propagate_changes` char(2) DEFAULT '',
`search_pattern` varchar(255) NOT NULL DEFAULT '',
`replace_pattern` varchar(255) NOT NULL DEFAULT '',
PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT='Automation Tree Rule Items';
--
-- Dumping data for table `automation_tree_rule_items`
--
INSERT INTO `automation_tree_rule_items` VALUES (1,1,1,'ht.name',1,'','^(.*)\\s*Linux\\s*(.*)$','${1}\\n${2}'),(2,1,2,'h.hostname',1,'','^(\\w*)\\s*(\\w*)\\s*(\\w*).*$',''),(3,2,1,'0',2,'on','Traffic',''),(4,2,2,'gtg.title_cache',1,'','^(.*)\\s*-\\s*Traffic -\\s*(.*)$','${1}\\n${2}');
--
-- Table structure for table `automation_tree_rules`
--
CREATE TABLE `automation_tree_rules` (
`id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(255) NOT NULL DEFAULT '',
`tree_id` smallint(3) unsigned NOT NULL DEFAULT '0',
`tree_item_id` mediumint(8) unsigned NOT NULL DEFAULT '0',
`leaf_type` smallint(3) unsigned NOT NULL DEFAULT '0',
`host_grouping_type` smallint(3) unsigned NOT NULL DEFAULT '0',
`enabled` char(2) DEFAULT '',
PRIMARY KEY (`id`),
KEY `name` (`name`(171))
) ENGINE=InnoDB COMMENT='Automation Tree Rules';
--
-- Dumping data for table `automation_tree_rules`
--
INSERT INTO `automation_tree_rules` VALUES (1,'New Device',1,0,3,1,'on'),(2,'New Graph',1,0,2,1,'');
--
-- Table structure for table `cdef`
--
CREATE TABLE cdef (
`id` mediumint(8) unsigned NOT NULL auto_increment,
`hash` varchar(32) NOT NULL default '',
`system` mediumint(8) unsigned NOT NULL DEFAULT '0',
`name` varchar(255) NOT NULL default '',
PRIMARY KEY (id),
KEY `hash` (`hash`),
KEY `name` (`name`(171))
) ENGINE=InnoDB;
--
-- Dumping data for table `cdef`
--
INSERT INTO cdef VALUES (3,'3d352eed9fa8f7b2791205b3273708c7',0,'Make Stack Negative');
INSERT INTO cdef VALUES (4,'e961cc8ec04fda6ed4981cf5ad501aa5',0,'Make Per 5 Minutes');
INSERT INTO cdef VALUES (12,'f1ac79f05f255c02f914c920f1038c54',0,'Total All Data Sources');
INSERT INTO cdef VALUES (2,'73f95f8b77b5508157d64047342c421e',0,'Turn Bytes into Bits');
INSERT INTO cdef VALUES (14,'634a23af5e78af0964e8d33b1a4ed26b',0,'Multiply by 1024');
INSERT INTO cdef VALUES (15,'068984b5ccdfd2048869efae5166f722',0,'Total All Data Sources, Multiply by 1024');
--
-- Table structure for table `cdef_items`
--
CREATE TABLE cdef_items (
id mediumint(8) unsigned NOT NULL auto_increment,
hash varchar(32) NOT NULL default '',
cdef_id mediumint(8) unsigned NOT NULL default '0',
sequence mediumint(8) unsigned NOT NULL default '0',
type tinyint(2) NOT NULL default '0',
value varchar(150) NOT NULL default '',
PRIMARY KEY (id),
KEY cdef_id_sequence (`cdef_id`,`sequence`)
) ENGINE=InnoDB;
--
-- Dumping data for table `cdef_items`
--
INSERT INTO cdef_items VALUES (7,'9bbf6b792507bb9bb17d2af0970f9be9',2,1,4,'CURRENT_DATA_SOURCE');
INSERT INTO cdef_items VALUES (9,'a4b8eb2c3bf4920a3ef571a7a004be53',2,2,6,'8');
INSERT INTO cdef_items VALUES (8,'caa4e023ac2d7b1c4b4c8c4adfd55dfe',2,3,2,'3');
INSERT INTO cdef_items VALUES (10,'c888c9fe6b62c26c4bfe23e18991731d',3,1,4,'CURRENT_DATA_SOURCE');
INSERT INTO cdef_items VALUES (11,'1e1d0b29a94e08b648c8f053715442a0',3,3,2,'3');
INSERT INTO cdef_items VALUES (12,'4355c197998c7f8b285be7821ddc6da4',3,2,6,'-1');
INSERT INTO cdef_items VALUES (13,'40bb7a1143b0f2e2efca14eb356236de',4,1,4,'CURRENT_DATA_SOURCE');
INSERT INTO cdef_items VALUES (14,'42686ea0925c0220924b7d333599cd67',4,3,2,'3');
INSERT INTO cdef_items VALUES (15,'faf1b148b2c0e0527362ed5b8ca1d351',4,2,6,'300');
INSERT INTO cdef_items VALUES (16,'0ef6b8a42dc83b4e43e437960fccd2ea',12,1,4,'ALL_DATA_SOURCES_NODUPS');
INSERT INTO cdef_items VALUES (18,'86370cfa0008fe8c56b28be80ee39a40',14,1,4,'CURRENT_DATA_SOURCE');
INSERT INTO cdef_items VALUES (19,'9a35cc60d47691af37f6fddf02064e20',14,2,6,'1024');
INSERT INTO cdef_items VALUES (20,'5d7a7941ec0440b257e5598a27dd1688',14,3,2,'3');
INSERT INTO cdef_items VALUES (21,'44fd595c60539ff0f5817731d9f43a85',15,1,4,'ALL_DATA_SOURCES_NODUPS');
INSERT INTO cdef_items VALUES (22,'aa38be265e5ac31783e57ce6f9314e9a',15,2,6,'1024');
INSERT INTO cdef_items VALUES (23,'204423d4b2598f1f7252eea19458345c',15,3,2,'3');
CREATE TABLE `color_templates` (
`color_template_id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(255) NOT NULL DEFAULT '',
PRIMARY KEY (`color_template_id`)
) ENGINE=InnoDB COMMENT='Color Templates';
--
-- Dumping data for table `color_templates`
--
INSERT INTO `color_templates` VALUES (1,'Yellow: light -> dark, 4 colors');
INSERT INTO `color_templates` VALUES (2,'Red: light yellow > dark red, 8 colors');
INSERT INTO `color_templates` VALUES (3,'Red: light -> dark, 16 colors');
INSERT INTO `color_templates` VALUES (4,'Green: dark -> light, 16 colors');
--
-- Table structure for table `color_template_items`
--
CREATE TABLE `color_template_items` (
`color_template_item_id` int(12) unsigned NOT NULL AUTO_INCREMENT,
`color_template_id` mediumint(8) unsigned NOT NULL DEFAULT '0',
`color_id` mediumint(8) unsigned NOT NULL DEFAULT '0',
`sequence` mediumint(8) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`color_template_item_id`)
) ENGINE=InnoDB COMMENT='Color Items for Color Templates';
--
-- Dumping data for table `color_template_items`
--
INSERT INTO `color_template_items` VALUES (1,1,4,1);
INSERT INTO `color_template_items` VALUES (2,1,24,2);
INSERT INTO `color_template_items` VALUES (3,1,98,3);
INSERT INTO `color_template_items` VALUES (4,1,25,4);
INSERT INTO `color_template_items` VALUES (5,2,25,1);
INSERT INTO `color_template_items` VALUES (6,2,29,2);
INSERT INTO `color_template_items` VALUES (7,2,30,3);
INSERT INTO `color_template_items` VALUES (8,2,31,4);
INSERT INTO `color_template_items` VALUES (9,2,33,5);
INSERT INTO `color_template_items` VALUES (10,2,35,6);
INSERT INTO `color_template_items` VALUES (11,2,41,7);
INSERT INTO `color_template_items` VALUES (12,2,9,8);
INSERT INTO `color_template_items` VALUES (13,3,15,1);
INSERT INTO `color_template_items` VALUES (14,3,31,2);
INSERT INTO `color_template_items` VALUES (15,3,28,3);
INSERT INTO `color_template_items` VALUES (16,3,8,4);
INSERT INTO `color_template_items` VALUES (17,3,34,5);
INSERT INTO `color_template_items` VALUES (18,3,33,6);
INSERT INTO `color_template_items` VALUES (19,3,35,7);
INSERT INTO `color_template_items` VALUES (20,3,41,8);
INSERT INTO `color_template_items` VALUES (21,3,36,9);
INSERT INTO `color_template_items` VALUES (22,3,42,10);
INSERT INTO `color_template_items` VALUES (23,3,44,11);
INSERT INTO `color_template_items` VALUES (24,3,48,12);
INSERT INTO `color_template_items` VALUES (25,3,9,13);
INSERT INTO `color_template_items` VALUES (26,3,49,14);
INSERT INTO `color_template_items` VALUES (27,3,51,15);
INSERT INTO `color_template_items` VALUES (28,3,52,16);
INSERT INTO `color_template_items` VALUES (29,4,76,1);
INSERT INTO `color_template_items` VALUES (30,4,84,2);
INSERT INTO `color_template_items` VALUES (31,4,89,3);
INSERT INTO `color_template_items` VALUES (32,4,17,4);
INSERT INTO `color_template_items` VALUES (33,4,86,5);
INSERT INTO `color_template_items` VALUES (34,4,88,6);
INSERT INTO `color_template_items` VALUES (35,4,90,7);
INSERT INTO `color_template_items` VALUES (36,4,94,8);
INSERT INTO `color_template_items` VALUES (37,4,96,9);
INSERT INTO `color_template_items` VALUES (38,4,93,10);
INSERT INTO `color_template_items` VALUES (39,4,91,11);
INSERT INTO `color_template_items` VALUES (40,4,22,12);
INSERT INTO `color_template_items` VALUES (41,4,12,13);
INSERT INTO `color_template_items` VALUES (42,4,95,14);
INSERT INTO `color_template_items` VALUES (43,4,6,15);
INSERT INTO `color_template_items` VALUES (44,4,92,16);
--
-- Table structure for table `colors`
--
CREATE TABLE colors (
id mediumint(8) unsigned NOT NULL auto_increment,
name varchar(40) default '',
hex varchar(6) NOT NULL default '',
read_only char(2) default '',
PRIMARY KEY (id),
UNIQUE KEY hex (hex)
) ENGINE=InnoDB;
--
-- Dumping data for table `colors`
--
INSERT INTO colors VALUES (1,'Black','000000','on');
INSERT INTO colors VALUES (2,'White','FFFFFF','on');
INSERT INTO colors VALUES (4,'','FAFD9E','');
INSERT INTO colors VALUES (5,'','C0C0C0','');
INSERT INTO colors VALUES (6,'','74C366','');
INSERT INTO colors VALUES (7,'','6DC8FE','');
INSERT INTO colors VALUES (8,'','EA8F00','');
INSERT INTO colors VALUES (9,'Red','FF0000','on');
INSERT INTO colors VALUES (10,'','4444FF','');
INSERT INTO colors VALUES (11,'Magenta','FF00FF','on');
INSERT INTO colors VALUES (12,'Green','00FF00','on');
INSERT INTO colors VALUES (13,'','8D85F3','');
INSERT INTO colors VALUES (14,'','AD3B6E','');
INSERT INTO colors VALUES (15,'','EACC00','');
INSERT INTO colors VALUES (16,'','12B3B5','');
INSERT INTO colors VALUES (17,'','157419','');
INSERT INTO colors VALUES (18,'','C4FD3D','');
INSERT INTO colors VALUES (19,'','817C4E','');
INSERT INTO colors VALUES (20,'','002A97','');
INSERT INTO colors VALUES (21,'','0000FF','');
INSERT INTO colors VALUES (22,'','00CF00','');
INSERT INTO colors VALUES (24,'','F9FD5F','');
INSERT INTO colors VALUES (25,'','FFF200','');
INSERT INTO colors VALUES (26,'','CCBB00','');
INSERT INTO colors VALUES (27,'','837C04','');
INSERT INTO colors VALUES (28,'','EAAF00','');
INSERT INTO colors VALUES (29,'','FFD660','');
INSERT INTO colors VALUES (30,'','FFC73B','');
INSERT INTO colors VALUES (31,'','FFAB00','');
INSERT INTO colors VALUES (33,'','FF7D00','');
INSERT INTO colors VALUES (34,'','ED7600','');
INSERT INTO colors VALUES (35,'','FF5700','');
INSERT INTO colors VALUES (36,'','EE5019','');
INSERT INTO colors VALUES (37,'','B1441E','');
INSERT INTO colors VALUES (38,'','FFC3C0','');
INSERT INTO colors VALUES (39,'','FF897C','');
INSERT INTO colors VALUES (40,'','FF6044','');
INSERT INTO colors VALUES (41,'','FF4105','');
INSERT INTO colors VALUES (42,'','DA4725','');
INSERT INTO colors VALUES (43,'','942D0C','');
INSERT INTO colors VALUES (44,'','FF3932','');
INSERT INTO colors VALUES (45,'','862F2F','');
INSERT INTO colors VALUES (46,'','FF5576','');
INSERT INTO colors VALUES (47,'','562B29','');
INSERT INTO colors VALUES (48,'','F51D30','');
INSERT INTO colors VALUES (49,'','DE0056','');
INSERT INTO colors VALUES (50,'','ED5394','');
INSERT INTO colors VALUES (51,'','B90054','');
INSERT INTO colors VALUES (52,'','8F005C','');
INSERT INTO colors VALUES (53,'','F24AC8','');
INSERT INTO colors VALUES (54,'','E8CDEF','');
INSERT INTO colors VALUES (55,'','D8ACE0','');
INSERT INTO colors VALUES (56,'','A150AA','');
INSERT INTO colors VALUES (57,'','750F7D','');
INSERT INTO colors VALUES (58,'','8D00BA','');
INSERT INTO colors VALUES (59,'','623465','');
INSERT INTO colors VALUES (60,'','55009D','');
INSERT INTO colors VALUES (61,'','3D168B','');
INSERT INTO colors VALUES (62,'','311F4E','');
INSERT INTO colors VALUES (63,'','D2D8F9','');
INSERT INTO colors VALUES (64,'','9FA4EE','');
INSERT INTO colors VALUES (65,'','6557D0','');
INSERT INTO colors VALUES (66,'','4123A1','');
INSERT INTO colors VALUES (67,'','4668E4','');
INSERT INTO colors VALUES (68,'','0D006A','');
INSERT INTO colors VALUES (69,'','00004D','');
INSERT INTO colors VALUES (70,'','001D61','');
INSERT INTO colors VALUES (71,'','00234B','');
INSERT INTO colors VALUES (72,'','002A8F','');
INSERT INTO colors VALUES (73,'','2175D9','');
INSERT INTO colors VALUES (74,'','7CB3F1','');
INSERT INTO colors VALUES (75,'','005199','');
INSERT INTO colors VALUES (76,'','004359','');
INSERT INTO colors VALUES (77,'','00A0C1','');
INSERT INTO colors VALUES (78,'','007283','');
INSERT INTO colors VALUES (79,'','00BED9','');
INSERT INTO colors VALUES (80,'','AFECED','');
INSERT INTO colors VALUES (81,'','55D6D3','');
INSERT INTO colors VALUES (82,'','00BBB4','');
INSERT INTO colors VALUES (83,'','009485','');
INSERT INTO colors VALUES (84,'','005D57','');
INSERT INTO colors VALUES (85,'','008A77','');
INSERT INTO colors VALUES (86,'','008A6D','');
INSERT INTO colors VALUES (87,'','00B99B','');
INSERT INTO colors VALUES (88,'','009F67','');
INSERT INTO colors VALUES (89,'','00694A','');
INSERT INTO colors VALUES (90,'','00A348','');
INSERT INTO colors VALUES (91,'','00BF47','');
INSERT INTO colors VALUES (92,'','96E78A','');
INSERT INTO colors VALUES (93,'','00BD27','');
INSERT INTO colors VALUES (94,'','35962B','');
INSERT INTO colors VALUES (95,'','7EE600','');
INSERT INTO colors VALUES (96,'','6EA100','');
INSERT INTO colors VALUES (97,'','CAF100','');
INSERT INTO colors VALUES (98,'','F5F800','');
INSERT INTO colors VALUES (99,'','CDCFC4','');
INSERT INTO colors VALUES (100,'','BCBEB3','');
INSERT INTO colors VALUES (101,'','AAABA1','');
INSERT INTO colors VALUES (102,'','8F9286','');
INSERT INTO colors VALUES (103,'','797C6E','');
INSERT INTO colors VALUES (104,'','2E3127','');
INSERT INTO colors VALUES (105,'Night','0C090A','on');
INSERT INTO colors VALUES (106,'Gunmetal','2C3539','on');
INSERT INTO colors VALUES (107,'Midnight','2B1B17','on');
INSERT INTO colors VALUES (108,'Charcoal','34282C','on');
INSERT INTO colors VALUES (109,'Dark Slate Grey','25383C','on');
INSERT INTO colors VALUES (110,'Oil','3B3131','on');
INSERT INTO colors VALUES (111,'Black Cat','413839','on');
INSERT INTO colors VALUES (112,'Iridium','3D3C3A','on');
INSERT INTO colors VALUES (113,'Black Eel','463E3F','on');
INSERT INTO colors VALUES (114,'Black Cow','4C4646','on');
INSERT INTO colors VALUES (115,'Gray Wolf','504A4B','on');
INSERT INTO colors VALUES (116,'Vampire Gray','565051','on');
INSERT INTO colors VALUES (117,'Gray Dolphin','5C5858','on');
INSERT INTO colors VALUES (118,'Carbon Gray','625D5D','on');
INSERT INTO colors VALUES (119,'Ash Gray','666362','on');
INSERT INTO colors VALUES (120,'Cloudy Gray','6D6968','on');
INSERT INTO colors VALUES (121,'Smokey Gray','726E6D','on');
INSERT INTO colors VALUES (122,'Gray','736F6E','on');
INSERT INTO colors VALUES (123,'Granite','837E7C','on');
INSERT INTO colors VALUES (124,'Battleship Gray','848482','on');
INSERT INTO colors VALUES (125,'Gray Cloud','B6B6B4','on');
INSERT INTO colors VALUES (126,'Gray Goose','D1D0CE','on');
INSERT INTO colors VALUES (127,'Platinum','E5E4E2','on');
INSERT INTO colors VALUES (128,'Metallic Silver','BCC6CC','on');
INSERT INTO colors VALUES (129,'Blue Gray','98AFC7','on');
INSERT INTO colors VALUES (130,'Light Slate Gray','6D7B8D','on');
INSERT INTO colors VALUES (131,'Slate Gray','657383','on');
INSERT INTO colors VALUES (132,'Jet Gray','616D7E','on');
INSERT INTO colors VALUES (133,'Mist Blue','646D7E','on');
INSERT INTO colors VALUES (134,'Marble Blue','566D7E','on');
INSERT INTO colors VALUES (135,'Slate Blue','737CA1','on');
INSERT INTO colors VALUES (136,'Steel Blue','4863A0','on');
INSERT INTO colors VALUES (137,'Blue Jay','2B547E','on');
INSERT INTO colors VALUES (138,'Dark Slate Blue','2B3856','on');
INSERT INTO colors VALUES (139,'Midnight Blue','151B54','on');
INSERT INTO colors VALUES (140,'Navy Blue','000080','on');
INSERT INTO colors VALUES (141,'Blue Whale','342D7E','on');
INSERT INTO colors VALUES (142,'Lapis Blue','15317E','on');
INSERT INTO colors VALUES (143,'Cornflower Blue','151B8D','on');
INSERT INTO colors VALUES (144,'Earth Blue','0000A0','on');
INSERT INTO colors VALUES (145,'Cobalt Blue','0020C2','on');
INSERT INTO colors VALUES (146,'Blueberry Blue','0041C2','on');
INSERT INTO colors VALUES (147,'Sapphire Blue','2554C7','on');
INSERT INTO colors VALUES (148,'Blue Eyes','1569C7','on');
INSERT INTO colors VALUES (149,'Royal Blue','2B60DE','on');
INSERT INTO colors VALUES (150,'Blue Orchid','1F45FC','on');
INSERT INTO colors VALUES (151,'Blue Lotus','6960EC','on');
INSERT INTO colors VALUES (152,'Light Slate Blue','736AFF','on');
INSERT INTO colors VALUES (153,'Slate Blue','357EC7','on');
INSERT INTO colors VALUES (154,'Glacial Blue Ice','368BC1','on');
INSERT INTO colors VALUES (155,'Silk Blue','488AC7','on');
INSERT INTO colors VALUES (156,'Blue Ivy','3090C7','on');
INSERT INTO colors VALUES (157,'Blue Koi','659EC7','on');
INSERT INTO colors VALUES (158,'Columbia Blue','87AFC7','on');
INSERT INTO colors VALUES (159,'Baby Blue','95B9C7','on');
INSERT INTO colors VALUES (160,'Light Steel Blue','728FCE','on');
INSERT INTO colors VALUES (161,'Ocean Blue','2B65EC','on');
INSERT INTO colors VALUES (162,'Blue Ribbon','306EFF','on');
INSERT INTO colors VALUES (163,'Blue Dress','157DEC','on');
INSERT INTO colors VALUES (164,'Dodger Blue','1589FF','on');
INSERT INTO colors VALUES (165,'Cornflower Blue','6495ED','on');
INSERT INTO colors VALUES (166,'Sky Blue','6698FF','on');
INSERT INTO colors VALUES (167,'Butterfly Blue','38ACEC','on');
INSERT INTO colors VALUES (168,'Iceberg','56A5EC','on');
INSERT INTO colors VALUES (169,'Crystal Blue','5CB3FF','on');
INSERT INTO colors VALUES (170,'Deep Sky Blue','3BB9FF','on');
INSERT INTO colors VALUES (171,'Denim Blue','79BAEC','on');
INSERT INTO colors VALUES (172,'Light Sky Blue','82CAFA','on');
INSERT INTO colors VALUES (173,'Day Sky Blue','82CAFF','on');
INSERT INTO colors VALUES (174,'Jeans Blue','A0CFEC','on');
INSERT INTO colors VALUES (175,'Blue Angel','B7CEEC','on');
INSERT INTO colors VALUES (176,'Pastel Blue','B4CFEC','on');
INSERT INTO colors VALUES (177,'Sea Blue','C2DFFF','on');
INSERT INTO colors VALUES (178,'Powder Blue','C6DEFF','on');
INSERT INTO colors VALUES (179,'Coral Blue','AFDCEC','on');
INSERT INTO colors VALUES (180,'Light Blue','ADDFFF','on');
INSERT INTO colors VALUES (181,'Robin Egg Blue','BDEDFF','on');
INSERT INTO colors VALUES (182,'Pale Blue Lily','CFECEC','on');
INSERT INTO colors VALUES (183,'Light Cyan','E0FFFF','on');
INSERT INTO colors VALUES (184,'Water','EBF4FA','on');
INSERT INTO colors VALUES (185,'Alice Blue','F0F8FF','on');
INSERT INTO colors VALUES (186,'Azure','F0FFFF','on');
INSERT INTO colors VALUES (187,'Light Slate','CCFFFF','on');
INSERT INTO colors VALUES (188,'Light Aquamarine','93FFE8','on');
INSERT INTO colors VALUES (189,'Electric Blue','9AFEFF','on');
INSERT INTO colors VALUES (190,'Aquamarine','7FFFD4','on');
INSERT INTO colors VALUES (191,'Cyan or Aqua','00FFFF','on');
INSERT INTO colors VALUES (192,'Tron Blue','7DFDFE','on');
INSERT INTO colors VALUES (193,'Blue Zircon','57FEFF','on');
INSERT INTO colors VALUES (194,'Blue Lagoon','8EEBEC','on');
INSERT INTO colors VALUES (195,'Celeste','50EBEC','on');
INSERT INTO colors VALUES (196,'Blue Diamond','4EE2EC','on');
INSERT INTO colors VALUES (197,'Tiffany Blue','81D8D0','on');
INSERT INTO colors VALUES (198,'Cyan Opaque','92C7C7','on');
INSERT INTO colors VALUES (199,'Blue Hosta','77BFC7','on');
INSERT INTO colors VALUES (200,'Northern Lights Blue','78C7C7','on');
INSERT INTO colors VALUES (201,'Medium Turquoise','48CCCD','on');
INSERT INTO colors VALUES (202,'Turquoise','43C6DB','on');
INSERT INTO colors VALUES (203,'Jellyfish','46C7C7','on');
INSERT INTO colors VALUES (204,'Macaw Blue Green','43BFC7','on');
INSERT INTO colors VALUES (205,'Light Sea Green','3EA99F','on');
INSERT INTO colors VALUES (206,'Dark Turquoise','3B9C9C','on');
INSERT INTO colors VALUES (207,'Sea Turtle Green','438D80','on');
INSERT INTO colors VALUES (208,'Medium Aquamarine','348781','on');
INSERT INTO colors VALUES (209,'Greenish Blue','307D7E','on');
INSERT INTO colors VALUES (210,'Grayish Turquoise','5E7D7E','on');
INSERT INTO colors VALUES (211,'Beetle Green','4C787E','on');
INSERT INTO colors VALUES (212,'Teal','008080','on');
INSERT INTO colors VALUES (213,'Sea Green','4E8975','on');
INSERT INTO colors VALUES (214,'Camouflage Green','78866B','on');
INSERT INTO colors VALUES (215,'Sage Green','848b79','on');
INSERT INTO colors VALUES (216,'Hazel Green','617C58','on');
INSERT INTO colors VALUES (217,'Venom Green','728C00','on');
INSERT INTO colors VALUES (218,'Fern Green','667C26','on');
INSERT INTO colors VALUES (219,'Dark Forrest Green','254117','on');
INSERT INTO colors VALUES (220,'Medium Sea Green','306754','on');
INSERT INTO colors VALUES (221,'Medium Forest Green','347235','on');
INSERT INTO colors VALUES (222,'Seaweed Green','437C17','on');
INSERT INTO colors VALUES (223,'Pine Green','387C44','on');
INSERT INTO colors VALUES (224,'Jungle Green','347C2C','on');
INSERT INTO colors VALUES (225,'Shamrock Green','347C17','on');
INSERT INTO colors VALUES (226,'Medium Spring Green','348017','on');
INSERT INTO colors VALUES (227,'Forest Green','4E9258','on');
INSERT INTO colors VALUES (228,'Green Onion','6AA121','on');
INSERT INTO colors VALUES (229,'Spring Green','4AA02C','on');
INSERT INTO colors VALUES (230,'Lime Green','41A317','on');
INSERT INTO colors VALUES (231,'Clover Green','3EA055','on');
INSERT INTO colors VALUES (232,'Green Snake','6CBB3C','on');
INSERT INTO colors VALUES (233,'Alien Green','6CC417','on');
INSERT INTO colors VALUES (234,'Green Apple','4CC417','on');
INSERT INTO colors VALUES (235,'Yellow Green','52D017','on');
INSERT INTO colors VALUES (236,'Kelly Green','4CC552','on');
INSERT INTO colors VALUES (237,'Zombie Green','54C571','on');
INSERT INTO colors VALUES (238,'Frog Green','99C68E','on');
INSERT INTO colors VALUES (239,'Green Peas','89C35C','on');
INSERT INTO colors VALUES (240,'Dollar Bill Green','85BB65','on');
INSERT INTO colors VALUES (241,'Dark Sea Green','8BB381','on');
INSERT INTO colors VALUES (242,'Iguana Green','9CB071','on');
INSERT INTO colors VALUES (243,'Avocado Green','B2C248','on');
INSERT INTO colors VALUES (244,'Pistachio Green','9DC209','on');
INSERT INTO colors VALUES (245,'Salad Green','A1C935','on');
INSERT INTO colors VALUES (246,'Hummingbird Green','7FE817','on');
INSERT INTO colors VALUES (247,'Nebula Green','59E817','on');
INSERT INTO colors VALUES (248,'Stoplight Go Green','57E964','on');
INSERT INTO colors VALUES (249,'Algae Green','64E986','on');
INSERT INTO colors VALUES (250,'Jade Green','5EFB6E','on');
INSERT INTO colors VALUES (251,'Emerald Green','5FFB17','on');
INSERT INTO colors VALUES (252,'Lawn Green','87F717','on');
INSERT INTO colors VALUES (253,'Chartreuse','8AFB17','on');
INSERT INTO colors VALUES (254,'Dragon Green','6AFB92','on');
INSERT INTO colors VALUES (255,'Mint green','98FF98','on');
INSERT INTO colors VALUES (256,'Green Thumb','B5EAAA','on');
INSERT INTO colors VALUES (257,'Light Jade','C3FDB8','on');
INSERT INTO colors VALUES (258,'Tea Green','CCFB5D','on');
INSERT INTO colors VALUES (259,'Green Yellow','B1FB17','on');
INSERT INTO colors VALUES (260,'Slime Green','BCE954','on');
INSERT INTO colors VALUES (261,'Goldenrod','EDDA74','on');
INSERT INTO colors VALUES (262,'Harvest Gold','EDE275','on');
INSERT INTO colors VALUES (263,'Sun Yellow','FFE87C','on');
INSERT INTO colors VALUES (264,'Yellow','FFFF00','on');
INSERT INTO colors VALUES (265,'Corn Yellow','FFF380','on');
INSERT INTO colors VALUES (266,'Parchment','FFFFC2','on');
INSERT INTO colors VALUES (267,'Cream','FFFFCC','on');
INSERT INTO colors VALUES (268,'Lemon Chiffon','FFF8C6','on');
INSERT INTO colors VALUES (269,'Cornsilk','FFF8DC','on');
INSERT INTO colors VALUES (270,'Beige','F5F5DC','on');
INSERT INTO colors VALUES (271,'Blonde','FBF6D9','on');
INSERT INTO colors VALUES (272,'Antique White','FAEBD7','on');
INSERT INTO colors VALUES (273,'Champagne','F7E7CE','on');
INSERT INTO colors VALUES (274,'Blanched Almond','FFEBCD','on');
INSERT INTO colors VALUES (275,'Vanilla','F3E5AB','on');
INSERT INTO colors VALUES (276,'Tan Brown','ECE5B6','on');
INSERT INTO colors VALUES (277,'Peach','FFE5B4','on');
INSERT INTO colors VALUES (278,'Mustard','FFDB58','on');
INSERT INTO colors VALUES (279,'Rubber Ducky Yellow','FFD801','on');
INSERT INTO colors VALUES (280,'Bright Gold','FDD017','on');
INSERT INTO colors VALUES (281,'Golden Brown','EAC117','on');
INSERT INTO colors VALUES (282,'Macaroni and Cheese','F2BB66','on');
INSERT INTO colors VALUES (283,'Saffron','FBB917','on');
INSERT INTO colors VALUES (284,'Beer','FBB117','on');
INSERT INTO colors VALUES (285,'Cantaloupe','FFA62F','on');
INSERT INTO colors VALUES (286,'Bee Yellow','E9AB17','on');
INSERT INTO colors VALUES (287,'Brown Sugar','E2A76F','on');
INSERT INTO colors VALUES (288,'BurlyWood','DEB887','on');
INSERT INTO colors VALUES (289,'Deep Peach','FFCBA4','on');
INSERT INTO colors VALUES (290,'Ginger Brown','C9BE62','on');
INSERT INTO colors VALUES (291,'School Bus Yellow','E8A317','on');
INSERT INTO colors VALUES (292,'Sandy Brown','EE9A4D','on');
INSERT INTO colors VALUES (293,'Fall Leaf Brown','C8B560','on');
INSERT INTO colors VALUES (294,'Orange Gold','D4A017','on');
INSERT INTO colors VALUES (295,'Sand','C2B280','on');
INSERT INTO colors VALUES (296,'Cookie Brown','C7A317','on');
INSERT INTO colors VALUES (297,'Caramel','C68E17','on');
INSERT INTO colors VALUES (298,'Brass','B5A642','on');
INSERT INTO colors VALUES (299,'Khaki','ADA96E','on');
INSERT INTO colors VALUES (300,'Camel Brown','C19A6B','on');
INSERT INTO colors VALUES (301,'Bronze','CD7F32','on');
INSERT INTO colors VALUES (302,'Tiger Orange','C88141','on');
INSERT INTO colors VALUES (303,'Cinnamon','C58917','on');
INSERT INTO colors VALUES (304,'Bullet Shell','AF9B60','on');
INSERT INTO colors VALUES (305,'Dark Goldenrod','AF7817','on');
INSERT INTO colors VALUES (306,'Copper','B87333','on');
INSERT INTO colors VALUES (307,'Wood','966F33','on');
INSERT INTO colors VALUES (308,'Oak Brown','806517','on');
INSERT INTO colors VALUES (309,'Moccasin','827839','on');
INSERT INTO colors VALUES (310,'Army Brown','827B60','on');
INSERT INTO colors VALUES (311,'Sandstone','786D5F','on');
INSERT INTO colors VALUES (312,'Mocha','493D26','on');
INSERT INTO colors VALUES (313,'Taupe','483C32','on');
INSERT INTO colors VALUES (314,'Coffee','6F4E37','on');
INSERT INTO colors VALUES (315,'Brown Bear','835C3B','on');
INSERT INTO colors VALUES (316,'Red Dirt','7F5217','on');
INSERT INTO colors VALUES (317,'Sepia','7F462C','on');
INSERT INTO colors VALUES (318,'Orange Salmon','C47451','on');
INSERT INTO colors VALUES (319,'Rust','C36241','on');
INSERT INTO colors VALUES (320,'Red Fox','C35817','on');
INSERT INTO colors VALUES (321,'Chocolate','C85A17','on');
INSERT INTO colors VALUES (322,'Sedona','CC6600','on');
INSERT INTO colors VALUES (323,'Papaya Orange','E56717','on');
INSERT INTO colors VALUES (324,'Halloween Orange','E66C2C','on');
INSERT INTO colors VALUES (325,'Pumpkin Orange','F87217','on');
INSERT INTO colors VALUES (326,'Construction Cone Orange','F87431','on');
INSERT INTO colors VALUES (327,'Sunrise Orange','E67451','on');
INSERT INTO colors VALUES (328,'Mango Orange','FF8040','on');
INSERT INTO colors VALUES (329,'Dark Orange','F88017','on');
INSERT INTO colors VALUES (330,'Coral','FF7F50','on');