forked from Cacti/cacti
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cacti.sql
3265 lines (2929 loc) · 132 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
/*
+-------------------------------------------------------------------------+
| Copyright (C) 2004-2024 The Cacti Group |
| |
| This program is free software; you can redistribute it and/or |
| modify it under the terms of the GNU General Public License |
| as published by the Free Software Foundation; either version 2 |
| of the License, or (at your option) any later version. |
| |
| This program is distributed in the hope that it will be useful, |
| but WITHOUT ANY WARRANTY; without even the implied warranty of |
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| GNU General Public License for more details. |
+-------------------------------------------------------------------------+
| Cacti: The Complete RRDTool-based Graphing Solution |
+-------------------------------------------------------------------------+
| This code is designed, written, and maintained by the Cacti Group. See |
| about.php and/or the AUTHORS file for specific developer information. |
+-------------------------------------------------------------------------+
| http://www.cacti.net/ |
+-------------------------------------------------------------------------+
*/
--
-- Allow MySQL to handle Cacti's legacy syntax
--
DELIMITER //
SET @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,
`graphs` int(10) unsigned NOT NULL default '0',
PRIMARY KEY (`id`),
KEY `graph_template_id` (`graph_template_id`),
KEY `user_id` (`user_id`)
) ENGINE=InnoDB ROW_FORMAT=Dynamic 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(3) unsigned 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(3) unsigned 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_format char(2) default '',
left_axis_format mediumint(8) 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 ROW_FORMAT=Dynamic 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(10) unsigned NOT NULL,
`t_graph_type_id` char(2) default '',
`graph_type_id` tinyint(3) unsigned 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 ROW_FORMAT=Dynamic 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 ROW_FORMAT=Dynamic 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(10) unsigned NOT NULL,
`t_graph_type_id` char(2) default '',
`graph_type_id` tinyint(3) unsigned 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 ROW_FORMAT=Dynamic 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 ROW_FORMAT=Dynamic 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',
`host_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(3) unsigned NOT NULL default '1',
`snmp_port` mediumint(8) 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` bigint(20) unsigned NOT NULL default '0',
`os` varchar(64) NOT NULL default '',
`snmp` tinyint(3) unsigned NOT NULL default '0',
`known` tinyint(3) unsigned NOT NULL default '0',
`up` tinyint(3) unsigned NOT NULL default '0',
`time` int(10) unsigned NOT NULL default '0',
PRIMARY KEY (`id`),
UNIQUE KEY `ip` (`ip`),
KEY `hostname` (`hostname`)
) ENGINE=InnoDB ROW_FORMAT=Dynamic 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,
`hash` varchar(32) NOT NULL default '',
`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 ROW_FORMAT=Dynamic COMMENT='Automation Graph Rule Items';
--
-- Dumping data for table `automation_graph_rule_items`
--
--
-- Table structure for table `automation_graph_rules`
--
CREATE TABLE `automation_graph_rules` (
`id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
`hash` varchar(32) NOT NULL default '',
`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 ROW_FORMAT=Dynamic COMMENT='Automation Graph Rules';
--
-- Dumping data for table `automation_graph_rules`
--
--
-- 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,
`hash` varchar(32) NOT NULL default '',
`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 ROW_FORMAT=Dynamic COMMENT='Automation Match Rule Items';
--
-- Dumping data for table `automation_match_rule_items`
--
--
-- Table structure for table `automation_networks`
--
CREATE TABLE `automation_networks` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`hash` varchar(32) NOT NULL default '',
`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',
`ignore_ips` varchar(1024) NOT NULL default '' COMMENT 'IP addresses to skip during 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 ROW_FORMAT=Dynamic 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(10) 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,
`hash` varchar(32) NOT NULL default '',
`name` varchar(100) NOT NULL default '',
PRIMARY KEY (`id`)
) ENGINE=InnoDB ROW_FORMAT=Dynamic 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,
`hash` varchar(32) NOT NULL default '',
`snmp_id` int(10) unsigned NOT NULL default '0',
`sequence` int(10) unsigned NOT NULL default '0',
`snmp_version` tinyint(3) unsigned NOT NULL default '1',
`snmp_community` varchar(100) NOT NULL,
`snmp_port` mediumint(8) unsigned NOT NULL default '161',
`snmp_timeout` int(10) unsigned NOT NULL default '500',
`snmp_retries` tinyint(3) unsigned NOT NULL default '3',
`max_oids` int(10) unsigned default '10',
`bulk_walk_size` int(11) default '-1',
`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 ROW_FORMAT=Dynamic 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,-1,'admin','baseball','MD5','','DES','',''),(2,'',1,2,'2','private',161,1000,3,10,-1,'admin','baseball','MD5','','DES','','');
--
-- Table structure for table `automation_templates`
--
CREATE TABLE `automation_templates` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`hash` varchar(32) NOT NULL default '',
`host_template` int(10) unsigned NOT NULL default '0',
`availability_method` int(10) unsigned default '2',
`sysDescr` varchar(255) default '',
`sysName` varchar(255) default '',
`sysOid` varchar(60) default '',
`description_pattern` varchar(128) default '',
`populate_location` char(2) default '',
`sequence` int(10) unsigned default '0',
PRIMARY KEY (`id`)
) ENGINE=InnoDB ROW_FORMAT=Dynamic COMMENT='Templates of SNMP Sys variables used for automation';
--
-- Dumping data for table `automation_templates`
--
--
-- Table structure for table `automation_templates_rules`
--
CREATE TABLE `automation_templates_rules` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`hash` varchar(32) NOT NULL default '',
`template_id` int(10) unsigned NOT NULL default 0,
`rule_type` tinyint(3) unsigned NOT NULL default 0,
`rule_id` int(10) unsigned NOT NULL default 0,
`sequence` tinyint(3) unsigned NOT NULL default 1,
`exit_rules` char(2) NOT NULL default '',
PRIMARY KEY (`id`),
UNIQUE KEY `unique_key` (`template_id`,`rule_type`,`rule_id`)
) ENGINE=InnoDB ROW_FORMAT=Dynamic COMMENT='Holds mappings of Automation Templates to Rules';
--
-- Dumping data for table `automation_templates_rules`
--
--
-- Table structure for table `automation_tree_rule_items`
--
CREATE TABLE `automation_tree_rule_items` (
`id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
`hash` varchar(32) NOT NULL default '',
`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 ROW_FORMAT=Dynamic COMMENT='Automation Tree Rule Items';
--
-- Dumping data for table `automation_tree_rule_items`
--
--
-- Table structure for table `automation_tree_rules`
--
CREATE TABLE `automation_tree_rules` (
`id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
`hash` varchar(32) NOT NULL default '',
`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 ROW_FORMAT=Dynamic COMMENT='Automation Tree Rules';
--
-- Dumping data for table `automation_tree_rules`
--
--
-- 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 '',
`graphs` int(10) unsigned NOT NULL default '0',
`templates` int(10) unsigned NOT NULL default '0',
PRIMARY KEY (id),
KEY `hash` (`hash`),
KEY `name` (`name`(171))
) ENGINE=InnoDB ROW_FORMAT=Dynamic;
--
-- Dumping data for table `cdef`
--
INSERT INTO cdef VALUES (3,'3d352eed9fa8f7b2791205b3273708c7',0,'Make Stack Negative',0,0);
INSERT INTO cdef VALUES (4,'e961cc8ec04fda6ed4981cf5ad501aa5',0,'Make Per 5 Minutes',0,0);
INSERT INTO cdef VALUES (12,'f1ac79f05f255c02f914c920f1038c54',0,'Total All Data Sources',0,0);
INSERT INTO cdef VALUES (2,'73f95f8b77b5508157d64047342c421e',0,'Turn Bytes into Bits',0,0);
INSERT INTO cdef VALUES (14,'634a23af5e78af0964e8d33b1a4ed26b',0,'Multiply by 1024',0,0);
INSERT INTO cdef VALUES (15,'068984b5ccdfd2048869efae5166f722',0,'Total All Data Sources, Multiply by 1024',0,0);
--
-- 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(3) unsigned NOT NULL default '0',
value varchar(150) NOT NULL default '',
PRIMARY KEY (id),
KEY cdef_id_sequence (`cdef_id`,`sequence`)
) ENGINE=InnoDB ROW_FORMAT=Dynamic;
--
-- 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 '',
`graphs` int(10) unsigned NOT NULL default '0',
`templates` int(10) unsigned NOT NULL default '0',
PRIMARY KEY (`color_template_id`)
) ENGINE=InnoDB ROW_FORMAT=Dynamic COMMENT='Color Templates';
--
-- Dumping data for table `color_templates`
--
INSERT INTO `color_templates` VALUES (1,'Yellow: light -> dark, 4 colors', 0, 0);
INSERT INTO `color_templates` VALUES (2,'Red: light yellow > dark red, 8 colors', 0, 0);
INSERT INTO `color_templates` VALUES (3,'Red: light -> dark, 16 colors', 0, 0);
INSERT INTO `color_templates` VALUES (4,'Green: dark -> light, 16 colors', 0, 0);
--
-- Table structure for table `color_template_items`
--
CREATE TABLE `color_template_items` (
`color_template_item_id` int(10) 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 ROW_FORMAT=Dynamic 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 '',
`graphs` int(10) unsigned NOT NULL default '0',
`templates` int(10) unsigned NOT NULL default '0',
PRIMARY KEY (id),
UNIQUE KEY hex (hex)
) ENGINE=InnoDB ROW_FORMAT=Dynamic;
--
-- Dumping data for table `colors`
--
INSERT INTO colors VALUES (1,'Black','000000','on', 0, 0);
INSERT INTO colors VALUES (2,'White','FFFFFF','on', 0, 0);
INSERT INTO colors VALUES (4,'','FAFD9E','', 0, 0);
INSERT INTO colors VALUES (5,'','C0C0C0','', 0, 0);
INSERT INTO colors VALUES (6,'','74C366','', 0, 0);
INSERT INTO colors VALUES (7,'','6DC8FE','', 0, 0);
INSERT INTO colors VALUES (8,'','EA8F00','', 0, 0);
INSERT INTO colors VALUES (9,'Red','FF0000','on', 0, 0);
INSERT INTO colors VALUES (10,'','4444FF','', 0, 0);
INSERT INTO colors VALUES (11,'Magenta','FF00FF','on', 0, 0);
INSERT INTO colors VALUES (12,'Green','00FF00','on', 0, 0);
INSERT INTO colors VALUES (13,'','8D85F3','', 0, 0);
INSERT INTO colors VALUES (14,'','AD3B6E','', 0, 0);
INSERT INTO colors VALUES (15,'','EACC00','', 0, 0);
INSERT INTO colors VALUES (16,'','12B3B5','', 0, 0);
INSERT INTO colors VALUES (17,'','157419','', 0, 0);
INSERT INTO colors VALUES (18,'','C4FD3D','', 0, 0);
INSERT INTO colors VALUES (19,'','817C4E','', 0, 0);
INSERT INTO colors VALUES (20,'','002A97','', 0, 0);
INSERT INTO colors VALUES (21,'','0000FF','', 0, 0);
INSERT INTO colors VALUES (22,'','00CF00','', 0, 0);
INSERT INTO colors VALUES (24,'','F9FD5F','', 0, 0);
INSERT INTO colors VALUES (25,'','FFF200','', 0, 0);
INSERT INTO colors VALUES (26,'','CCBB00','', 0, 0);
INSERT INTO colors VALUES (27,'','837C04','', 0, 0);
INSERT INTO colors VALUES (28,'','EAAF00','', 0, 0);
INSERT INTO colors VALUES (29,'','FFD660','', 0, 0);
INSERT INTO colors VALUES (30,'','FFC73B','', 0, 0);
INSERT INTO colors VALUES (31,'','FFAB00','', 0, 0);
INSERT INTO colors VALUES (33,'','FF7D00','', 0, 0);
INSERT INTO colors VALUES (34,'','ED7600','', 0, 0);
INSERT INTO colors VALUES (35,'','FF5700','', 0, 0);
INSERT INTO colors VALUES (36,'','EE5019','', 0, 0);
INSERT INTO colors VALUES (37,'','B1441E','', 0, 0);
INSERT INTO colors VALUES (38,'','FFC3C0','', 0, 0);
INSERT INTO colors VALUES (39,'','FF897C','', 0, 0);
INSERT INTO colors VALUES (40,'','FF6044','', 0, 0);
INSERT INTO colors VALUES (41,'','FF4105','', 0, 0);
INSERT INTO colors VALUES (42,'','DA4725','', 0, 0);
INSERT INTO colors VALUES (43,'','942D0C','', 0, 0);
INSERT INTO colors VALUES (44,'','FF3932','', 0, 0);
INSERT INTO colors VALUES (45,'','862F2F','', 0, 0);
INSERT INTO colors VALUES (46,'','FF5576','', 0, 0);
INSERT INTO colors VALUES (47,'','562B29','', 0, 0);
INSERT INTO colors VALUES (48,'','F51D30','', 0, 0);
INSERT INTO colors VALUES (49,'','DE0056','', 0, 0);
INSERT INTO colors VALUES (50,'','ED5394','', 0, 0);
INSERT INTO colors VALUES (51,'','B90054','', 0, 0);
INSERT INTO colors VALUES (52,'','8F005C','', 0, 0);
INSERT INTO colors VALUES (53,'','F24AC8','', 0, 0);
INSERT INTO colors VALUES (54,'','E8CDEF','', 0, 0);
INSERT INTO colors VALUES (55,'','D8ACE0','', 0, 0);
INSERT INTO colors VALUES (56,'','A150AA','', 0, 0);
INSERT INTO colors VALUES (57,'','750F7D','', 0, 0);
INSERT INTO colors VALUES (58,'','8D00BA','', 0, 0);
INSERT INTO colors VALUES (59,'','623465','', 0, 0);
INSERT INTO colors VALUES (60,'','55009D','', 0, 0);
INSERT INTO colors VALUES (61,'','3D168B','', 0, 0);
INSERT INTO colors VALUES (62,'','311F4E','', 0, 0);
INSERT INTO colors VALUES (63,'','D2D8F9','', 0, 0);
INSERT INTO colors VALUES (64,'','9FA4EE','', 0, 0);
INSERT INTO colors VALUES (65,'','6557D0','', 0, 0);
INSERT INTO colors VALUES (66,'','4123A1','', 0, 0);
INSERT INTO colors VALUES (67,'','4668E4','', 0, 0);
INSERT INTO colors VALUES (68,'','0D006A','', 0, 0);
INSERT INTO colors VALUES (69,'','00004D','', 0, 0);
INSERT INTO colors VALUES (70,'','001D61','', 0, 0);
INSERT INTO colors VALUES (71,'','00234B','', 0, 0);
INSERT INTO colors VALUES (72,'','002A8F','', 0, 0);
INSERT INTO colors VALUES (73,'','2175D9','', 0, 0);
INSERT INTO colors VALUES (74,'','7CB3F1','', 0, 0);
INSERT INTO colors VALUES (75,'','005199','', 0, 0);
INSERT INTO colors VALUES (76,'','004359','', 0, 0);
INSERT INTO colors VALUES (77,'','00A0C1','', 0, 0);
INSERT INTO colors VALUES (78,'','007283','', 0, 0);
INSERT INTO colors VALUES (79,'','00BED9','', 0, 0);
INSERT INTO colors VALUES (80,'','AFECED','', 0, 0);
INSERT INTO colors VALUES (81,'','55D6D3','', 0, 0);
INSERT INTO colors VALUES (82,'','00BBB4','', 0, 0);
INSERT INTO colors VALUES (83,'','009485','', 0, 0);
INSERT INTO colors VALUES (84,'','005D57','', 0, 0);
INSERT INTO colors VALUES (85,'','008A77','', 0, 0);
INSERT INTO colors VALUES (86,'','008A6D','', 0, 0);
INSERT INTO colors VALUES (87,'','00B99B','', 0, 0);
INSERT INTO colors VALUES (88,'','009F67','', 0, 0);
INSERT INTO colors VALUES (89,'','00694A','', 0, 0);
INSERT INTO colors VALUES (90,'','00A348','', 0, 0);
INSERT INTO colors VALUES (91,'','00BF47','', 0, 0);
INSERT INTO colors VALUES (92,'','96E78A','', 0, 0);
INSERT INTO colors VALUES (93,'','00BD27','', 0, 0);
INSERT INTO colors VALUES (94,'','35962B','', 0, 0);
INSERT INTO colors VALUES (95,'','7EE600','', 0, 0);
INSERT INTO colors VALUES (96,'','6EA100','', 0, 0);
INSERT INTO colors VALUES (97,'','CAF100','', 0, 0);
INSERT INTO colors VALUES (98,'','F5F800','', 0, 0);
INSERT INTO colors VALUES (99,'','CDCFC4','', 0, 0);
INSERT INTO colors VALUES (100,'','BCBEB3','', 0, 0);
INSERT INTO colors VALUES (101,'','AAABA1','', 0, 0);
INSERT INTO colors VALUES (102,'','8F9286','', 0, 0);
INSERT INTO colors VALUES (103,'','797C6E','', 0, 0);
INSERT INTO colors VALUES (104,'','2E3127','', 0, 0);
INSERT INTO colors VALUES (105,'Night','0C090A','on', 0, 0);
INSERT INTO colors VALUES (106,'Gunmetal','2C3539','on', 0, 0);
INSERT INTO colors VALUES (107,'Midnight','2B1B17','on', 0, 0);
INSERT INTO colors VALUES (108,'Charcoal','34282C','on', 0, 0);
INSERT INTO colors VALUES (109,'Dark Slate Grey','25383C','on', 0, 0);
INSERT INTO colors VALUES (110,'Oil','3B3131','on', 0, 0);
INSERT INTO colors VALUES (111,'Black Cat','413839','on', 0, 0);
INSERT INTO colors VALUES (112,'Iridium','3D3C3A','on', 0, 0);
INSERT INTO colors VALUES (113,'Black Eel','463E3F','on', 0, 0);
INSERT INTO colors VALUES (114,'Black Cow','4C4646','on', 0, 0);
INSERT INTO colors VALUES (115,'Gray Wolf','504A4B','on', 0, 0);
INSERT INTO colors VALUES (116,'Vampire Gray','565051','on', 0, 0);
INSERT INTO colors VALUES (117,'Gray Dolphin','5C5858','on', 0, 0);
INSERT INTO colors VALUES (118,'Carbon Gray','625D5D','on', 0, 0);
INSERT INTO colors VALUES (119,'Ash Gray','666362','on', 0, 0);
INSERT INTO colors VALUES (120,'Cloudy Gray','6D6968','on', 0, 0);
INSERT INTO colors VALUES (121,'Smokey Gray','726E6D','on', 0, 0);
INSERT INTO colors VALUES (122,'Gray','736F6E','on', 0, 0);
INSERT INTO colors VALUES (123,'Granite','837E7C','on', 0, 0);
INSERT INTO colors VALUES (124,'Battleship Gray','848482','on', 0, 0);
INSERT INTO colors VALUES (125,'Gray Cloud','B6B6B4','on', 0, 0);
INSERT INTO colors VALUES (126,'Gray Goose','D1D0CE','on', 0, 0);
INSERT INTO colors VALUES (127,'Platinum','E5E4E2','on', 0, 0);
INSERT INTO colors VALUES (128,'Metallic Silver','BCC6CC','on', 0, 0);
INSERT INTO colors VALUES (129,'Blue Gray','98AFC7','on', 0, 0);
INSERT INTO colors VALUES (130,'Light Slate Gray','6D7B8D','on', 0, 0);
INSERT INTO colors VALUES (131,'Slate Gray','657383','on', 0, 0);
INSERT INTO colors VALUES (132,'Jet Gray','616D7E','on', 0, 0);
INSERT INTO colors VALUES (133,'Mist Blue','646D7E','on', 0, 0);
INSERT INTO colors VALUES (134,'Marble Blue','566D7E','on', 0, 0);
INSERT INTO colors VALUES (135,'Slate Blue','737CA1','on', 0, 0);
INSERT INTO colors VALUES (136,'Steel Blue','4863A0','on', 0, 0);
INSERT INTO colors VALUES (137,'Blue Jay','2B547E','on', 0, 0);
INSERT INTO colors VALUES (138,'Dark Slate Blue','2B3856','on', 0, 0);
INSERT INTO colors VALUES (139,'Midnight Blue','151B54','on', 0, 0);
INSERT INTO colors VALUES (140,'Navy Blue','000080','on', 0, 0);
INSERT INTO colors VALUES (141,'Blue Whale','342D7E','on', 0, 0);
INSERT INTO colors VALUES (142,'Lapis Blue','15317E','on', 0, 0);
INSERT INTO colors VALUES (143,'Cornflower Blue','151B8D','on', 0, 0);
INSERT INTO colors VALUES (144,'Earth Blue','0000A0','on', 0, 0);
INSERT INTO colors VALUES (145,'Cobalt Blue','0020C2','on', 0, 0);
INSERT INTO colors VALUES (146,'Blueberry Blue','0041C2','on', 0, 0);
INSERT INTO colors VALUES (147,'Sapphire Blue','2554C7','on', 0, 0);
INSERT INTO colors VALUES (148,'Blue Eyes','1569C7','on', 0, 0);
INSERT INTO colors VALUES (149,'Royal Blue','2B60DE','on', 0, 0);
INSERT INTO colors VALUES (150,'Blue Orchid','1F45FC','on', 0, 0);
INSERT INTO colors VALUES (151,'Blue Lotus','6960EC','on', 0, 0);
INSERT INTO colors VALUES (152,'Light Slate Blue','736AFF','on', 0, 0);
INSERT INTO colors VALUES (153,'Slate Blue','357EC7','on', 0, 0);
INSERT INTO colors VALUES (154,'Glacial Blue Ice','368BC1','on', 0, 0);
INSERT INTO colors VALUES (155,'Silk Blue','488AC7','on', 0, 0);
INSERT INTO colors VALUES (156,'Blue Ivy','3090C7','on', 0, 0);
INSERT INTO colors VALUES (157,'Blue Koi','659EC7','on', 0, 0);
INSERT INTO colors VALUES (158,'Columbia Blue','87AFC7','on', 0, 0);
INSERT INTO colors VALUES (159,'Baby Blue','95B9C7','on', 0, 0);
INSERT INTO colors VALUES (160,'Light Steel Blue','728FCE','on', 0, 0);
INSERT INTO colors VALUES (161,'Ocean Blue','2B65EC','on', 0, 0);
INSERT INTO colors VALUES (162,'Blue Ribbon','306EFF','on', 0, 0);
INSERT INTO colors VALUES (163,'Blue Dress','157DEC','on', 0, 0);
INSERT INTO colors VALUES (164,'Dodger Blue','1589FF','on', 0, 0);
INSERT INTO colors VALUES (165,'Cornflower Blue','6495ED','on', 0, 0);
INSERT INTO colors VALUES (166,'Sky Blue','6698FF','on', 0, 0);
INSERT INTO colors VALUES (167,'Butterfly Blue','38ACEC','on', 0, 0);
INSERT INTO colors VALUES (168,'Iceberg','56A5EC','on', 0, 0);
INSERT INTO colors VALUES (169,'Crystal Blue','5CB3FF','on', 0, 0);
INSERT INTO colors VALUES (170,'Deep Sky Blue','3BB9FF','on', 0, 0);
INSERT INTO colors VALUES (171,'Denim Blue','79BAEC','on', 0, 0);
INSERT INTO colors VALUES (172,'Light Sky Blue','82CAFA','on', 0, 0);
INSERT INTO colors VALUES (173,'Day Sky Blue','82CAFF','on', 0, 0);
INSERT INTO colors VALUES (174,'Jeans Blue','A0CFEC','on', 0, 0);
INSERT INTO colors VALUES (175,'Blue Angel','B7CEEC','on', 0, 0);
INSERT INTO colors VALUES (176,'Pastel Blue','B4CFEC','on', 0, 0);
INSERT INTO colors VALUES (177,'Sea Blue','C2DFFF','on', 0, 0);
INSERT INTO colors VALUES (178,'Powder Blue','C6DEFF','on', 0, 0);
INSERT INTO colors VALUES (179,'Coral Blue','AFDCEC','on', 0, 0);
INSERT INTO colors VALUES (180,'Light Blue','ADDFFF','on', 0, 0);
INSERT INTO colors VALUES (181,'Robin Egg Blue','BDEDFF','on', 0, 0);
INSERT INTO colors VALUES (182,'Pale Blue Lily','CFECEC','on', 0, 0);
INSERT INTO colors VALUES (183,'Light Cyan','E0FFFF','on', 0, 0);
INSERT INTO colors VALUES (184,'Water','EBF4FA','on', 0, 0);
INSERT INTO colors VALUES (185,'Alice Blue','F0F8FF','on', 0, 0);
INSERT INTO colors VALUES (186,'Azure','F0FFFF','on', 0, 0);
INSERT INTO colors VALUES (187,'Light Slate','CCFFFF','on', 0, 0);
INSERT INTO colors VALUES (188,'Light Aquamarine','93FFE8','on', 0, 0);
INSERT INTO colors VALUES (189,'Electric Blue','9AFEFF','on', 0, 0);
INSERT INTO colors VALUES (190,'Aquamarine','7FFFD4','on', 0, 0);
INSERT INTO colors VALUES (191,'Cyan or Aqua','00FFFF','on', 0, 0);
INSERT INTO colors VALUES (192,'Tron Blue','7DFDFE','on', 0, 0);
INSERT INTO colors VALUES (193,'Blue Zircon','57FEFF','on', 0, 0);
INSERT INTO colors VALUES (194,'Blue Lagoon','8EEBEC','on', 0, 0);
INSERT INTO colors VALUES (195,'Celeste','50EBEC','on', 0, 0);
INSERT INTO colors VALUES (196,'Blue Diamond','4EE2EC','on', 0, 0);
INSERT INTO colors VALUES (197,'Tiffany Blue','81D8D0','on', 0, 0);
INSERT INTO colors VALUES (198,'Cyan Opaque','92C7C7','on', 0, 0);
INSERT INTO colors VALUES (199,'Blue Hosta','77BFC7','on', 0, 0);
INSERT INTO colors VALUES (200,'Northern Lights Blue','78C7C7','on', 0, 0);
INSERT INTO colors VALUES (201,'Medium Turquoise','48CCCD','on', 0, 0);
INSERT INTO colors VALUES (202,'Turquoise','43C6DB','on', 0, 0);
INSERT INTO colors VALUES (203,'Jellyfish','46C7C7','on', 0, 0);
INSERT INTO colors VALUES (204,'Macaw Blue Green','43BFC7','on', 0, 0);
INSERT INTO colors VALUES (205,'Light Sea Green','3EA99F','on', 0, 0);
INSERT INTO colors VALUES (206,'Dark Turquoise','3B9C9C','on', 0, 0);
INSERT INTO colors VALUES (207,'Sea Turtle Green','438D80','on', 0, 0);
INSERT INTO colors VALUES (208,'Medium Aquamarine','348781','on', 0, 0);
INSERT INTO colors VALUES (209,'Greenish Blue','307D7E','on', 0, 0);
INSERT INTO colors VALUES (210,'Grayish Turquoise','5E7D7E','on', 0, 0);
INSERT INTO colors VALUES (211,'Beetle Green','4C787E','on', 0, 0);
INSERT INTO colors VALUES (212,'Teal','008080','on', 0, 0);
INSERT INTO colors VALUES (213,'Sea Green','4E8975','on', 0, 0);
INSERT INTO colors VALUES (214,'Camouflage Green','78866B','on', 0, 0);
INSERT INTO colors VALUES (215,'Sage Green','848b79','on', 0, 0);
INSERT INTO colors VALUES (216,'Hazel Green','617C58','on', 0, 0);
INSERT INTO colors VALUES (217,'Venom Green','728C00','on', 0, 0);
INSERT INTO colors VALUES (218,'Fern Green','667C26','on', 0, 0);
INSERT INTO colors VALUES (219,'Dark Forrest Green','254117','on', 0, 0);
INSERT INTO colors VALUES (220,'Medium Sea Green','306754','on', 0, 0);
INSERT INTO colors VALUES (221,'Medium Forest Green','347235','on', 0, 0);
INSERT INTO colors VALUES (222,'Seaweed Green','437C17','on', 0, 0);
INSERT INTO colors VALUES (223,'Pine Green','387C44','on', 0, 0);
INSERT INTO colors VALUES (224,'Jungle Green','347C2C','on', 0, 0);
INSERT INTO colors VALUES (225,'Shamrock Green','347C17','on', 0, 0);
INSERT INTO colors VALUES (226,'Medium Spring Green','348017','on', 0, 0);
INSERT INTO colors VALUES (227,'Forest Green','4E9258','on', 0, 0);
INSERT INTO colors VALUES (228,'Green Onion','6AA121','on', 0, 0);
INSERT INTO colors VALUES (229,'Spring Green','4AA02C','on', 0, 0);
INSERT INTO colors VALUES (230,'Lime Green','41A317','on', 0, 0);
INSERT INTO colors VALUES (231,'Clover Green','3EA055','on', 0, 0);
INSERT INTO colors VALUES (232,'Green Snake','6CBB3C','on', 0, 0);
INSERT INTO colors VALUES (233,'Alien Green','6CC417','on', 0, 0);
INSERT INTO colors VALUES (234,'Green Apple','4CC417','on', 0, 0);
INSERT INTO colors VALUES (235,'Yellow Green','52D017','on', 0, 0);
INSERT INTO colors VALUES (236,'Kelly Green','4CC552','on', 0, 0);
INSERT INTO colors VALUES (237,'Zombie Green','54C571','on', 0, 0);
INSERT INTO colors VALUES (238,'Frog Green','99C68E','on', 0, 0);
INSERT INTO colors VALUES (239,'Green Peas','89C35C','on', 0, 0);
INSERT INTO colors VALUES (240,'Dollar Bill Green','85BB65','on', 0, 0);
INSERT INTO colors VALUES (241,'Dark Sea Green','8BB381','on', 0, 0);
INSERT INTO colors VALUES (242,'Iguana Green','9CB071','on', 0, 0);
INSERT INTO colors VALUES (243,'Avocado Green','B2C248','on', 0, 0);
INSERT INTO colors VALUES (244,'Pistachio Green','9DC209','on', 0, 0);
INSERT INTO colors VALUES (245,'Salad Green','A1C935','on', 0, 0);
INSERT INTO colors VALUES (246,'Hummingbird Green','7FE817','on', 0, 0);
INSERT INTO colors VALUES (247,'Nebula Green','59E817','on', 0, 0);
INSERT INTO colors VALUES (248,'Stoplight Go Green','57E964','on', 0, 0);
INSERT INTO colors VALUES (249,'Algae Green','64E986','on', 0, 0);
INSERT INTO colors VALUES (250,'Jade Green','5EFB6E','on', 0, 0);
INSERT INTO colors VALUES (251,'Emerald Green','5FFB17','on', 0, 0);
INSERT INTO colors VALUES (252,'Lawn Green','87F717','on', 0, 0);
INSERT INTO colors VALUES (253,'Chartreuse','8AFB17','on', 0, 0);
INSERT INTO colors VALUES (254,'Dragon Green','6AFB92','on', 0, 0);
INSERT INTO colors VALUES (255,'Mint green','98FF98','on', 0, 0);
INSERT INTO colors VALUES (256,'Green Thumb','B5EAAA','on', 0, 0);
INSERT INTO colors VALUES (257,'Light Jade','C3FDB8','on', 0, 0);
INSERT INTO colors VALUES (258,'Tea Green','CCFB5D','on', 0, 0);
INSERT INTO colors VALUES (259,'Green Yellow','B1FB17','on', 0, 0);
INSERT INTO colors VALUES (260,'Slime Green','BCE954','on', 0, 0);
INSERT INTO colors VALUES (261,'Goldenrod','EDDA74','on', 0, 0);
INSERT INTO colors VALUES (262,'Harvest Gold','EDE275','on', 0, 0);
INSERT INTO colors VALUES (263,'Sun Yellow','FFE87C','on', 0, 0);
INSERT INTO colors VALUES (264,'Yellow','FFFF00','on', 0, 0);
INSERT INTO colors VALUES (265,'Corn Yellow','FFF380','on', 0, 0);
INSERT INTO colors VALUES (266,'Parchment','FFFFC2','on', 0, 0);
INSERT INTO colors VALUES (267,'Cream','FFFFCC','on', 0, 0);
INSERT INTO colors VALUES (268,'Lemon Chiffon','FFF8C6','on', 0, 0);
INSERT INTO colors VALUES (269,'Cornsilk','FFF8DC','on', 0, 0);
INSERT INTO colors VALUES (270,'Beige','F5F5DC','on', 0, 0);
INSERT INTO colors VALUES (271,'Blonde','FBF6D9','on', 0, 0);
INSERT INTO colors VALUES (272,'Antique White','FAEBD7','on', 0, 0);
INSERT INTO colors VALUES (273,'Champagne','F7E7CE','on', 0, 0);
INSERT INTO colors VALUES (274,'Blanched Almond','FFEBCD','on', 0, 0);
INSERT INTO colors VALUES (275,'Vanilla','F3E5AB','on', 0, 0);
INSERT INTO colors VALUES (276,'Tan Brown','ECE5B6','on', 0, 0);
INSERT INTO colors VALUES (277,'Peach','FFE5B4','on', 0, 0);
INSERT INTO colors VALUES (278,'Mustard','FFDB58','on', 0, 0);
INSERT INTO colors VALUES (279,'Rubber Ducky Yellow','FFD801','on', 0, 0);
INSERT INTO colors VALUES (280,'Bright Gold','FDD017','on', 0, 0);
INSERT INTO colors VALUES (281,'Golden Brown','EAC117','on', 0, 0);
INSERT INTO colors VALUES (282,'Macaroni and Cheese','F2BB66','on', 0, 0);
INSERT INTO colors VALUES (283,'Saffron','FBB917','on', 0, 0);
INSERT INTO colors VALUES (284,'Beer','FBB117','on', 0, 0);
INSERT INTO colors VALUES (285,'Cantaloupe','FFA62F','on', 0, 0);
INSERT INTO colors VALUES (286,'Bee Yellow','E9AB17','on', 0, 0);
INSERT INTO colors VALUES (287,'Brown Sugar','E2A76F','on', 0, 0);
INSERT INTO colors VALUES (288,'BurlyWood','DEB887','on', 0, 0);
INSERT INTO colors VALUES (289,'Deep Peach','FFCBA4','on', 0, 0);
INSERT INTO colors VALUES (290,'Ginger Brown','C9BE62','on', 0, 0);
INSERT INTO colors VALUES (291,'School Bus Yellow','E8A317','on', 0, 0);
INSERT INTO colors VALUES (292,'Sandy Brown','EE9A4D','on', 0, 0);
INSERT INTO colors VALUES (293,'Fall Leaf Brown','C8B560','on', 0, 0);
INSERT INTO colors VALUES (294,'Orange Gold','D4A017','on', 0, 0);
INSERT INTO colors VALUES (295,'Sand','C2B280','on', 0, 0);
INSERT INTO colors VALUES (296,'Cookie Brown','C7A317','on', 0, 0);
INSERT INTO colors VALUES (297,'Caramel','C68E17','on', 0, 0);
INSERT INTO colors VALUES (298,'Brass','B5A642','on', 0, 0);
INSERT INTO colors VALUES (299,'Khaki','ADA96E','on', 0, 0);
INSERT INTO colors VALUES (300,'Camel Brown','C19A6B','on', 0, 0);
INSERT INTO colors VALUES (301,'Bronze','CD7F32','on', 0, 0);
INSERT INTO colors VALUES (302,'Tiger Orange','C88141','on', 0, 0);
INSERT INTO colors VALUES (303,'Cinnamon','C58917','on', 0, 0);
INSERT INTO colors VALUES (304,'Bullet Shell','AF9B60','on', 0, 0);
INSERT INTO colors VALUES (305,'Dark Goldenrod','AF7817','on', 0, 0);
INSERT INTO colors VALUES (306,'Copper','B87333','on', 0, 0);
INSERT INTO colors VALUES (307,'Wood','966F33','on', 0, 0);
INSERT INTO colors VALUES (308,'Oak Brown','806517','on', 0, 0);
INSERT INTO colors VALUES (309,'Moccasin','827839','on', 0, 0);
INSERT INTO colors VALUES (310,'Army Brown','827B60','on', 0, 0);
INSERT INTO colors VALUES (311,'Sandstone','786D5F','on', 0, 0);
INSERT INTO colors VALUES (312,'Mocha','493D26','on', 0, 0);
INSERT INTO colors VALUES (313,'Taupe','483C32','on', 0, 0);
INSERT INTO colors VALUES (314,'Coffee','6F4E37','on', 0, 0);
INSERT INTO colors VALUES (315,'Brown Bear','835C3B','on', 0, 0);
INSERT INTO colors VALUES (316,'Red Dirt','7F5217','on', 0, 0);
INSERT INTO colors VALUES (317,'Sepia','7F462C','on', 0, 0);
INSERT INTO colors VALUES (318,'Orange Salmon','C47451','on', 0, 0);
INSERT INTO colors VALUES (319,'Rust','C36241','on', 0, 0);
INSERT INTO colors VALUES (320,'Red Fox','C35817','on', 0, 0);
INSERT INTO colors VALUES (321,'Chocolate','C85A17','on', 0, 0);
INSERT INTO colors VALUES (322,'Sedona','CC6600','on', 0, 0);
INSERT INTO colors VALUES (323,'Papaya Orange','E56717','on', 0, 0);
INSERT INTO colors VALUES (324,'Halloween Orange','E66C2C','on', 0, 0);
INSERT INTO colors VALUES (325,'Pumpkin Orange','F87217','on', 0, 0);
INSERT INTO colors VALUES (326,'Construction Cone Orange','F87431','on', 0, 0);
INSERT INTO colors VALUES (327,'Sunrise Orange','E67451','on', 0, 0);
INSERT INTO colors VALUES (328,'Mango Orange','FF8040','on', 0, 0);
INSERT INTO colors VALUES (329,'Dark Orange','F88017','on', 0, 0);