mirror of
https://github.com/Cacti/cacti.git
synced 2026-11-09 05:26:50 +09:00
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1045 860744bd-22fc-0310-8c96-e9fe5004b5ca
2679 lines
145 KiB
SQL
2679 lines
145 KiB
SQL
-- MySQL dump 8.22
|
|
--
|
|
-- Host: localhost Database: dev_cacti_2
|
|
---------------------------------------------------------
|
|
-- Server version 3.23.54
|
|
|
|
--
|
|
-- Table structure for table 'cdef'
|
|
--
|
|
|
|
CREATE TABLE cdef (
|
|
id mediumint(8) unsigned NOT NULL auto_increment,
|
|
name varchar(255) NOT NULL default '',
|
|
PRIMARY KEY (id),
|
|
UNIQUE KEY ID (id),
|
|
KEY id_2 (id)
|
|
) TYPE=MyISAM;
|
|
|
|
--
|
|
-- Dumping data for table 'cdef'
|
|
--
|
|
|
|
|
|
INSERT INTO cdef VALUES (3,'Make Stack Negative');
|
|
INSERT INTO cdef VALUES (4,'Make Per 5 Minutes');
|
|
INSERT INTO cdef VALUES (12,'Total All Data Sources');
|
|
INSERT INTO cdef VALUES (2,'Turn Bytes into Bits');
|
|
INSERT INTO cdef VALUES (14,'Multiply by 1024');
|
|
INSERT INTO cdef VALUES (15,'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,
|
|
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 char(150) NOT NULL default '',
|
|
PRIMARY KEY (id),
|
|
UNIQUE KEY ID (id),
|
|
KEY cdef_id (cdef_id)
|
|
) TYPE=MyISAM;
|
|
|
|
--
|
|
-- Dumping data for table 'cdef_items'
|
|
--
|
|
|
|
|
|
INSERT INTO cdef_items VALUES (7,2,1,4,'CURRENT_DATA_SOURCE');
|
|
INSERT INTO cdef_items VALUES (9,2,2,6,'8');
|
|
INSERT INTO cdef_items VALUES (8,2,3,2,'3');
|
|
INSERT INTO cdef_items VALUES (10,3,1,4,'CURRENT_DATA_SOURCE');
|
|
INSERT INTO cdef_items VALUES (11,3,3,2,'3');
|
|
INSERT INTO cdef_items VALUES (12,3,2,6,'-1');
|
|
INSERT INTO cdef_items VALUES (13,4,1,4,'CURRENT_DATA_SOURCE');
|
|
INSERT INTO cdef_items VALUES (14,4,3,2,'3');
|
|
INSERT INTO cdef_items VALUES (15,4,2,6,'300');
|
|
INSERT INTO cdef_items VALUES (16,12,1,4,'ALL_DATA_SOURCES_NODUPS');
|
|
INSERT INTO cdef_items VALUES (18,14,1,4,'CURRENT_DATA_SOURCE');
|
|
INSERT INTO cdef_items VALUES (19,14,2,6,'1024');
|
|
INSERT INTO cdef_items VALUES (20,14,3,2,'3');
|
|
INSERT INTO cdef_items VALUES (21,15,1,4,'ALL_DATA_SOURCES_NODUPS');
|
|
INSERT INTO cdef_items VALUES (22,15,2,6,'1024');
|
|
INSERT INTO cdef_items VALUES (23,15,3,2,'3');
|
|
|
|
--
|
|
-- Table structure for table 'colors'
|
|
--
|
|
|
|
CREATE TABLE colors (
|
|
id mediumint(8) unsigned NOT NULL auto_increment,
|
|
hex varchar(6) NOT NULL default '',
|
|
PRIMARY KEY (id),
|
|
UNIQUE KEY ID (id),
|
|
KEY id_2 (id)
|
|
) TYPE=MyISAM;
|
|
|
|
--
|
|
-- Dumping data for table 'colors'
|
|
--
|
|
|
|
|
|
INSERT INTO colors VALUES (1,'000000');
|
|
INSERT INTO colors VALUES (2,'FFFFFF');
|
|
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,'FF0000');
|
|
INSERT INTO colors VALUES (10,'4444FF');
|
|
INSERT INTO colors VALUES (11,'FF00FF');
|
|
INSERT INTO colors VALUES (12,'00FF00');
|
|
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');
|
|
|
|
--
|
|
-- Table structure for table 'data_input'
|
|
--
|
|
|
|
CREATE TABLE data_input (
|
|
id mediumint(8) unsigned NOT NULL auto_increment,
|
|
name varchar(200) NOT NULL default '',
|
|
input_string varchar(255) default NULL,
|
|
output_string varchar(255) default NULL,
|
|
type_id tinyint(2) NOT NULL default '0',
|
|
PRIMARY KEY (id),
|
|
UNIQUE KEY ID (id),
|
|
KEY id_2 (id)
|
|
) TYPE=MyISAM;
|
|
|
|
--
|
|
-- Dumping data for table 'data_input'
|
|
--
|
|
|
|
|
|
INSERT INTO data_input VALUES (1,'Get SNMP Data','','',2);
|
|
INSERT INTO data_input VALUES (2,'Get SNMP Data (Indexed)','','',3);
|
|
INSERT INTO data_input VALUES (3,'Unix - Get Free Disk Space','perl <path_cacti>/scripts/diskfree.pl <partition>','',1);
|
|
INSERT INTO data_input VALUES (4,'Unix - Get Load Average','perl <path_cacti>/scripts/loadavg_multi.pl','',1);
|
|
INSERT INTO data_input VALUES (5,'Unix - Get Logged In Users','perl <path_cacti>/scripts/unix_users.pl <username>','',1);
|
|
INSERT INTO data_input VALUES (6,'Linux - Get Memory Usage','perl <path_cacti>/scripts/linux_memory.pl <grepstr>','',1);
|
|
INSERT INTO data_input VALUES (7,'Unix - Get System Processes','perl <path_cacti>/scripts/unix_processes.pl','',1);
|
|
INSERT INTO data_input VALUES (8,'Unix - Get TCP Connections','perl <path_cacti>/scripts/unix_tcp_connections.pl <grepstr>','',1);
|
|
INSERT INTO data_input VALUES (9,'Unix - Get Web Hits','perl <path_cacti>/scripts/webhits.pl <log_path>','',1);
|
|
INSERT INTO data_input VALUES (10,'Unix - Ping Host','perl <path_cacti>/scripts/ping.pl <ip>','',1);
|
|
INSERT INTO data_input VALUES (11,'Get Script Data (Indexed)','','',4);
|
|
|
|
--
|
|
-- Table structure for table 'data_input_data'
|
|
--
|
|
|
|
CREATE TABLE data_input_data (
|
|
data_input_field_id mediumint(8) unsigned NOT NULL default '0',
|
|
data_template_data_id mediumint(8) unsigned NOT NULL default '0',
|
|
t_value char(2) default NULL,
|
|
value text,
|
|
PRIMARY KEY (data_input_field_id,data_template_data_id),
|
|
KEY data_input_field_id (data_input_field_id,data_template_data_id)
|
|
) TYPE=MyISAM;
|
|
|
|
--
|
|
-- Dumping data for table 'data_input_data'
|
|
--
|
|
|
|
|
|
INSERT INTO data_input_data VALUES (14,1,'on','');
|
|
INSERT INTO data_input_data VALUES (13,1,'on','');
|
|
INSERT INTO data_input_data VALUES (12,1,'on','');
|
|
INSERT INTO data_input_data VALUES (14,2,'on','');
|
|
INSERT INTO data_input_data VALUES (13,2,'on','');
|
|
INSERT INTO data_input_data VALUES (12,2,'on','');
|
|
INSERT INTO data_input_data VALUES (14,3,'on','');
|
|
INSERT INTO data_input_data VALUES (13,3,'on','');
|
|
INSERT INTO data_input_data VALUES (12,3,'on','');
|
|
INSERT INTO data_input_data VALUES (6,4,'','.1.3.6.1.4.1.2021.11.52.0');
|
|
INSERT INTO data_input_data VALUES (6,5,'','.1.3.6.1.4.1.2021.11.50.0');
|
|
INSERT INTO data_input_data VALUES (6,6,'','.1.3.6.1.4.1.2021.11.51.0');
|
|
INSERT INTO data_input_data VALUES (14,7,'on','');
|
|
INSERT INTO data_input_data VALUES (13,7,'on','');
|
|
INSERT INTO data_input_data VALUES (12,7,'on','');
|
|
INSERT INTO data_input_data VALUES (14,8,'on','');
|
|
INSERT INTO data_input_data VALUES (13,8,'on','');
|
|
INSERT INTO data_input_data VALUES (12,8,'on','');
|
|
INSERT INTO data_input_data VALUES (14,9,'on','');
|
|
INSERT INTO data_input_data VALUES (13,9,'on','');
|
|
INSERT INTO data_input_data VALUES (12,9,'on','');
|
|
INSERT INTO data_input_data VALUES (14,10,'on','');
|
|
INSERT INTO data_input_data VALUES (13,10,'on','');
|
|
INSERT INTO data_input_data VALUES (12,10,'on','');
|
|
INSERT INTO data_input_data VALUES (22,12,'','Buffers:');
|
|
INSERT INTO data_input_data VALUES (22,13,'','MemFree:');
|
|
INSERT INTO data_input_data VALUES (22,14,'','^Cached:');
|
|
INSERT INTO data_input_data VALUES (22,15,'','SwapFree:');
|
|
INSERT INTO data_input_data VALUES (29,18,'on','');
|
|
INSERT INTO data_input_data VALUES (6,19,'','.1.3.6.1.4.1.23.2.28.3.1');
|
|
INSERT INTO data_input_data VALUES (6,20,'','.1.3.6.1.4.1.23.2.28.3.2.0');
|
|
INSERT INTO data_input_data VALUES (6,21,'','.1.3.6.1.2.1.25.3.3.1.2.1');
|
|
INSERT INTO data_input_data VALUES (6,27,'','.1.3.6.1.4.1.9.9.109.1.1.1.1.5.1');
|
|
INSERT INTO data_input_data VALUES (6,28,'','.1.3.6.1.4.1.9.9.109.1.1.1.1.3.1');
|
|
INSERT INTO data_input_data VALUES (6,29,'','.1.3.6.1.4.1.9.9.109.1.1.1.1.4.1');
|
|
INSERT INTO data_input_data VALUES (6,30,'','.1.3.6.1.4.1.2021.10.1.3.1');
|
|
INSERT INTO data_input_data VALUES (6,31,'','.1.3.6.1.4.1.2021.10.1.3.2');
|
|
INSERT INTO data_input_data VALUES (6,32,'','.1.3.6.1.4.1.2021.10.1.3.3');
|
|
INSERT INTO data_input_data VALUES (6,33,'','.1.3.6.1.4.1.2021.4.14.0');
|
|
INSERT INTO data_input_data VALUES (6,34,'','.1.3.6.1.4.1.2021.4.6.0');
|
|
INSERT INTO data_input_data VALUES (14,35,'on','');
|
|
INSERT INTO data_input_data VALUES (13,35,'on','');
|
|
INSERT INTO data_input_data VALUES (12,35,'on','');
|
|
INSERT INTO data_input_data VALUES (14,36,'on','');
|
|
INSERT INTO data_input_data VALUES (13,36,'on','');
|
|
INSERT INTO data_input_data VALUES (12,36,'on','');
|
|
INSERT INTO data_input_data VALUES (6,22,'','.1.3.6.1.4.1.23.2.28.2.1.0');
|
|
INSERT INTO data_input_data VALUES (6,23,'','.1.3.6.1.4.1.23.2.28.2.2.0');
|
|
INSERT INTO data_input_data VALUES (6,24,'','.1.3.6.1.4.1.23.2.28.2.5.0');
|
|
INSERT INTO data_input_data VALUES (6,25,'','.1.3.6.1.4.1.23.2.28.2.6.0');
|
|
INSERT INTO data_input_data VALUES (6,26,'','.1.3.6.1.4.1.23.2.28.2.7.0');
|
|
INSERT INTO data_input_data VALUES (33,37,'on','');
|
|
INSERT INTO data_input_data VALUES (32,37,'on','');
|
|
INSERT INTO data_input_data VALUES (31,37,'on','');
|
|
INSERT INTO data_input_data VALUES (14,38,'on','');
|
|
INSERT INTO data_input_data VALUES (13,38,'on','');
|
|
INSERT INTO data_input_data VALUES (12,38,'on','');
|
|
INSERT INTO data_input_data VALUES (14,39,'on','');
|
|
INSERT INTO data_input_data VALUES (13,39,'on','');
|
|
INSERT INTO data_input_data VALUES (12,39,'on','');
|
|
INSERT INTO data_input_data VALUES (14,40,'on','');
|
|
INSERT INTO data_input_data VALUES (13,40,'on','');
|
|
INSERT INTO data_input_data VALUES (12,40,'on','');
|
|
INSERT INTO data_input_data VALUES (12,41,'on','');
|
|
INSERT INTO data_input_data VALUES (13,41,'on','');
|
|
INSERT INTO data_input_data VALUES (14,41,'on','');
|
|
INSERT INTO data_input_data VALUES (12,55,'on','');
|
|
INSERT INTO data_input_data VALUES (13,55,'on','');
|
|
INSERT INTO data_input_data VALUES (14,55,'on','');
|
|
INSERT INTO data_input_data VALUES (33,56,'on','');
|
|
INSERT INTO data_input_data VALUES (32,56,'on','');
|
|
INSERT INTO data_input_data VALUES (31,56,'on','');
|
|
INSERT INTO data_input_data VALUES (33,57,'on','');
|
|
INSERT INTO data_input_data VALUES (32,57,'on','');
|
|
INSERT INTO data_input_data VALUES (31,57,'on','');
|
|
INSERT INTO data_input_data VALUES (6,58,'','.1.3.6.1.2.1.25.1.6.0');
|
|
INSERT INTO data_input_data VALUES (6,59,'','.1.3.6.1.2.1.25.1.5.0');
|
|
INSERT INTO data_input_data VALUES (22,60,'','Buffers:');
|
|
INSERT INTO data_input_data VALUES (22,61,'','^Cached:');
|
|
INSERT INTO data_input_data VALUES (22,62,'','MemFree:');
|
|
INSERT INTO data_input_data VALUES (22,63,'','SwapFree:');
|
|
|
|
--
|
|
-- Table structure for table 'data_input_data_cache'
|
|
--
|
|
|
|
CREATE TABLE data_input_data_cache (
|
|
local_data_id mediumint(8) unsigned NOT NULL default '0',
|
|
data_input_id mediumint(8) unsigned NOT NULL default '0',
|
|
action tinyint(2) NOT NULL default '1',
|
|
command varchar(255) NOT NULL default '',
|
|
management_ip varchar(15) NOT NULL default '',
|
|
snmp_community varchar(100) NOT NULL default '',
|
|
snmp_version tinyint(1) NOT NULL default '0',
|
|
snmp_username varchar(50) NOT NULL default '',
|
|
snmp_password varchar(50) NOT NULL default '',
|
|
rrd_name varchar(19) NOT NULL default '',
|
|
rrd_path varchar(255) NOT NULL default '',
|
|
arg1 varchar(255) default NULL,
|
|
arg2 varchar(255) default NULL,
|
|
arg3 varchar(255) default NULL,
|
|
PRIMARY KEY (local_data_id,rrd_name),
|
|
KEY local_data_id (local_data_id)
|
|
) TYPE=MyISAM;
|
|
|
|
--
|
|
-- Dumping data for table 'data_input_data_cache'
|
|
--
|
|
|
|
|
|
INSERT INTO data_input_data_cache VALUES (1,6,1,'perl /var/www/html/users/iberry/cacti/cacti-0.8/scripts/linux_memory.pl Buffers:','127.0.0.1','public',1,'','','mem_buffers','/var/www/html/users/iberry/cacti/cacti-0.8/rra/localhost_mem_buffers_1.rrd',NULL,NULL,NULL);
|
|
INSERT INTO data_input_data_cache VALUES (2,6,1,'perl /var/www/html/users/iberry/cacti/cacti-0.8/scripts/linux_memory.pl ^Cached:','127.0.0.1','public',1,'','','mem_cache','/var/www/html/users/iberry/cacti/cacti-0.8/rra/localhost_mem_cache_2.rrd',NULL,NULL,NULL);
|
|
INSERT INTO data_input_data_cache VALUES (3,6,1,'perl /var/www/html/users/iberry/cacti/cacti-0.8/scripts/linux_memory.pl MemFree:','127.0.0.1','public',1,'','','mem_buffers','/var/www/html/users/iberry/cacti/cacti-0.8/rra/localhost_mem_buffers_3.rrd',NULL,NULL,NULL);
|
|
INSERT INTO data_input_data_cache VALUES (4,6,1,'perl /var/www/html/users/iberry/cacti/cacti-0.8/scripts/linux_memory.pl SwapFree:','127.0.0.1','public',1,'','','mem_swap','/var/www/html/users/iberry/cacti/cacti-0.8/rra/localhost_mem_swap_4.rrd',NULL,NULL,NULL);
|
|
INSERT INTO data_input_data_cache VALUES (5,4,2,'perl /var/www/html/users/iberry/cacti/cacti-0.8/scripts/loadavg_multi.pl','127.0.0.1','public',1,'','','','/var/www/html/users/iberry/cacti/cacti-0.8/rra/localhost_load_1min_5.rrd',NULL,NULL,NULL);
|
|
INSERT INTO data_input_data_cache VALUES (6,5,1,'perl /var/www/html/users/iberry/cacti/cacti-0.8/scripts/unix_users.pl','127.0.0.1','public',1,'','','users','/var/www/html/users/iberry/cacti/cacti-0.8/rra/localhost_users_6.rrd',NULL,NULL,NULL);
|
|
INSERT INTO data_input_data_cache VALUES (7,7,1,'perl /var/www/html/users/iberry/cacti/cacti-0.8/scripts/unix_processes.pl','127.0.0.1','public',1,'','','proc','/var/www/html/users/iberry/cacti/cacti-0.8/rra/localhost_proc_7.rrd',NULL,NULL,NULL);
|
|
|
|
--
|
|
-- Table structure for table 'data_input_data_fcache'
|
|
--
|
|
|
|
CREATE TABLE data_input_data_fcache (
|
|
local_data_id mediumint(8) unsigned NOT NULL default '0',
|
|
data_input_field_name varchar(100) NOT NULL default '',
|
|
rrd_data_source_name varchar(19) NOT NULL default '',
|
|
PRIMARY KEY (local_data_id,rrd_data_source_name)
|
|
) TYPE=MyISAM;
|
|
|
|
--
|
|
-- Dumping data for table 'data_input_data_fcache'
|
|
--
|
|
|
|
|
|
INSERT INTO data_input_data_fcache VALUES (5,'1min','load_1min');
|
|
INSERT INTO data_input_data_fcache VALUES (5,'5min','load_5min');
|
|
INSERT INTO data_input_data_fcache VALUES (5,'10min','load_15min');
|
|
|
|
--
|
|
-- Table structure for table 'data_input_fields'
|
|
--
|
|
|
|
CREATE TABLE data_input_fields (
|
|
id mediumint(8) unsigned NOT NULL auto_increment,
|
|
data_input_id mediumint(8) unsigned NOT NULL default '0',
|
|
name varchar(200) NOT NULL default '',
|
|
data_name varchar(50) NOT NULL default '',
|
|
input_output char(3) NOT NULL default '',
|
|
update_rra char(2) default '0',
|
|
sequence smallint(5) NOT NULL default '0',
|
|
type_code varchar(40) default NULL,
|
|
regexp_match varchar(200) default NULL,
|
|
allow_nulls char(2) default NULL,
|
|
PRIMARY KEY (id),
|
|
UNIQUE KEY ID (id),
|
|
KEY id_2 (id),
|
|
KEY data_input_id (data_input_id)
|
|
) TYPE=MyISAM;
|
|
|
|
--
|
|
-- Dumping data for table 'data_input_fields'
|
|
--
|
|
|
|
|
|
INSERT INTO data_input_fields VALUES (1,1,'SNMP IP Address','management_ip','in','',0,'management_ip','','');
|
|
INSERT INTO data_input_fields VALUES (2,1,'SNMP Community','snmp_community','in','',0,'snmp_community','','');
|
|
INSERT INTO data_input_fields VALUES (3,1,'SNMP Username','snmp_username','in','',0,'snmp_username','','on');
|
|
INSERT INTO data_input_fields VALUES (4,1,'SNMP Password','snmp_password','in','',0,'snmp_password','','on');
|
|
INSERT INTO data_input_fields VALUES (5,1,'SNMP Version (1, 2, or 3)','snmp_version','in','',0,'snmp_version','','on');
|
|
INSERT INTO data_input_fields VALUES (6,1,'OID','oid','in','',0,'snmp_oid','','');
|
|
INSERT INTO data_input_fields VALUES (7,2,'SNMP IP Address','management_ip','in','',0,'management_ip','','');
|
|
INSERT INTO data_input_fields VALUES (8,2,'SNMP Community','snmp_community','in','',0,'snmp_community','','');
|
|
INSERT INTO data_input_fields VALUES (9,2,'SNMP Username (v3)','snmp_username','in','',0,'snmp_username','','on');
|
|
INSERT INTO data_input_fields VALUES (10,2,'SNMP Password (v3)','snmp_password','in','',0,'snmp_password','','on');
|
|
INSERT INTO data_input_fields VALUES (11,2,'SNMP Version (1, 2, or 3)','snmp_version','in','',0,'snmp_version','','');
|
|
INSERT INTO data_input_fields VALUES (12,2,'Index Type','index_type','in','',0,'index_type','','');
|
|
INSERT INTO data_input_fields VALUES (13,2,'Index Value','index_value','in','',0,'index_value','','');
|
|
INSERT INTO data_input_fields VALUES (14,2,'Output Type ID','output_type','in','',0,'output_type','','');
|
|
INSERT INTO data_input_fields VALUES (15,3,'Disk Partition','partition','in','',1,'','','');
|
|
INSERT INTO data_input_fields VALUES (16,3,'Kilobytes Free','kilobytes','out','on',0,'','','');
|
|
INSERT INTO data_input_fields VALUES (17,4,'1 Minute Average','1min','out','on',0,'','','');
|
|
INSERT INTO data_input_fields VALUES (18,4,'5 Minute Average','5min','out','on',0,'','','');
|
|
INSERT INTO data_input_fields VALUES (19,4,'10 Minute Average','10min','out','on',0,'','','');
|
|
INSERT INTO data_input_fields VALUES (20,5,'Username (Optional)','username','in','',1,'','','on');
|
|
INSERT INTO data_input_fields VALUES (21,5,'Logged In Users','users','out','on',0,'','','');
|
|
INSERT INTO data_input_fields VALUES (22,6,'Grep String','grepstr','in','',1,'','','');
|
|
INSERT INTO data_input_fields VALUES (23,6,'Result (in Kilobytes)','kilobytes','out','on',0,'','','');
|
|
INSERT INTO data_input_fields VALUES (24,7,'Number of Processes','proc','out','on',0,'','','');
|
|
INSERT INTO data_input_fields VALUES (25,8,'Grep String','grepstr','in','',1,'','','on');
|
|
INSERT INTO data_input_fields VALUES (26,8,'Connections','connections','out','on',0,'','','');
|
|
INSERT INTO data_input_fields VALUES (27,9,'(Optional) Log Path','log_path','in','',1,'','','on');
|
|
INSERT INTO data_input_fields VALUES (28,9,'Web Hits','webhits','out','on',0,'','','');
|
|
INSERT INTO data_input_fields VALUES (29,10,'IP Address','ip','in','',1,'management_ip','','');
|
|
INSERT INTO data_input_fields VALUES (30,10,'Milliseconds','out_ms','out','on',0,'','','');
|
|
INSERT INTO data_input_fields VALUES (31,11,'Index Type','index_type','in','',0,'index_type','','');
|
|
INSERT INTO data_input_fields VALUES (32,11,'Index Value','index_value','in','',0,'index_value','','');
|
|
INSERT INTO data_input_fields VALUES (33,11,'Output Type ID','output_type','in','',0,'output_type','','');
|
|
INSERT INTO data_input_fields VALUES (34,11,'Output Value','output','out','on',0,'','','');
|
|
|
|
--
|
|
-- Table structure for table 'data_local'
|
|
--
|
|
|
|
CREATE TABLE data_local (
|
|
id mediumint(8) unsigned NOT NULL auto_increment,
|
|
data_template_id mediumint(8) unsigned NOT NULL default '0',
|
|
host_id mediumint(8) unsigned NOT NULL default '0',
|
|
snmp_query_id mediumint(8) NOT NULL default '0',
|
|
snmp_index varchar(60) NOT NULL default '',
|
|
PRIMARY KEY (id),
|
|
UNIQUE KEY id (id),
|
|
KEY id_2 (id)
|
|
) TYPE=MyISAM;
|
|
|
|
--
|
|
-- Dumping data for table 'data_local'
|
|
--
|
|
|
|
|
|
INSERT INTO data_local VALUES (1,12,1,0,'');
|
|
INSERT INTO data_local VALUES (2,14,1,0,'');
|
|
INSERT INTO data_local VALUES (3,13,1,0,'');
|
|
INSERT INTO data_local VALUES (4,15,1,0,'');
|
|
INSERT INTO data_local VALUES (5,11,1,0,'');
|
|
INSERT INTO data_local VALUES (6,17,1,0,'');
|
|
INSERT INTO data_local VALUES (7,16,1,0,'');
|
|
|
|
--
|
|
-- Table structure for table 'data_template'
|
|
--
|
|
|
|
CREATE TABLE data_template (
|
|
id mediumint(8) unsigned NOT NULL auto_increment,
|
|
name varchar(150) NOT NULL default '',
|
|
PRIMARY KEY (id),
|
|
UNIQUE KEY id (id),
|
|
KEY id_2 (id)
|
|
) TYPE=MyISAM;
|
|
|
|
--
|
|
-- Dumping data for table 'data_template'
|
|
--
|
|
|
|
|
|
INSERT INTO data_template VALUES (1,'Interface - Traffic - In');
|
|
INSERT INTO data_template VALUES (2,'Interface - Traffic - Out');
|
|
INSERT INTO data_template VALUES (3,'ucd/net - Hard Drive Space');
|
|
INSERT INTO data_template VALUES (4,'ucd/net - CPU Usage - System');
|
|
INSERT INTO data_template VALUES (5,'ucd/net - CPU Usage - User');
|
|
INSERT INTO data_template VALUES (6,'ucd/net - CPU Usage - Nice');
|
|
INSERT INTO data_template VALUES (7,'Karlnet - Noise Level');
|
|
INSERT INTO data_template VALUES (8,'Karlnet - Signal Level');
|
|
INSERT INTO data_template VALUES (9,'Karlnet - Wireless Transmits');
|
|
INSERT INTO data_template VALUES (10,'Karlnet - Wireless Re-Transmits');
|
|
INSERT INTO data_template VALUES (11,'Unix - Load Average');
|
|
INSERT INTO data_template VALUES (12,'Linux - Memory - Buffers');
|
|
INSERT INTO data_template VALUES (13,'Linux - Memory - Free');
|
|
INSERT INTO data_template VALUES (14,'Linux - Memory - Cache');
|
|
INSERT INTO data_template VALUES (15,'Linux - Memory - Free Swap');
|
|
INSERT INTO data_template VALUES (16,'Unix - Processes');
|
|
INSERT INTO data_template VALUES (17,'Unix - Logged in Users');
|
|
INSERT INTO data_template VALUES (18,'Unix - Ping Host');
|
|
INSERT INTO data_template VALUES (19,'Netware - Total Users');
|
|
INSERT INTO data_template VALUES (20,'Netware - Total Logins');
|
|
INSERT INTO data_template VALUES (45,'Host MIB - Processes');
|
|
INSERT INTO data_template VALUES (22,'Netware - File System Reads');
|
|
INSERT INTO data_template VALUES (23,'Netware - File System Writes');
|
|
INSERT INTO data_template VALUES (24,'Netware - Cache Checks');
|
|
INSERT INTO data_template VALUES (25,'Netware - Cache Hits');
|
|
INSERT INTO data_template VALUES (26,'Netware - Open Files');
|
|
INSERT INTO data_template VALUES (27,'Cisco Router - 5 Minute CPU');
|
|
INSERT INTO data_template VALUES (28,'Cisco Router - 5 Second CPU');
|
|
INSERT INTO data_template VALUES (29,'Cisco Router - 1 Minute CPU');
|
|
INSERT INTO data_template VALUES (35,'Netware - Volumes');
|
|
INSERT INTO data_template VALUES (30,'ucd/net - Load Average - 1 Minute');
|
|
INSERT INTO data_template VALUES (31,'ucd/net - Load Average - 5 Minute');
|
|
INSERT INTO data_template VALUES (32,'ucd/net - Load Average - 15 Minute');
|
|
INSERT INTO data_template VALUES (33,'ucd/net - Memory - Buffers');
|
|
INSERT INTO data_template VALUES (34,'ucd/net - Memory - Free');
|
|
INSERT INTO data_template VALUES (36,'Netware - Directory Entries');
|
|
INSERT INTO data_template VALUES (37,'Unix - Hard Drive Space');
|
|
INSERT INTO data_template VALUES (38,'Interface - Errors/Discards');
|
|
INSERT INTO data_template VALUES (39,'Interface - Unicast Packets');
|
|
INSERT INTO data_template VALUES (40,'Interface - Non-Unicast Packets');
|
|
INSERT INTO data_template VALUES (41,'Interface - Traffic');
|
|
INSERT INTO data_template VALUES (42,'Netware - CPU Utilization');
|
|
INSERT INTO data_template VALUES (43,'Host MIB - Hard Drive Space');
|
|
INSERT INTO data_template VALUES (44,'Host MIB - CPU Utilization');
|
|
INSERT INTO data_template VALUES (46,'Host MIB - Logged in Users');
|
|
|
|
--
|
|
-- Table structure for table 'data_template_data'
|
|
--
|
|
|
|
CREATE TABLE data_template_data (
|
|
id mediumint(8) unsigned NOT NULL auto_increment,
|
|
local_data_template_data_id mediumint(8) unsigned NOT NULL default '0',
|
|
local_data_id mediumint(8) unsigned NOT NULL default '0',
|
|
data_template_id mediumint(8) unsigned NOT NULL default '0',
|
|
data_input_id mediumint(8) unsigned NOT NULL default '0',
|
|
t_name char(2) default NULL,
|
|
name varchar(250) NOT NULL default '',
|
|
name_cache varchar(255) NOT NULL default '',
|
|
data_source_path varchar(255) default NULL,
|
|
t_active char(2) default NULL,
|
|
active char(2) default NULL,
|
|
t_rrd_step char(2) default NULL,
|
|
rrd_step smallint(5) NOT NULL default '0',
|
|
t_rra_id char(2) default NULL,
|
|
PRIMARY KEY (id),
|
|
UNIQUE KEY id (id),
|
|
KEY id_2 (id),
|
|
KEY local_data_id (local_data_id),
|
|
KEY data_template_id (data_template_id)
|
|
) TYPE=MyISAM;
|
|
|
|
--
|
|
-- Dumping data for table 'data_template_data'
|
|
--
|
|
|
|
|
|
INSERT INTO data_template_data VALUES (1,0,0,1,2,'on','|host_description| - Traffic - In','',NULL,'','on','',300,'');
|
|
INSERT INTO data_template_data VALUES (2,0,0,2,2,'on','|host_description| - Traffic - Out','',NULL,'','on','',300,'');
|
|
INSERT INTO data_template_data VALUES (3,0,0,3,2,'on','|host_description| - Hard Drive Space','',NULL,'','on','',300,'');
|
|
INSERT INTO data_template_data VALUES (4,0,0,4,1,'on','|host_description| - CPU Usage - System','',NULL,'','on','',300,'');
|
|
INSERT INTO data_template_data VALUES (5,0,0,5,1,'on','|host_description| - CPU Usage - User','',NULL,'','on','',300,'');
|
|
INSERT INTO data_template_data VALUES (6,0,0,6,1,'on','|host_description| - CPU Usage - Nice','',NULL,'','on','',300,'');
|
|
INSERT INTO data_template_data VALUES (7,0,0,7,2,'on','|host_description| - Noise Level','',NULL,'','on','',300,'');
|
|
INSERT INTO data_template_data VALUES (8,0,0,8,2,'on','|host_description| - Signal Level','',NULL,'','on','',300,'');
|
|
INSERT INTO data_template_data VALUES (9,0,0,9,2,'on','|host_description| - Wireless Transmits','',NULL,'','on','',300,'');
|
|
INSERT INTO data_template_data VALUES (10,0,0,10,2,'on','|host_description| - Wireless Re-Transmits','',NULL,'','on','',300,'');
|
|
INSERT INTO data_template_data VALUES (11,0,0,11,4,'on','|host_description| - Load Average','',NULL,'','on','',300,'');
|
|
INSERT INTO data_template_data VALUES (12,0,0,12,6,'on','|host_description| - Memory - Buffers','',NULL,'','on','',300,'');
|
|
INSERT INTO data_template_data VALUES (13,0,0,13,6,'on','|host_description| - Memory - Free','',NULL,'','on','',300,'');
|
|
INSERT INTO data_template_data VALUES (14,0,0,14,6,'on','|host_description| - Memory - Cache','',NULL,'','on','',300,'');
|
|
INSERT INTO data_template_data VALUES (15,0,0,15,6,'on','|host_description| - Memory - Free Swap','',NULL,'','on','',300,'');
|
|
INSERT INTO data_template_data VALUES (16,0,0,16,7,'on','|host_description| - Processes','',NULL,'','on','',300,'');
|
|
INSERT INTO data_template_data VALUES (17,0,0,17,5,'on','|host_description| - Logged in Users','',NULL,'','on','',300,'');
|
|
INSERT INTO data_template_data VALUES (18,0,0,18,10,'on','|host_description| - Ping Host','',NULL,'','on','',300,'');
|
|
INSERT INTO data_template_data VALUES (19,0,0,19,1,'on','|host_description| - Total Users','',NULL,'','on','',300,'');
|
|
INSERT INTO data_template_data VALUES (20,0,0,20,1,'on','|host_description| - Total Logins','',NULL,'','on','',300,'');
|
|
INSERT INTO data_template_data VALUES (58,0,0,45,1,'on','|host_description| - Processes','',NULL,'','on','',300,'');
|
|
INSERT INTO data_template_data VALUES (22,0,0,22,1,'on','|host_description| - File System Reads','',NULL,'','on','',300,'');
|
|
INSERT INTO data_template_data VALUES (23,0,0,23,1,'on','|host_description| - File System Writes','',NULL,'','on','',300,'');
|
|
INSERT INTO data_template_data VALUES (24,0,0,24,1,'on','|host_description| - Cache Checks','',NULL,'','on','',300,'');
|
|
INSERT INTO data_template_data VALUES (25,0,0,25,1,'on','|host_description| - Cache Hits','',NULL,'','on','',300,'');
|
|
INSERT INTO data_template_data VALUES (26,0,0,26,1,'on','|host_description| - Open Files','',NULL,'','on','',300,'');
|
|
INSERT INTO data_template_data VALUES (27,0,0,27,1,'on','|host_description| - 5 Minute CPU','',NULL,'','on','',300,'');
|
|
INSERT INTO data_template_data VALUES (28,0,0,28,1,'on','|host_description| - 5 Second CPU','',NULL,'','on','',300,'');
|
|
INSERT INTO data_template_data VALUES (29,0,0,29,1,'on','|host_description| - 1 Minute CPU','',NULL,'','on','',300,'');
|
|
INSERT INTO data_template_data VALUES (30,0,0,30,1,'on','|host_description| - Load Average - 1 Minute','',NULL,'','on','',300,'');
|
|
INSERT INTO data_template_data VALUES (31,0,0,31,1,'on','|host_description| - Load Average - 5 Minute','',NULL,'','on','',300,'');
|
|
INSERT INTO data_template_data VALUES (32,0,0,32,1,'on','|host_description| - Load Average - 15 Minute','',NULL,'','on','',300,'');
|
|
INSERT INTO data_template_data VALUES (33,0,0,33,1,'on','|host_description| - Memory - Buffers','',NULL,'','on','',300,'');
|
|
INSERT INTO data_template_data VALUES (34,0,0,34,1,'on','|host_description| - Memory - Free','',NULL,'','on','',300,'');
|
|
INSERT INTO data_template_data VALUES (35,0,0,35,2,'on','|host_description| - Volumes','',NULL,'','on','',300,'');
|
|
INSERT INTO data_template_data VALUES (36,0,0,36,2,'on','|host_description| - Directory Entries','',NULL,'','on','',300,'');
|
|
INSERT INTO data_template_data VALUES (37,0,0,37,11,'on','|host_description| - Hard Drive Space','',NULL,'','on','',300,'');
|
|
INSERT INTO data_template_data VALUES (38,0,0,38,2,'on','|host_description| - Errors/Discards','',NULL,'','on','',300,'');
|
|
INSERT INTO data_template_data VALUES (39,0,0,39,2,'on','|host_description| - Unicast Packets','',NULL,'','on','',300,'');
|
|
INSERT INTO data_template_data VALUES (40,0,0,40,2,'on','|host_description| - Non-Unicast Packets','',NULL,'','on','',300,'');
|
|
INSERT INTO data_template_data VALUES (41,0,0,41,2,'on','|host_description| - Traffic','',NULL,'','on','',300,'');
|
|
INSERT INTO data_template_data VALUES (55,0,0,42,2,'','|host_description| - CPU Utilization','',NULL,'','on','',300,'');
|
|
INSERT INTO data_template_data VALUES (56,0,0,43,11,'','|host_description| - Hard Drive Space','',NULL,'','on','',300,'');
|
|
INSERT INTO data_template_data VALUES (57,0,0,44,11,'','|host_description| - CPU Utilization','',NULL,'','on','',300,'');
|
|
INSERT INTO data_template_data VALUES (59,0,0,46,1,'on','|host_description| - Logged in Users','',NULL,'','on','',300,'');
|
|
INSERT INTO data_template_data VALUES (60,12,1,12,6,NULL,'|host_description| - Memory - Buffers','Localhost - Memory - Buffers','<path_rra>/localhost_mem_buffers_1.rrd',NULL,'on',NULL,300,NULL);
|
|
INSERT INTO data_template_data VALUES (61,14,2,14,6,NULL,'|host_description| - Memory - Cache','Localhost - Memory - Cache','<path_rra>/localhost_mem_cache_2.rrd',NULL,'on',NULL,300,NULL);
|
|
INSERT INTO data_template_data VALUES (62,13,3,13,6,NULL,'|host_description| - Memory - Free','Localhost - Memory - Free','<path_rra>/localhost_mem_buffers_3.rrd',NULL,'on',NULL,300,NULL);
|
|
INSERT INTO data_template_data VALUES (63,15,4,15,6,NULL,'|host_description| - Memory - Free Swap','Localhost - Memory - Free Swap','<path_rra>/localhost_mem_swap_4.rrd',NULL,'on',NULL,300,NULL);
|
|
INSERT INTO data_template_data VALUES (64,11,5,11,4,NULL,'|host_description| - Load Average','Localhost - Load Average','<path_rra>/localhost_load_1min_5.rrd',NULL,'on',NULL,300,NULL);
|
|
INSERT INTO data_template_data VALUES (65,17,6,17,5,NULL,'|host_description| - Logged in Users','Localhost - Logged in Users','<path_rra>/localhost_users_6.rrd',NULL,'on',NULL,300,NULL);
|
|
INSERT INTO data_template_data VALUES (66,16,7,16,7,NULL,'|host_description| - Processes','Localhost - Processes','<path_rra>/localhost_proc_7.rrd',NULL,'on',NULL,300,NULL);
|
|
|
|
--
|
|
-- Table structure for table 'data_template_data_rra'
|
|
--
|
|
|
|
CREATE TABLE data_template_data_rra (
|
|
data_template_data_id mediumint(8) unsigned NOT NULL default '0',
|
|
rra_id mediumint(8) unsigned NOT NULL default '0',
|
|
PRIMARY KEY (data_template_data_id,rra_id),
|
|
KEY data_template_data_id (data_template_data_id)
|
|
) TYPE=MyISAM;
|
|
|
|
--
|
|
-- Dumping data for table 'data_template_data_rra'
|
|
--
|
|
|
|
|
|
INSERT INTO data_template_data_rra VALUES (1,1);
|
|
INSERT INTO data_template_data_rra VALUES (1,2);
|
|
INSERT INTO data_template_data_rra VALUES (1,3);
|
|
INSERT INTO data_template_data_rra VALUES (1,4);
|
|
INSERT INTO data_template_data_rra VALUES (2,1);
|
|
INSERT INTO data_template_data_rra VALUES (2,2);
|
|
INSERT INTO data_template_data_rra VALUES (2,3);
|
|
INSERT INTO data_template_data_rra VALUES (2,4);
|
|
INSERT INTO data_template_data_rra VALUES (3,1);
|
|
INSERT INTO data_template_data_rra VALUES (3,2);
|
|
INSERT INTO data_template_data_rra VALUES (3,3);
|
|
INSERT INTO data_template_data_rra VALUES (3,4);
|
|
INSERT INTO data_template_data_rra VALUES (4,1);
|
|
INSERT INTO data_template_data_rra VALUES (4,2);
|
|
INSERT INTO data_template_data_rra VALUES (4,3);
|
|
INSERT INTO data_template_data_rra VALUES (4,4);
|
|
INSERT INTO data_template_data_rra VALUES (5,1);
|
|
INSERT INTO data_template_data_rra VALUES (5,2);
|
|
INSERT INTO data_template_data_rra VALUES (5,3);
|
|
INSERT INTO data_template_data_rra VALUES (5,4);
|
|
INSERT INTO data_template_data_rra VALUES (6,1);
|
|
INSERT INTO data_template_data_rra VALUES (6,2);
|
|
INSERT INTO data_template_data_rra VALUES (6,3);
|
|
INSERT INTO data_template_data_rra VALUES (6,4);
|
|
INSERT INTO data_template_data_rra VALUES (7,1);
|
|
INSERT INTO data_template_data_rra VALUES (7,2);
|
|
INSERT INTO data_template_data_rra VALUES (7,3);
|
|
INSERT INTO data_template_data_rra VALUES (7,4);
|
|
INSERT INTO data_template_data_rra VALUES (8,1);
|
|
INSERT INTO data_template_data_rra VALUES (8,2);
|
|
INSERT INTO data_template_data_rra VALUES (8,3);
|
|
INSERT INTO data_template_data_rra VALUES (8,4);
|
|
INSERT INTO data_template_data_rra VALUES (9,1);
|
|
INSERT INTO data_template_data_rra VALUES (9,2);
|
|
INSERT INTO data_template_data_rra VALUES (9,3);
|
|
INSERT INTO data_template_data_rra VALUES (9,4);
|
|
INSERT INTO data_template_data_rra VALUES (10,1);
|
|
INSERT INTO data_template_data_rra VALUES (10,2);
|
|
INSERT INTO data_template_data_rra VALUES (10,3);
|
|
INSERT INTO data_template_data_rra VALUES (10,4);
|
|
INSERT INTO data_template_data_rra VALUES (11,1);
|
|
INSERT INTO data_template_data_rra VALUES (11,2);
|
|
INSERT INTO data_template_data_rra VALUES (11,3);
|
|
INSERT INTO data_template_data_rra VALUES (11,4);
|
|
INSERT INTO data_template_data_rra VALUES (12,1);
|
|
INSERT INTO data_template_data_rra VALUES (12,2);
|
|
INSERT INTO data_template_data_rra VALUES (12,3);
|
|
INSERT INTO data_template_data_rra VALUES (12,4);
|
|
INSERT INTO data_template_data_rra VALUES (13,1);
|
|
INSERT INTO data_template_data_rra VALUES (13,2);
|
|
INSERT INTO data_template_data_rra VALUES (13,3);
|
|
INSERT INTO data_template_data_rra VALUES (13,4);
|
|
INSERT INTO data_template_data_rra VALUES (14,1);
|
|
INSERT INTO data_template_data_rra VALUES (14,2);
|
|
INSERT INTO data_template_data_rra VALUES (14,3);
|
|
INSERT INTO data_template_data_rra VALUES (14,4);
|
|
INSERT INTO data_template_data_rra VALUES (15,1);
|
|
INSERT INTO data_template_data_rra VALUES (15,2);
|
|
INSERT INTO data_template_data_rra VALUES (15,3);
|
|
INSERT INTO data_template_data_rra VALUES (15,4);
|
|
INSERT INTO data_template_data_rra VALUES (16,1);
|
|
INSERT INTO data_template_data_rra VALUES (16,2);
|
|
INSERT INTO data_template_data_rra VALUES (16,3);
|
|
INSERT INTO data_template_data_rra VALUES (16,4);
|
|
INSERT INTO data_template_data_rra VALUES (17,1);
|
|
INSERT INTO data_template_data_rra VALUES (17,2);
|
|
INSERT INTO data_template_data_rra VALUES (17,3);
|
|
INSERT INTO data_template_data_rra VALUES (17,4);
|
|
INSERT INTO data_template_data_rra VALUES (18,1);
|
|
INSERT INTO data_template_data_rra VALUES (18,2);
|
|
INSERT INTO data_template_data_rra VALUES (18,3);
|
|
INSERT INTO data_template_data_rra VALUES (18,4);
|
|
INSERT INTO data_template_data_rra VALUES (19,1);
|
|
INSERT INTO data_template_data_rra VALUES (19,2);
|
|
INSERT INTO data_template_data_rra VALUES (19,3);
|
|
INSERT INTO data_template_data_rra VALUES (19,4);
|
|
INSERT INTO data_template_data_rra VALUES (20,1);
|
|
INSERT INTO data_template_data_rra VALUES (20,2);
|
|
INSERT INTO data_template_data_rra VALUES (20,3);
|
|
INSERT INTO data_template_data_rra VALUES (20,4);
|
|
INSERT INTO data_template_data_rra VALUES (22,1);
|
|
INSERT INTO data_template_data_rra VALUES (22,2);
|
|
INSERT INTO data_template_data_rra VALUES (22,3);
|
|
INSERT INTO data_template_data_rra VALUES (22,4);
|
|
INSERT INTO data_template_data_rra VALUES (23,1);
|
|
INSERT INTO data_template_data_rra VALUES (23,2);
|
|
INSERT INTO data_template_data_rra VALUES (23,3);
|
|
INSERT INTO data_template_data_rra VALUES (23,4);
|
|
INSERT INTO data_template_data_rra VALUES (24,1);
|
|
INSERT INTO data_template_data_rra VALUES (24,2);
|
|
INSERT INTO data_template_data_rra VALUES (24,3);
|
|
INSERT INTO data_template_data_rra VALUES (24,4);
|
|
INSERT INTO data_template_data_rra VALUES (25,1);
|
|
INSERT INTO data_template_data_rra VALUES (25,2);
|
|
INSERT INTO data_template_data_rra VALUES (25,3);
|
|
INSERT INTO data_template_data_rra VALUES (25,4);
|
|
INSERT INTO data_template_data_rra VALUES (26,1);
|
|
INSERT INTO data_template_data_rra VALUES (26,2);
|
|
INSERT INTO data_template_data_rra VALUES (26,3);
|
|
INSERT INTO data_template_data_rra VALUES (26,4);
|
|
INSERT INTO data_template_data_rra VALUES (27,1);
|
|
INSERT INTO data_template_data_rra VALUES (27,2);
|
|
INSERT INTO data_template_data_rra VALUES (27,3);
|
|
INSERT INTO data_template_data_rra VALUES (27,4);
|
|
INSERT INTO data_template_data_rra VALUES (28,1);
|
|
INSERT INTO data_template_data_rra VALUES (28,2);
|
|
INSERT INTO data_template_data_rra VALUES (28,3);
|
|
INSERT INTO data_template_data_rra VALUES (28,4);
|
|
INSERT INTO data_template_data_rra VALUES (29,1);
|
|
INSERT INTO data_template_data_rra VALUES (29,2);
|
|
INSERT INTO data_template_data_rra VALUES (29,3);
|
|
INSERT INTO data_template_data_rra VALUES (29,4);
|
|
INSERT INTO data_template_data_rra VALUES (30,1);
|
|
INSERT INTO data_template_data_rra VALUES (30,2);
|
|
INSERT INTO data_template_data_rra VALUES (30,3);
|
|
INSERT INTO data_template_data_rra VALUES (30,4);
|
|
INSERT INTO data_template_data_rra VALUES (31,1);
|
|
INSERT INTO data_template_data_rra VALUES (31,2);
|
|
INSERT INTO data_template_data_rra VALUES (31,3);
|
|
INSERT INTO data_template_data_rra VALUES (31,4);
|
|
INSERT INTO data_template_data_rra VALUES (32,1);
|
|
INSERT INTO data_template_data_rra VALUES (32,2);
|
|
INSERT INTO data_template_data_rra VALUES (32,3);
|
|
INSERT INTO data_template_data_rra VALUES (32,4);
|
|
INSERT INTO data_template_data_rra VALUES (33,1);
|
|
INSERT INTO data_template_data_rra VALUES (33,2);
|
|
INSERT INTO data_template_data_rra VALUES (33,3);
|
|
INSERT INTO data_template_data_rra VALUES (33,4);
|
|
INSERT INTO data_template_data_rra VALUES (34,1);
|
|
INSERT INTO data_template_data_rra VALUES (34,2);
|
|
INSERT INTO data_template_data_rra VALUES (34,3);
|
|
INSERT INTO data_template_data_rra VALUES (34,4);
|
|
INSERT INTO data_template_data_rra VALUES (35,1);
|
|
INSERT INTO data_template_data_rra VALUES (35,2);
|
|
INSERT INTO data_template_data_rra VALUES (35,3);
|
|
INSERT INTO data_template_data_rra VALUES (35,4);
|
|
INSERT INTO data_template_data_rra VALUES (36,1);
|
|
INSERT INTO data_template_data_rra VALUES (36,2);
|
|
INSERT INTO data_template_data_rra VALUES (36,3);
|
|
INSERT INTO data_template_data_rra VALUES (36,4);
|
|
INSERT INTO data_template_data_rra VALUES (37,1);
|
|
INSERT INTO data_template_data_rra VALUES (37,2);
|
|
INSERT INTO data_template_data_rra VALUES (37,3);
|
|
INSERT INTO data_template_data_rra VALUES (37,4);
|
|
INSERT INTO data_template_data_rra VALUES (38,1);
|
|
INSERT INTO data_template_data_rra VALUES (38,2);
|
|
INSERT INTO data_template_data_rra VALUES (38,3);
|
|
INSERT INTO data_template_data_rra VALUES (38,4);
|
|
INSERT INTO data_template_data_rra VALUES (39,1);
|
|
INSERT INTO data_template_data_rra VALUES (39,2);
|
|
INSERT INTO data_template_data_rra VALUES (39,3);
|
|
INSERT INTO data_template_data_rra VALUES (39,4);
|
|
INSERT INTO data_template_data_rra VALUES (40,1);
|
|
INSERT INTO data_template_data_rra VALUES (40,2);
|
|
INSERT INTO data_template_data_rra VALUES (40,3);
|
|
INSERT INTO data_template_data_rra VALUES (40,4);
|
|
INSERT INTO data_template_data_rra VALUES (41,1);
|
|
INSERT INTO data_template_data_rra VALUES (41,2);
|
|
INSERT INTO data_template_data_rra VALUES (41,3);
|
|
INSERT INTO data_template_data_rra VALUES (41,4);
|
|
INSERT INTO data_template_data_rra VALUES (55,1);
|
|
INSERT INTO data_template_data_rra VALUES (55,2);
|
|
INSERT INTO data_template_data_rra VALUES (55,3);
|
|
INSERT INTO data_template_data_rra VALUES (55,4);
|
|
INSERT INTO data_template_data_rra VALUES (56,1);
|
|
INSERT INTO data_template_data_rra VALUES (56,2);
|
|
INSERT INTO data_template_data_rra VALUES (56,3);
|
|
INSERT INTO data_template_data_rra VALUES (56,4);
|
|
INSERT INTO data_template_data_rra VALUES (57,1);
|
|
INSERT INTO data_template_data_rra VALUES (57,2);
|
|
INSERT INTO data_template_data_rra VALUES (57,3);
|
|
INSERT INTO data_template_data_rra VALUES (57,4);
|
|
INSERT INTO data_template_data_rra VALUES (58,1);
|
|
INSERT INTO data_template_data_rra VALUES (58,2);
|
|
INSERT INTO data_template_data_rra VALUES (58,3);
|
|
INSERT INTO data_template_data_rra VALUES (58,4);
|
|
INSERT INTO data_template_data_rra VALUES (59,1);
|
|
INSERT INTO data_template_data_rra VALUES (59,2);
|
|
INSERT INTO data_template_data_rra VALUES (59,3);
|
|
INSERT INTO data_template_data_rra VALUES (59,4);
|
|
INSERT INTO data_template_data_rra VALUES (60,1);
|
|
INSERT INTO data_template_data_rra VALUES (60,2);
|
|
INSERT INTO data_template_data_rra VALUES (60,3);
|
|
INSERT INTO data_template_data_rra VALUES (60,4);
|
|
INSERT INTO data_template_data_rra VALUES (61,1);
|
|
INSERT INTO data_template_data_rra VALUES (61,2);
|
|
INSERT INTO data_template_data_rra VALUES (61,3);
|
|
INSERT INTO data_template_data_rra VALUES (61,4);
|
|
INSERT INTO data_template_data_rra VALUES (62,1);
|
|
INSERT INTO data_template_data_rra VALUES (62,2);
|
|
INSERT INTO data_template_data_rra VALUES (62,3);
|
|
INSERT INTO data_template_data_rra VALUES (62,4);
|
|
INSERT INTO data_template_data_rra VALUES (63,1);
|
|
INSERT INTO data_template_data_rra VALUES (63,2);
|
|
INSERT INTO data_template_data_rra VALUES (63,3);
|
|
INSERT INTO data_template_data_rra VALUES (63,4);
|
|
INSERT INTO data_template_data_rra VALUES (64,1);
|
|
INSERT INTO data_template_data_rra VALUES (64,2);
|
|
INSERT INTO data_template_data_rra VALUES (64,3);
|
|
INSERT INTO data_template_data_rra VALUES (64,4);
|
|
INSERT INTO data_template_data_rra VALUES (65,1);
|
|
INSERT INTO data_template_data_rra VALUES (65,2);
|
|
INSERT INTO data_template_data_rra VALUES (65,3);
|
|
INSERT INTO data_template_data_rra VALUES (65,4);
|
|
INSERT INTO data_template_data_rra VALUES (66,1);
|
|
INSERT INTO data_template_data_rra VALUES (66,2);
|
|
INSERT INTO data_template_data_rra VALUES (66,3);
|
|
INSERT INTO data_template_data_rra VALUES (66,4);
|
|
|
|
--
|
|
-- Table structure for table 'data_template_rrd'
|
|
--
|
|
|
|
CREATE TABLE data_template_rrd (
|
|
id mediumint(8) unsigned NOT NULL auto_increment,
|
|
local_data_template_rrd_id mediumint(8) unsigned NOT NULL default '0',
|
|
local_data_id mediumint(8) unsigned NOT NULL default '0',
|
|
data_template_id mediumint(8) unsigned NOT NULL default '0',
|
|
t_rrd_maximum char(2) default NULL,
|
|
rrd_maximum bigint(20) NOT NULL default '0',
|
|
t_rrd_minimum char(2) default NULL,
|
|
rrd_minimum bigint(20) NOT NULL default '0',
|
|
t_rrd_heartbeat char(2) default NULL,
|
|
rrd_heartbeat mediumint(6) NOT NULL default '0',
|
|
t_data_source_type_id char(2) default NULL,
|
|
data_source_type_id smallint(5) NOT NULL default '0',
|
|
t_data_source_name char(2) default NULL,
|
|
data_source_name varchar(19) NOT NULL default '',
|
|
t_data_input_field_id char(2) default NULL,
|
|
data_input_field_id mediumint(8) unsigned NOT NULL default '0',
|
|
PRIMARY KEY (id),
|
|
UNIQUE KEY id (id),
|
|
KEY id_2 (id),
|
|
KEY local_data_id (local_data_id),
|
|
KEY data_template_id (data_template_id)
|
|
) TYPE=MyISAM;
|
|
|
|
--
|
|
-- Dumping data for table 'data_template_rrd'
|
|
--
|
|
|
|
|
|
INSERT INTO data_template_rrd VALUES (1,0,0,1,'on',100000000,'',0,'',600,'',2,'','traffic_in','',0);
|
|
INSERT INTO data_template_rrd VALUES (2,0,0,2,'on',100000000,'',0,'',600,'',2,'','traffic_out','',0);
|
|
INSERT INTO data_template_rrd VALUES (3,0,0,3,'',10000000000,'',0,'',600,'',1,'','hdd_free','',0);
|
|
INSERT INTO data_template_rrd VALUES (4,0,0,3,'',10000000000,'',0,'',600,'',1,'','hdd_used','',0);
|
|
INSERT INTO data_template_rrd VALUES (5,0,0,4,'',100,'',0,'',600,'',2,'','cpu_system','',0);
|
|
INSERT INTO data_template_rrd VALUES (6,0,0,5,'',100,'',0,'',600,'',2,'','cpu_user','',0);
|
|
INSERT INTO data_template_rrd VALUES (7,0,0,6,'',100,'',0,'',600,'',2,'','cpu_nice','',0);
|
|
INSERT INTO data_template_rrd VALUES (8,0,0,7,'',100,'',0,'',600,'',1,'','wrls_noise','',0);
|
|
INSERT INTO data_template_rrd VALUES (9,0,0,8,'',100,'',0,'',600,'',1,'','wrls_signal','',0);
|
|
INSERT INTO data_template_rrd VALUES (10,0,0,9,'',1000000,'',0,'',600,'',2,'','wrls_transmits','',0);
|
|
INSERT INTO data_template_rrd VALUES (11,0,0,10,'',1000000,'',0,'',600,'',2,'','wrls_retransmits','',0);
|
|
INSERT INTO data_template_rrd VALUES (12,0,0,11,'',500,'',0,'',600,'',1,'','load_1min','',17);
|
|
INSERT INTO data_template_rrd VALUES (13,0,0,11,'',500,'',0,'',600,'',1,'','load_5min','',18);
|
|
INSERT INTO data_template_rrd VALUES (14,0,0,11,'',500,'',0,'',600,'',1,'','load_15min','',19);
|
|
INSERT INTO data_template_rrd VALUES (15,0,0,12,'',10000000,'',0,'',600,'',1,'','mem_buffers','',23);
|
|
INSERT INTO data_template_rrd VALUES (16,0,0,13,'',10000000,'',0,'',600,'',1,'','mem_buffers','',23);
|
|
INSERT INTO data_template_rrd VALUES (17,0,0,14,'',1000000,'',0,'',600,'',1,'','mem_cache','',23);
|
|
INSERT INTO data_template_rrd VALUES (18,0,0,15,'',1000000,'',0,'',600,'',1,'','mem_swap','',23);
|
|
INSERT INTO data_template_rrd VALUES (19,0,0,16,'',1000,'',0,'',600,'',1,'','proc','',24);
|
|
INSERT INTO data_template_rrd VALUES (20,0,0,17,'',500,'',0,'',600,'',1,'','users','',21);
|
|
INSERT INTO data_template_rrd VALUES (21,0,0,18,'',5000,'',0,'',600,'',1,'','ping','',30);
|
|
INSERT INTO data_template_rrd VALUES (22,0,0,19,'',100000,'',0,'',600,'',1,'','total_users','',0);
|
|
INSERT INTO data_template_rrd VALUES (23,0,0,20,'',100000,'',0,'',600,'',1,'','total_logins','',0);
|
|
INSERT INTO data_template_rrd VALUES (80,0,0,45,'',1000,'',0,'',600,'',1,'','proc','',0);
|
|
INSERT INTO data_template_rrd VALUES (25,0,0,22,'',10000000,'',0,'',600,'',2,'','fs_reads','',0);
|
|
INSERT INTO data_template_rrd VALUES (26,0,0,23,'',10000000,'',0,'',600,'',2,'','fs_writes','',0);
|
|
INSERT INTO data_template_rrd VALUES (27,0,0,24,'',10000000,'',0,'',600,'',2,'','cache_checks','',0);
|
|
INSERT INTO data_template_rrd VALUES (28,0,0,25,'',1000000,'',0,'',600,'',2,'','cache_hits','',0);
|
|
INSERT INTO data_template_rrd VALUES (29,0,0,26,'',100000,'',0,'',600,'',1,'','open_files','',0);
|
|
INSERT INTO data_template_rrd VALUES (30,0,0,27,'',100,'',0,'',600,'',1,'','5min_cpu','',0);
|
|
INSERT INTO data_template_rrd VALUES (31,0,0,28,'',100,'',0,'',600,'',1,'','5sec_cpu','',0);
|
|
INSERT INTO data_template_rrd VALUES (32,0,0,29,'',100,'',0,'',600,'',1,'','1min_cpu','',0);
|
|
INSERT INTO data_template_rrd VALUES (33,0,0,30,'',500,'',0,'',600,'',1,'','load_1min','',0);
|
|
INSERT INTO data_template_rrd VALUES (34,0,0,31,'',500,'',0,'',600,'',1,'','load_5min','',0);
|
|
INSERT INTO data_template_rrd VALUES (35,0,0,32,'',500,'',0,'',600,'',1,'','load_15min','',0);
|
|
INSERT INTO data_template_rrd VALUES (36,0,0,33,'',10000000,'',0,'',600,'',1,'','mem_buffers','',0);
|
|
INSERT INTO data_template_rrd VALUES (37,0,0,34,'',10000000,'',0,'',600,'',1,'','mem_free','',0);
|
|
INSERT INTO data_template_rrd VALUES (38,0,0,35,'',1000000000000,'',0,'',600,'',1,'','vol_total','',0);
|
|
INSERT INTO data_template_rrd VALUES (39,0,0,35,'',1000000000000,'',0,'',600,'',1,'','vol_free','',0);
|
|
INSERT INTO data_template_rrd VALUES (40,0,0,35,'',1000000000000,'',0,'',600,'',1,'','vol_freeable','',0);
|
|
INSERT INTO data_template_rrd VALUES (42,0,0,36,'',100000000000,'',0,'',600,'',1,'','dir_total','',0);
|
|
INSERT INTO data_template_rrd VALUES (43,0,0,36,'',100000000000,'',0,'',600,'',1,'','dir_used','',0);
|
|
INSERT INTO data_template_rrd VALUES (44,0,0,37,'on',10000000000,'',0,'',600,'',1,'','hdd_free','',0);
|
|
INSERT INTO data_template_rrd VALUES (54,0,0,41,'on',100000000,'',0,'',600,'',2,'','traffic_in','',0);
|
|
INSERT INTO data_template_rrd VALUES (46,0,0,38,'',10000000,'',0,'',600,'',2,'','errors_in','',0);
|
|
INSERT INTO data_template_rrd VALUES (47,0,0,38,'',10000000,'',0,'',600,'',2,'','discards_in','',0);
|
|
INSERT INTO data_template_rrd VALUES (48,0,0,39,'',1000000000,'',0,'',600,'',2,'','unicast_in','',0);
|
|
INSERT INTO data_template_rrd VALUES (49,0,0,39,'',1000000000,'',0,'',600,'',2,'','unicast_out','',0);
|
|
INSERT INTO data_template_rrd VALUES (50,0,0,38,'',10000000,'',0,'',600,'',2,'','discards_out','',0);
|
|
INSERT INTO data_template_rrd VALUES (51,0,0,38,'',10000000,'',0,'',600,'',2,'','errors_out','',0);
|
|
INSERT INTO data_template_rrd VALUES (52,0,0,40,'',1000000000,'',0,'',600,'',2,'','nonunicast_out','',0);
|
|
INSERT INTO data_template_rrd VALUES (53,0,0,40,'',1000000000,'',0,'',600,'',2,'','nonunicast_in','',0);
|
|
INSERT INTO data_template_rrd VALUES (55,0,0,41,'on',100000000,'',0,'',600,'',2,'','traffic_out','',0);
|
|
INSERT INTO data_template_rrd VALUES (56,0,0,37,'on',10000000000,'',0,'',600,'',1,'','hdd_used','',0);
|
|
INSERT INTO data_template_rrd VALUES (76,0,0,42,'',100,'',0,'',600,'',1,'','cpu','',0);
|
|
INSERT INTO data_template_rrd VALUES (77,0,0,43,'',10000000000,'',0,'',600,'',1,'','hdd_total','',0);
|
|
INSERT INTO data_template_rrd VALUES (78,0,0,43,'',10000000000,'',0,'',600,'',1,'','hdd_used','',0);
|
|
INSERT INTO data_template_rrd VALUES (79,0,0,44,'',100,'',0,'',600,'',1,'','cpu','',0);
|
|
INSERT INTO data_template_rrd VALUES (81,0,0,46,'',5000,'',0,'',600,'',1,'','users','',0);
|
|
INSERT INTO data_template_rrd VALUES (82,15,1,12,NULL,10000000,NULL,0,NULL,600,NULL,1,NULL,'mem_buffers',NULL,23);
|
|
INSERT INTO data_template_rrd VALUES (83,17,2,14,NULL,1000000,NULL,0,NULL,600,NULL,1,NULL,'mem_cache',NULL,23);
|
|
INSERT INTO data_template_rrd VALUES (84,16,3,13,NULL,10000000,NULL,0,NULL,600,NULL,1,NULL,'mem_buffers',NULL,23);
|
|
INSERT INTO data_template_rrd VALUES (85,18,4,15,NULL,1000000,NULL,0,NULL,600,NULL,1,NULL,'mem_swap',NULL,23);
|
|
INSERT INTO data_template_rrd VALUES (86,12,5,11,NULL,500,NULL,0,NULL,600,NULL,1,NULL,'load_1min',NULL,17);
|
|
INSERT INTO data_template_rrd VALUES (87,13,5,11,NULL,500,NULL,0,NULL,600,NULL,1,NULL,'load_5min',NULL,18);
|
|
INSERT INTO data_template_rrd VALUES (88,14,5,11,NULL,500,NULL,0,NULL,600,NULL,1,NULL,'load_15min',NULL,19);
|
|
INSERT INTO data_template_rrd VALUES (89,20,6,17,NULL,500,NULL,0,NULL,600,NULL,1,NULL,'users',NULL,21);
|
|
INSERT INTO data_template_rrd VALUES (90,19,7,16,NULL,1000,NULL,0,NULL,600,NULL,1,NULL,'proc',NULL,24);
|
|
|
|
--
|
|
-- Table structure for table 'graph_local'
|
|
--
|
|
|
|
CREATE TABLE graph_local (
|
|
id mediumint(8) unsigned NOT NULL auto_increment,
|
|
graph_template_id mediumint(8) unsigned NOT NULL default '0',
|
|
host_id mediumint(8) unsigned NOT NULL default '0',
|
|
snmp_query_id mediumint(8) NOT NULL default '0',
|
|
snmp_index varchar(60) NOT NULL default '',
|
|
PRIMARY KEY (id),
|
|
UNIQUE KEY id (id),
|
|
KEY id_2 (id)
|
|
) TYPE=MyISAM COMMENT='Creates a relationship for each item in a custom graph.';
|
|
|
|
--
|
|
-- Dumping data for table 'graph_local'
|
|
--
|
|
|
|
|
|
INSERT INTO graph_local VALUES (1,12,1,0,'');
|
|
INSERT INTO graph_local VALUES (2,9,1,0,'');
|
|
INSERT INTO graph_local VALUES (3,10,1,0,'');
|
|
INSERT INTO graph_local VALUES (4,8,1,0,'');
|
|
|
|
--
|
|
-- Table structure for table 'graph_template_input'
|
|
--
|
|
|
|
CREATE TABLE graph_template_input (
|
|
id mediumint(8) unsigned NOT NULL auto_increment,
|
|
graph_template_id mediumint(8) unsigned NOT NULL default '0',
|
|
name varchar(255) NOT NULL default '',
|
|
description text,
|
|
column_name varchar(50) NOT NULL default '',
|
|
PRIMARY KEY (id),
|
|
UNIQUE KEY id (id),
|
|
KEY id_2 (id),
|
|
KEY id_3 (id)
|
|
) TYPE=MyISAM COMMENT='Stores the names for graph item input groups.';
|
|
|
|
--
|
|
-- Dumping data for table 'graph_template_input'
|
|
--
|
|
|
|
|
|
INSERT INTO graph_template_input VALUES (1,1,'Inbound Data Source','','task_item_id');
|
|
INSERT INTO graph_template_input VALUES (2,1,'Outbound Data Source','','task_item_id');
|
|
INSERT INTO graph_template_input VALUES (3,2,'Inbound Data Source','','task_item_id');
|
|
INSERT INTO graph_template_input VALUES (4,2,'Outbound Data Source','','task_item_id');
|
|
INSERT INTO graph_template_input VALUES (5,3,'Available Disk Space Data Source','','task_item_id');
|
|
INSERT INTO graph_template_input VALUES (6,3,'Used Disk Space Data Source','','task_item_id');
|
|
INSERT INTO graph_template_input VALUES (7,5,'Signal Level Data Source','','task_item_id');
|
|
INSERT INTO graph_template_input VALUES (8,5,'Noise Level Data Source','','task_item_id');
|
|
INSERT INTO graph_template_input VALUES (9,5,'Signal Level Color','','color_id');
|
|
INSERT INTO graph_template_input VALUES (10,5,'Noise Level Color','','color_id');
|
|
INSERT INTO graph_template_input VALUES (11,6,'Transmissions Data Source','','task_item_id');
|
|
INSERT INTO graph_template_input VALUES (12,6,'Re-Transmissions Data Source','','task_item_id');
|
|
INSERT INTO graph_template_input VALUES (13,6,'Transmissions Color','','color_id');
|
|
INSERT INTO graph_template_input VALUES (14,6,'Re-Transmissions Color','','color_id');
|
|
INSERT INTO graph_template_input VALUES (15,7,'Ping Host Data Source','','task_item_id');
|
|
INSERT INTO graph_template_input VALUES (16,7,'Legend Color','','color_id');
|
|
INSERT INTO graph_template_input VALUES (17,7,'Legend Text','','text_format');
|
|
INSERT INTO graph_template_input VALUES (18,8,'Processes Data Source','','task_item_id');
|
|
INSERT INTO graph_template_input VALUES (19,8,'Legend Color','','color_id');
|
|
INSERT INTO graph_template_input VALUES (20,9,'1 Minute Data Source','','task_item_id');
|
|
INSERT INTO graph_template_input VALUES (21,9,'5 Minute Data Source','','task_item_id');
|
|
INSERT INTO graph_template_input VALUES (22,9,'15 Minute Data Source','','task_item_id');
|
|
INSERT INTO graph_template_input VALUES (23,10,'Logged in Users Data Source','','task_item_id');
|
|
INSERT INTO graph_template_input VALUES (24,10,'Legend Color','','color_id');
|
|
INSERT INTO graph_template_input VALUES (25,11,'1 Minute Data Source','','task_item_id');
|
|
INSERT INTO graph_template_input VALUES (26,11,'5 Minute Data Source','','task_item_id');
|
|
INSERT INTO graph_template_input VALUES (27,11,'15 Minute Data Source','','task_item_id');
|
|
INSERT INTO graph_template_input VALUES (28,12,'Buffers Data Source','','task_item_id');
|
|
INSERT INTO graph_template_input VALUES (29,12,'Cache Data Source','','task_item_id');
|
|
INSERT INTO graph_template_input VALUES (30,12,'Free Data Source','','task_item_id');
|
|
INSERT INTO graph_template_input VALUES (31,12,'Swap Data Source','','task_item_id');
|
|
INSERT INTO graph_template_input VALUES (32,4,'System CPU Data Source','','task_item_id');
|
|
INSERT INTO graph_template_input VALUES (33,4,'User CPU Data Source','','task_item_id');
|
|
INSERT INTO graph_template_input VALUES (34,4,'Nice CPU Data Source','','task_item_id');
|
|
INSERT INTO graph_template_input VALUES (35,13,'Memory Free Data Source','','task_item_id');
|
|
INSERT INTO graph_template_input VALUES (36,13,'Memory Buffers Data Source','','task_item_id');
|
|
INSERT INTO graph_template_input VALUES (37,14,'Cache Hits Data Source','','task_item_id');
|
|
INSERT INTO graph_template_input VALUES (38,14,'Cache Checks Data Source','','task_item_id');
|
|
INSERT INTO graph_template_input VALUES (39,15,'CPU Utilization Data Source','','task_item_id');
|
|
INSERT INTO graph_template_input VALUES (40,16,'File System Reads Data Source','','task_item_id');
|
|
INSERT INTO graph_template_input VALUES (41,16,'File System Writes Data Source','','task_item_id');
|
|
INSERT INTO graph_template_input VALUES (42,17,'Current Logins Data Source','','task_item_id');
|
|
INSERT INTO graph_template_input VALUES (73,30,'Open Files Data Source','','task_item_id');
|
|
INSERT INTO graph_template_input VALUES (44,15,'Legend Color','','color_id');
|
|
INSERT INTO graph_template_input VALUES (45,18,'CPU Usage Data Source','','task_item_id');
|
|
INSERT INTO graph_template_input VALUES (46,18,'Legend Color','','color_id');
|
|
INSERT INTO graph_template_input VALUES (47,19,'Free Space Data Source','','task_item_id');
|
|
INSERT INTO graph_template_input VALUES (48,19,'Total Space Data Source','','task_item_id');
|
|
INSERT INTO graph_template_input VALUES (49,19,'Freeable Space Data Source','','task_item_id');
|
|
INSERT INTO graph_template_input VALUES (53,21,'Available Disk Space Data Source','','task_item_id');
|
|
INSERT INTO graph_template_input VALUES (51,20,'Used Directory Entries Data Source','','task_item_id');
|
|
INSERT INTO graph_template_input VALUES (52,20,'Available Directory Entries Data Source','','task_item_id');
|
|
INSERT INTO graph_template_input VALUES (54,21,'Used Disk Space Data Source','','task_item_id');
|
|
INSERT INTO graph_template_input VALUES (55,22,'Discards In Data Source','','task_item_id');
|
|
INSERT INTO graph_template_input VALUES (56,22,'Errors In Data Source','','task_item_id');
|
|
INSERT INTO graph_template_input VALUES (57,23,'Unicast Packets Out Data Source','','task_item_id');
|
|
INSERT INTO graph_template_input VALUES (58,23,'Unicast Packets In Data Source','','task_item_id');
|
|
INSERT INTO graph_template_input VALUES (59,24,'Non-Unicast Packets In Data Source','','task_item_id');
|
|
INSERT INTO graph_template_input VALUES (60,24,'Non-Unicast Packets Out Data Source','','task_item_id');
|
|
INSERT INTO graph_template_input VALUES (61,22,'Discards Out Data Source','','task_item_id');
|
|
INSERT INTO graph_template_input VALUES (62,22,'Errors Out Data Source','','task_item_id');
|
|
INSERT INTO graph_template_input VALUES (63,25,'Inbound Data Source','','task_item_id');
|
|
INSERT INTO graph_template_input VALUES (64,25,'Outbound Data Source','','task_item_id');
|
|
INSERT INTO graph_template_input VALUES (65,26,'Total Disk Space Data Source','','task_item_id');
|
|
INSERT INTO graph_template_input VALUES (66,26,'Used Disk Space Data Source','','task_item_id');
|
|
INSERT INTO graph_template_input VALUES (67,27,'CPU Utilization Data Source','','task_item_id');
|
|
INSERT INTO graph_template_input VALUES (68,27,'Legend Color','','color_id');
|
|
INSERT INTO graph_template_input VALUES (69,28,'Logged in Users Data Source','','task_item_id');
|
|
INSERT INTO graph_template_input VALUES (70,28,'Legend Color','','color_id');
|
|
INSERT INTO graph_template_input VALUES (71,29,'Processes Data Source','','task_item_id');
|
|
INSERT INTO graph_template_input VALUES (72,29,'Legend Color','','color_id');
|
|
|
|
--
|
|
-- Table structure for table 'graph_template_input_defs'
|
|
--
|
|
|
|
CREATE TABLE graph_template_input_defs (
|
|
graph_template_input_id mediumint(8) unsigned NOT NULL default '0',
|
|
graph_template_item_id int(12) unsigned NOT NULL default '0',
|
|
PRIMARY KEY (graph_template_input_id,graph_template_item_id),
|
|
KEY graph_template_input_id (graph_template_input_id)
|
|
) TYPE=MyISAM COMMENT='Stores the relationship for what graph iitems are associated';
|
|
|
|
--
|
|
-- Dumping data for table 'graph_template_input_defs'
|
|
--
|
|
|
|
|
|
INSERT INTO graph_template_input_defs VALUES (1,1);
|
|
INSERT INTO graph_template_input_defs VALUES (1,2);
|
|
INSERT INTO graph_template_input_defs VALUES (1,3);
|
|
INSERT INTO graph_template_input_defs VALUES (1,4);
|
|
INSERT INTO graph_template_input_defs VALUES (2,5);
|
|
INSERT INTO graph_template_input_defs VALUES (2,6);
|
|
INSERT INTO graph_template_input_defs VALUES (2,7);
|
|
INSERT INTO graph_template_input_defs VALUES (2,8);
|
|
INSERT INTO graph_template_input_defs VALUES (3,9);
|
|
INSERT INTO graph_template_input_defs VALUES (3,10);
|
|
INSERT INTO graph_template_input_defs VALUES (3,11);
|
|
INSERT INTO graph_template_input_defs VALUES (3,12);
|
|
INSERT INTO graph_template_input_defs VALUES (4,13);
|
|
INSERT INTO graph_template_input_defs VALUES (4,14);
|
|
INSERT INTO graph_template_input_defs VALUES (4,15);
|
|
INSERT INTO graph_template_input_defs VALUES (4,16);
|
|
INSERT INTO graph_template_input_defs VALUES (5,21);
|
|
INSERT INTO graph_template_input_defs VALUES (5,22);
|
|
INSERT INTO graph_template_input_defs VALUES (5,23);
|
|
INSERT INTO graph_template_input_defs VALUES (5,24);
|
|
INSERT INTO graph_template_input_defs VALUES (6,17);
|
|
INSERT INTO graph_template_input_defs VALUES (6,18);
|
|
INSERT INTO graph_template_input_defs VALUES (6,19);
|
|
INSERT INTO graph_template_input_defs VALUES (6,20);
|
|
INSERT INTO graph_template_input_defs VALUES (7,45);
|
|
INSERT INTO graph_template_input_defs VALUES (7,46);
|
|
INSERT INTO graph_template_input_defs VALUES (7,47);
|
|
INSERT INTO graph_template_input_defs VALUES (7,48);
|
|
INSERT INTO graph_template_input_defs VALUES (8,49);
|
|
INSERT INTO graph_template_input_defs VALUES (8,50);
|
|
INSERT INTO graph_template_input_defs VALUES (8,51);
|
|
INSERT INTO graph_template_input_defs VALUES (8,52);
|
|
INSERT INTO graph_template_input_defs VALUES (9,45);
|
|
INSERT INTO graph_template_input_defs VALUES (10,49);
|
|
INSERT INTO graph_template_input_defs VALUES (11,53);
|
|
INSERT INTO graph_template_input_defs VALUES (11,54);
|
|
INSERT INTO graph_template_input_defs VALUES (11,55);
|
|
INSERT INTO graph_template_input_defs VALUES (11,56);
|
|
INSERT INTO graph_template_input_defs VALUES (12,57);
|
|
INSERT INTO graph_template_input_defs VALUES (12,58);
|
|
INSERT INTO graph_template_input_defs VALUES (12,59);
|
|
INSERT INTO graph_template_input_defs VALUES (12,60);
|
|
INSERT INTO graph_template_input_defs VALUES (13,53);
|
|
INSERT INTO graph_template_input_defs VALUES (14,57);
|
|
INSERT INTO graph_template_input_defs VALUES (15,61);
|
|
INSERT INTO graph_template_input_defs VALUES (15,62);
|
|
INSERT INTO graph_template_input_defs VALUES (15,63);
|
|
INSERT INTO graph_template_input_defs VALUES (15,64);
|
|
INSERT INTO graph_template_input_defs VALUES (16,61);
|
|
INSERT INTO graph_template_input_defs VALUES (17,61);
|
|
INSERT INTO graph_template_input_defs VALUES (18,65);
|
|
INSERT INTO graph_template_input_defs VALUES (18,66);
|
|
INSERT INTO graph_template_input_defs VALUES (18,67);
|
|
INSERT INTO graph_template_input_defs VALUES (18,68);
|
|
INSERT INTO graph_template_input_defs VALUES (19,65);
|
|
INSERT INTO graph_template_input_defs VALUES (20,69);
|
|
INSERT INTO graph_template_input_defs VALUES (20,70);
|
|
INSERT INTO graph_template_input_defs VALUES (21,71);
|
|
INSERT INTO graph_template_input_defs VALUES (21,72);
|
|
INSERT INTO graph_template_input_defs VALUES (22,73);
|
|
INSERT INTO graph_template_input_defs VALUES (22,74);
|
|
INSERT INTO graph_template_input_defs VALUES (23,76);
|
|
INSERT INTO graph_template_input_defs VALUES (23,77);
|
|
INSERT INTO graph_template_input_defs VALUES (23,78);
|
|
INSERT INTO graph_template_input_defs VALUES (23,79);
|
|
INSERT INTO graph_template_input_defs VALUES (24,76);
|
|
INSERT INTO graph_template_input_defs VALUES (25,80);
|
|
INSERT INTO graph_template_input_defs VALUES (25,81);
|
|
INSERT INTO graph_template_input_defs VALUES (26,82);
|
|
INSERT INTO graph_template_input_defs VALUES (26,83);
|
|
INSERT INTO graph_template_input_defs VALUES (27,84);
|
|
INSERT INTO graph_template_input_defs VALUES (27,85);
|
|
INSERT INTO graph_template_input_defs VALUES (28,87);
|
|
INSERT INTO graph_template_input_defs VALUES (28,88);
|
|
INSERT INTO graph_template_input_defs VALUES (28,89);
|
|
INSERT INTO graph_template_input_defs VALUES (28,90);
|
|
INSERT INTO graph_template_input_defs VALUES (29,91);
|
|
INSERT INTO graph_template_input_defs VALUES (29,92);
|
|
INSERT INTO graph_template_input_defs VALUES (29,93);
|
|
INSERT INTO graph_template_input_defs VALUES (29,94);
|
|
INSERT INTO graph_template_input_defs VALUES (30,95);
|
|
INSERT INTO graph_template_input_defs VALUES (30,96);
|
|
INSERT INTO graph_template_input_defs VALUES (30,97);
|
|
INSERT INTO graph_template_input_defs VALUES (30,98);
|
|
INSERT INTO graph_template_input_defs VALUES (31,99);
|
|
INSERT INTO graph_template_input_defs VALUES (31,100);
|
|
INSERT INTO graph_template_input_defs VALUES (31,101);
|
|
INSERT INTO graph_template_input_defs VALUES (31,102);
|
|
INSERT INTO graph_template_input_defs VALUES (32,29);
|
|
INSERT INTO graph_template_input_defs VALUES (32,30);
|
|
INSERT INTO graph_template_input_defs VALUES (32,31);
|
|
INSERT INTO graph_template_input_defs VALUES (32,32);
|
|
INSERT INTO graph_template_input_defs VALUES (33,33);
|
|
INSERT INTO graph_template_input_defs VALUES (33,34);
|
|
INSERT INTO graph_template_input_defs VALUES (33,35);
|
|
INSERT INTO graph_template_input_defs VALUES (33,36);
|
|
INSERT INTO graph_template_input_defs VALUES (34,37);
|
|
INSERT INTO graph_template_input_defs VALUES (34,38);
|
|
INSERT INTO graph_template_input_defs VALUES (34,39);
|
|
INSERT INTO graph_template_input_defs VALUES (34,40);
|
|
INSERT INTO graph_template_input_defs VALUES (35,103);
|
|
INSERT INTO graph_template_input_defs VALUES (35,104);
|
|
INSERT INTO graph_template_input_defs VALUES (35,105);
|
|
INSERT INTO graph_template_input_defs VALUES (35,106);
|
|
INSERT INTO graph_template_input_defs VALUES (36,107);
|
|
INSERT INTO graph_template_input_defs VALUES (36,108);
|
|
INSERT INTO graph_template_input_defs VALUES (36,109);
|
|
INSERT INTO graph_template_input_defs VALUES (36,110);
|
|
INSERT INTO graph_template_input_defs VALUES (37,111);
|
|
INSERT INTO graph_template_input_defs VALUES (37,112);
|
|
INSERT INTO graph_template_input_defs VALUES (37,113);
|
|
INSERT INTO graph_template_input_defs VALUES (37,114);
|
|
INSERT INTO graph_template_input_defs VALUES (38,115);
|
|
INSERT INTO graph_template_input_defs VALUES (38,116);
|
|
INSERT INTO graph_template_input_defs VALUES (38,117);
|
|
INSERT INTO graph_template_input_defs VALUES (38,118);
|
|
INSERT INTO graph_template_input_defs VALUES (39,119);
|
|
INSERT INTO graph_template_input_defs VALUES (39,120);
|
|
INSERT INTO graph_template_input_defs VALUES (39,121);
|
|
INSERT INTO graph_template_input_defs VALUES (39,122);
|
|
INSERT INTO graph_template_input_defs VALUES (40,123);
|
|
INSERT INTO graph_template_input_defs VALUES (40,124);
|
|
INSERT INTO graph_template_input_defs VALUES (40,125);
|
|
INSERT INTO graph_template_input_defs VALUES (40,126);
|
|
INSERT INTO graph_template_input_defs VALUES (41,127);
|
|
INSERT INTO graph_template_input_defs VALUES (41,128);
|
|
INSERT INTO graph_template_input_defs VALUES (41,129);
|
|
INSERT INTO graph_template_input_defs VALUES (41,130);
|
|
INSERT INTO graph_template_input_defs VALUES (42,131);
|
|
INSERT INTO graph_template_input_defs VALUES (42,132);
|
|
INSERT INTO graph_template_input_defs VALUES (42,133);
|
|
INSERT INTO graph_template_input_defs VALUES (42,134);
|
|
INSERT INTO graph_template_input_defs VALUES (44,119);
|
|
INSERT INTO graph_template_input_defs VALUES (45,139);
|
|
INSERT INTO graph_template_input_defs VALUES (45,140);
|
|
INSERT INTO graph_template_input_defs VALUES (45,141);
|
|
INSERT INTO graph_template_input_defs VALUES (45,142);
|
|
INSERT INTO graph_template_input_defs VALUES (46,139);
|
|
INSERT INTO graph_template_input_defs VALUES (47,143);
|
|
INSERT INTO graph_template_input_defs VALUES (47,144);
|
|
INSERT INTO graph_template_input_defs VALUES (47,145);
|
|
INSERT INTO graph_template_input_defs VALUES (47,146);
|
|
INSERT INTO graph_template_input_defs VALUES (48,147);
|
|
INSERT INTO graph_template_input_defs VALUES (48,148);
|
|
INSERT INTO graph_template_input_defs VALUES (48,149);
|
|
INSERT INTO graph_template_input_defs VALUES (48,150);
|
|
INSERT INTO graph_template_input_defs VALUES (49,151);
|
|
INSERT INTO graph_template_input_defs VALUES (49,152);
|
|
INSERT INTO graph_template_input_defs VALUES (49,153);
|
|
INSERT INTO graph_template_input_defs VALUES (49,154);
|
|
INSERT INTO graph_template_input_defs VALUES (51,159);
|
|
INSERT INTO graph_template_input_defs VALUES (51,160);
|
|
INSERT INTO graph_template_input_defs VALUES (51,161);
|
|
INSERT INTO graph_template_input_defs VALUES (51,162);
|
|
INSERT INTO graph_template_input_defs VALUES (52,163);
|
|
INSERT INTO graph_template_input_defs VALUES (52,164);
|
|
INSERT INTO graph_template_input_defs VALUES (52,165);
|
|
INSERT INTO graph_template_input_defs VALUES (52,166);
|
|
INSERT INTO graph_template_input_defs VALUES (53,172);
|
|
INSERT INTO graph_template_input_defs VALUES (53,173);
|
|
INSERT INTO graph_template_input_defs VALUES (53,174);
|
|
INSERT INTO graph_template_input_defs VALUES (53,175);
|
|
INSERT INTO graph_template_input_defs VALUES (54,167);
|
|
INSERT INTO graph_template_input_defs VALUES (54,169);
|
|
INSERT INTO graph_template_input_defs VALUES (54,170);
|
|
INSERT INTO graph_template_input_defs VALUES (54,171);
|
|
INSERT INTO graph_template_input_defs VALUES (55,180);
|
|
INSERT INTO graph_template_input_defs VALUES (55,181);
|
|
INSERT INTO graph_template_input_defs VALUES (55,182);
|
|
INSERT INTO graph_template_input_defs VALUES (55,183);
|
|
INSERT INTO graph_template_input_defs VALUES (56,184);
|
|
INSERT INTO graph_template_input_defs VALUES (56,185);
|
|
INSERT INTO graph_template_input_defs VALUES (56,186);
|
|
INSERT INTO graph_template_input_defs VALUES (56,187);
|
|
INSERT INTO graph_template_input_defs VALUES (57,188);
|
|
INSERT INTO graph_template_input_defs VALUES (57,189);
|
|
INSERT INTO graph_template_input_defs VALUES (57,190);
|
|
INSERT INTO graph_template_input_defs VALUES (57,191);
|
|
INSERT INTO graph_template_input_defs VALUES (58,192);
|
|
INSERT INTO graph_template_input_defs VALUES (58,193);
|
|
INSERT INTO graph_template_input_defs VALUES (58,194);
|
|
INSERT INTO graph_template_input_defs VALUES (58,195);
|
|
INSERT INTO graph_template_input_defs VALUES (59,196);
|
|
INSERT INTO graph_template_input_defs VALUES (59,197);
|
|
INSERT INTO graph_template_input_defs VALUES (59,198);
|
|
INSERT INTO graph_template_input_defs VALUES (59,199);
|
|
INSERT INTO graph_template_input_defs VALUES (60,200);
|
|
INSERT INTO graph_template_input_defs VALUES (60,201);
|
|
INSERT INTO graph_template_input_defs VALUES (60,202);
|
|
INSERT INTO graph_template_input_defs VALUES (60,203);
|
|
INSERT INTO graph_template_input_defs VALUES (61,204);
|
|
INSERT INTO graph_template_input_defs VALUES (61,205);
|
|
INSERT INTO graph_template_input_defs VALUES (61,206);
|
|
INSERT INTO graph_template_input_defs VALUES (61,207);
|
|
INSERT INTO graph_template_input_defs VALUES (62,208);
|
|
INSERT INTO graph_template_input_defs VALUES (62,209);
|
|
INSERT INTO graph_template_input_defs VALUES (62,210);
|
|
INSERT INTO graph_template_input_defs VALUES (62,211);
|
|
INSERT INTO graph_template_input_defs VALUES (63,212);
|
|
INSERT INTO graph_template_input_defs VALUES (63,213);
|
|
INSERT INTO graph_template_input_defs VALUES (63,214);
|
|
INSERT INTO graph_template_input_defs VALUES (63,215);
|
|
INSERT INTO graph_template_input_defs VALUES (64,216);
|
|
INSERT INTO graph_template_input_defs VALUES (64,217);
|
|
INSERT INTO graph_template_input_defs VALUES (64,218);
|
|
INSERT INTO graph_template_input_defs VALUES (64,219);
|
|
INSERT INTO graph_template_input_defs VALUES (65,307);
|
|
INSERT INTO graph_template_input_defs VALUES (65,308);
|
|
INSERT INTO graph_template_input_defs VALUES (65,309);
|
|
INSERT INTO graph_template_input_defs VALUES (65,310);
|
|
INSERT INTO graph_template_input_defs VALUES (66,303);
|
|
INSERT INTO graph_template_input_defs VALUES (66,304);
|
|
INSERT INTO graph_template_input_defs VALUES (66,305);
|
|
INSERT INTO graph_template_input_defs VALUES (66,306);
|
|
INSERT INTO graph_template_input_defs VALUES (67,315);
|
|
INSERT INTO graph_template_input_defs VALUES (67,316);
|
|
INSERT INTO graph_template_input_defs VALUES (67,317);
|
|
INSERT INTO graph_template_input_defs VALUES (67,318);
|
|
INSERT INTO graph_template_input_defs VALUES (68,315);
|
|
INSERT INTO graph_template_input_defs VALUES (69,319);
|
|
INSERT INTO graph_template_input_defs VALUES (69,320);
|
|
INSERT INTO graph_template_input_defs VALUES (69,321);
|
|
INSERT INTO graph_template_input_defs VALUES (69,322);
|
|
INSERT INTO graph_template_input_defs VALUES (70,319);
|
|
INSERT INTO graph_template_input_defs VALUES (71,323);
|
|
INSERT INTO graph_template_input_defs VALUES (71,324);
|
|
INSERT INTO graph_template_input_defs VALUES (71,325);
|
|
INSERT INTO graph_template_input_defs VALUES (71,326);
|
|
INSERT INTO graph_template_input_defs VALUES (72,323);
|
|
INSERT INTO graph_template_input_defs VALUES (73,358);
|
|
INSERT INTO graph_template_input_defs VALUES (73,359);
|
|
INSERT INTO graph_template_input_defs VALUES (73,360);
|
|
INSERT INTO graph_template_input_defs VALUES (73,361);
|
|
|
|
--
|
|
-- Table structure for table 'graph_templates'
|
|
--
|
|
|
|
CREATE TABLE graph_templates (
|
|
id mediumint(8) unsigned NOT NULL auto_increment,
|
|
name char(255) NOT NULL default '',
|
|
PRIMARY KEY (id),
|
|
UNIQUE KEY id (id),
|
|
KEY id_2 (id)
|
|
) TYPE=MyISAM COMMENT='Contains each graph template name.';
|
|
|
|
--
|
|
-- Dumping data for table 'graph_templates'
|
|
--
|
|
|
|
|
|
INSERT INTO graph_templates VALUES (1,'Interface - Traffic (bytes/sec) - 0.6.x');
|
|
INSERT INTO graph_templates VALUES (2,'Interface - Traffic (bits/sec)');
|
|
INSERT INTO graph_templates VALUES (3,'ucd/net - Available Disk Space');
|
|
INSERT INTO graph_templates VALUES (4,'ucd/net - CPU Usage');
|
|
INSERT INTO graph_templates VALUES (5,'Karlnet - Wireless Levels');
|
|
INSERT INTO graph_templates VALUES (6,'Karlnet - Wireless Transmissions');
|
|
INSERT INTO graph_templates VALUES (7,'Unix - Ping Latency');
|
|
INSERT INTO graph_templates VALUES (8,'Unix - Processes');
|
|
INSERT INTO graph_templates VALUES (9,'Unix - Load Average');
|
|
INSERT INTO graph_templates VALUES (10,'Unix - Logged in Users');
|
|
INSERT INTO graph_templates VALUES (11,'ucd/net - Load Average');
|
|
INSERT INTO graph_templates VALUES (12,'Linux - Memory Usage');
|
|
INSERT INTO graph_templates VALUES (13,'ucd/net - Memory Usage');
|
|
INSERT INTO graph_templates VALUES (14,'Netware - File System Cache');
|
|
INSERT INTO graph_templates VALUES (15,'Netware - CPU Utilization');
|
|
INSERT INTO graph_templates VALUES (16,'Netware - File System Activity');
|
|
INSERT INTO graph_templates VALUES (17,'Netware - Logged In Users');
|
|
INSERT INTO graph_templates VALUES (18,'Cisco - CPU Usage');
|
|
INSERT INTO graph_templates VALUES (19,'Netware - Volume Information');
|
|
INSERT INTO graph_templates VALUES (20,'Netware - Directory Information');
|
|
INSERT INTO graph_templates VALUES (21,'Unix - Available Disk Space');
|
|
INSERT INTO graph_templates VALUES (22,'Interface - Errors/Discards');
|
|
INSERT INTO graph_templates VALUES (23,'Interface - Unicast Packets');
|
|
INSERT INTO graph_templates VALUES (24,'Interface - Non-Unicast Packets');
|
|
INSERT INTO graph_templates VALUES (25,'Interface - Traffic (bytes/sec)');
|
|
INSERT INTO graph_templates VALUES (26,'Host MIB - Available Disk Space');
|
|
INSERT INTO graph_templates VALUES (27,'Host MIB - CPU Utilization');
|
|
INSERT INTO graph_templates VALUES (28,'Host MIB - Logged in Users');
|
|
INSERT INTO graph_templates VALUES (29,'Host MIB - Processes');
|
|
INSERT INTO graph_templates VALUES (30,'Netware - Open Files');
|
|
|
|
--
|
|
-- Table structure for table 'graph_templates_gprint'
|
|
--
|
|
|
|
CREATE TABLE graph_templates_gprint (
|
|
id mediumint(8) unsigned NOT NULL auto_increment,
|
|
name varchar(100) NOT NULL default '',
|
|
gprint_text varchar(255) default NULL,
|
|
PRIMARY KEY (id),
|
|
UNIQUE KEY id (id),
|
|
KEY id_2 (id)
|
|
) TYPE=MyISAM;
|
|
|
|
--
|
|
-- Dumping data for table 'graph_templates_gprint'
|
|
--
|
|
|
|
|
|
INSERT INTO graph_templates_gprint VALUES (2,'Normal','%8.2lf %s');
|
|
INSERT INTO graph_templates_gprint VALUES (3,'Exact Numbers','%8.0lf');
|
|
INSERT INTO graph_templates_gprint VALUES (4,'Load Average','%8.2lf');
|
|
|
|
--
|
|
-- Table structure for table 'graph_templates_graph'
|
|
--
|
|
|
|
CREATE TABLE graph_templates_graph (
|
|
id mediumint(8) unsigned NOT NULL auto_increment,
|
|
local_graph_template_graph_id mediumint(8) unsigned NOT NULL default '0',
|
|
local_graph_id mediumint(8) unsigned NOT NULL default '0',
|
|
graph_template_id mediumint(8) unsigned NOT NULL default '0',
|
|
t_image_format_id char(2) default '0',
|
|
image_format_id tinyint(1) NOT NULL default '0',
|
|
t_title char(2) default '0',
|
|
title varchar(255) NOT NULL default '',
|
|
title_cache varchar(255) NOT NULL default '',
|
|
t_height char(2) default '0',
|
|
height mediumint(8) NOT NULL default '0',
|
|
t_width char(2) default '0',
|
|
width mediumint(8) NOT NULL default '0',
|
|
t_upper_limit char(2) default '0',
|
|
upper_limit bigint(12) NOT NULL default '0',
|
|
t_lower_limit char(2) default '0',
|
|
lower_limit bigint(12) NOT NULL default '0',
|
|
t_vertical_label char(2) default '0',
|
|
vertical_label varchar(200) default NULL,
|
|
t_auto_scale char(2) default '0',
|
|
auto_scale char(2) default NULL,
|
|
t_auto_scale_opts char(2) default '0',
|
|
auto_scale_opts tinyint(1) NOT NULL default '0',
|
|
t_auto_scale_log char(2) default '0',
|
|
auto_scale_log char(2) default NULL,
|
|
t_auto_scale_rigid char(2) default '0',
|
|
auto_scale_rigid char(2) default NULL,
|
|
t_auto_padding char(2) default '0',
|
|
auto_padding char(2) default NULL,
|
|
t_base_value char(2) default '0',
|
|
base_value mediumint(8) NOT NULL default '0',
|
|
t_grouping char(2) default '0',
|
|
grouping char(2) NOT NULL default '',
|
|
t_export char(2) default '0',
|
|
export char(2) default NULL,
|
|
t_unit_value char(2) default '0',
|
|
unit_value varchar(20) default NULL,
|
|
t_unit_exponent_value char(2) default '0',
|
|
unit_exponent_value smallint(5) NOT NULL default '0',
|
|
PRIMARY KEY (id),
|
|
UNIQUE KEY id (id),
|
|
KEY local_graph_id (local_graph_id),
|
|
KEY id_2 (id),
|
|
KEY graph_template_id (graph_template_id)
|
|
) TYPE=MyISAM COMMENT='Stores the actual graph data.';
|
|
|
|
--
|
|
-- Dumping data for table 'graph_templates_graph'
|
|
--
|
|
|
|
|
|
INSERT INTO graph_templates_graph VALUES (1,0,0,1,'',1,'on','|host_description| - Traffic','','',120,'',500,'',100,'',0,'','bytes per second','','on','',2,'','','','on','','on','',1000,'0','','','on','','','',0);
|
|
INSERT INTO graph_templates_graph VALUES (2,0,0,2,'',1,'on','|host_description| - Traffic','','',120,'',500,'',100,'',0,'','bits per second','','on','',2,'','','','on','','on','',1000,'0','','','on','','','',0);
|
|
INSERT INTO graph_templates_graph VALUES (3,0,0,3,'',1,'on','|host_description| - Hard Drive Space','','',120,'',500,'',100,'',0,'','bytes','','on','',2,'','','','on','','on','',1024,'0','','','on','','','',0);
|
|
INSERT INTO graph_templates_graph VALUES (4,0,0,4,'',1,'on','|host_description| - CPU Usage','','',120,'',500,'',100,'',0,'','percent','','on','',2,'','','','on','','on','',1000,'0','','','on','','','',0);
|
|
INSERT INTO graph_templates_graph VALUES (5,0,0,5,'',1,'on','|host_description| - Wireless Levels','','',120,'',500,'',100,'',0,'','percent','','','',2,'','','','on','','on','',1000,'0','','','on','','','',0);
|
|
INSERT INTO graph_templates_graph VALUES (6,0,0,6,'',1,'on','|host_description| - Wireless Transmissions','','',120,'',500,'',100,'',0,'','transmissions','','on','',2,'','','','on','','on','',1000,'0','','','on','','','',0);
|
|
INSERT INTO graph_templates_graph VALUES (7,0,0,7,'',1,'on','|host_description| - Ping Latency','','',120,'',500,'',100,'',0,'','milliseconds','','on','',2,'','','','','','on','',1000,'0','','','on','','','',0);
|
|
INSERT INTO graph_templates_graph VALUES (8,0,0,8,'',1,'on','|host_description| - Processes','','',120,'',500,'',100,'',0,'','processes','','on','',2,'','','','','','on','',1000,'0','','','on','','','',0);
|
|
INSERT INTO graph_templates_graph VALUES (9,0,0,9,'',1,'on','|host_description| - Load Average','','',120,'',500,'',100,'',0,'','processes in the run queue','','on','',2,'','','','on','','on','',1000,'0','','','on','','','',0);
|
|
INSERT INTO graph_templates_graph VALUES (10,0,0,10,'',1,'on','|host_description| - Logged in Users','','',120,'',500,'',100,'',0,'','users','','on','',2,'','','','on','','on','',1000,'0','','','on','','','',0);
|
|
INSERT INTO graph_templates_graph VALUES (11,0,0,11,'',1,'on','|host_description| - Load Average','','',120,'',500,'',100,'',0,'','processes in the run queue','','on','',2,'','','','on','','on','',1000,'0','','','on','','','',0);
|
|
INSERT INTO graph_templates_graph VALUES (12,0,0,12,'',1,'on','|host_description| - Memory Usage','','',120,'',500,'',100,'',0,'','kilobytes','','on','',2,'','','','on','','on','',1000,'0','','','on','','','',0);
|
|
INSERT INTO graph_templates_graph VALUES (13,0,0,13,'',1,'on','|host_description| - Memory Usage','','',120,'',500,'',100,'',0,'','bytes','','on','',2,'','','','on','','on','',1000,'0','','','on','','','',0);
|
|
INSERT INTO graph_templates_graph VALUES (14,0,0,14,'',1,'on','|host_description| - File System Cache','','',120,'',500,'',100,'',0,'','cache checks/hits','','on','',2,'','','','on','','on','',1000,'0','','','on','','','',0);
|
|
INSERT INTO graph_templates_graph VALUES (15,0,0,15,'',1,'on','|host_description| - CPU Utilization','','',120,'',500,'',100,'',0,'','percent','','on','',2,'','','','on','','on','',1000,'0','','','on','','','',0);
|
|
INSERT INTO graph_templates_graph VALUES (16,0,0,16,'',1,'on','|host_description| - File System Activity','','',120,'',500,'',100,'',0,'','reads/writes per sec','','on','',2,'','','','on','','on','',1000,'0','','','on','','','',0);
|
|
INSERT INTO graph_templates_graph VALUES (17,0,0,17,'',1,'on','|host_description| - Logged In Users','','',120,'',500,'',100,'',0,'','users','','on','',2,'','','','on','','on','',1000,'0','','','on','','','',0);
|
|
INSERT INTO graph_templates_graph VALUES (18,0,0,18,'',1,'on','|host_description| - CPU Usage','','',120,'',500,'',100,'',0,'','percent','','on','',2,'','','','on','','on','',1000,'0','','','on','','','',0);
|
|
INSERT INTO graph_templates_graph VALUES (19,0,0,19,'',1,'on','|host_description| - Volume Information','','',120,'',500,'',100,'',0,'','bytes','','on','',2,'','','','on','','on','',1000,'0','','','on','','','',0);
|
|
INSERT INTO graph_templates_graph VALUES (20,0,0,20,'',1,'on','|host_description| - Directory Information','','',120,'',500,'',100,'',0,'','directory entries','','on','',2,'','','','on','','on','',1000,'0','','','on','','','',0);
|
|
INSERT INTO graph_templates_graph VALUES (21,0,0,21,'',1,'on','|host_description| - Available Disk Space','','',120,'',500,'',100,'',0,'','bytes','','on','',2,'','','','on','','on','',1000,'0','','','on','','','',0);
|
|
INSERT INTO graph_templates_graph VALUES (22,0,0,22,'',1,'on','|host_description| - Errors/Discards','','',120,'',500,'',100,'',0,'','errors/sec','','on','',2,'','','','on','','on','',1000,'0','','','on','','','',0);
|
|
INSERT INTO graph_templates_graph VALUES (23,0,0,23,'',1,'on','|host_description| - Unicast Packets','','',120,'',500,'',100,'',0,'','packets/sec','','on','',2,'','','','on','','on','',1000,'0','','','on','','','',0);
|
|
INSERT INTO graph_templates_graph VALUES (24,0,0,24,'',1,'on','|host_description| - Non-Unicast Packets','','',120,'',500,'',100,'',0,'','packets/sec','','on','',2,'','','','on','','on','',1000,'0','','','on','','','',0);
|
|
INSERT INTO graph_templates_graph VALUES (25,0,0,25,'',1,'on','|host_description| - Traffic','','',120,'',500,'',100,'',0,'','bytes per second','','on','',2,'','','','on','','on','',1000,'0','','','on','','','',0);
|
|
INSERT INTO graph_templates_graph VALUES (34,0,0,26,'',1,'on','|host_description| - Available Disk Space','','',120,'',500,'',100,'',0,'','bytes','','on','',2,'','','','on','','on','',1000,'0','','','on','','','',0);
|
|
INSERT INTO graph_templates_graph VALUES (35,0,0,27,'',1,'on','|host_description| - CPU Utilization','','',120,'',500,'',100,'',0,'','percent','','on','',2,'','','','on','','on','',1000,'0','','','on','','','',0);
|
|
INSERT INTO graph_templates_graph VALUES (36,0,0,28,'',1,'on','|host_description| - Logged in Users','','',120,'',500,'',100,'',0,'','users','','on','',2,'','','','on','','on','',1000,'0','','','on','','','',0);
|
|
INSERT INTO graph_templates_graph VALUES (37,0,0,29,'',1,'on','|host_description| - Processes','','',120,'',500,'',100,'',0,'','processes','','on','',2,'','','','','','on','',1000,'0','','','on','','','',0);
|
|
INSERT INTO graph_templates_graph VALUES (38,12,1,12,'0',1,'0','|host_description| - Memory Usage','Localhost - Memory Usage','0',120,'0',500,'0',100,'0',0,'0','kilobytes','0','on','0',2,'0','','0','on','0','on','0',1000,'0','','0','on','0','','0',0);
|
|
INSERT INTO graph_templates_graph VALUES (39,9,2,9,'0',1,'0','|host_description| - Load Average','Localhost - Load Average','0',120,'0',500,'0',100,'0',0,'0','processes in the run queue','0','on','0',2,'0','','0','on','0','on','0',1000,'0','','0','on','0','','0',0);
|
|
INSERT INTO graph_templates_graph VALUES (40,10,3,10,'0',1,'0','|host_description| - Logged in Users','Localhost - Logged in Users','0',120,'0',500,'0',100,'0',0,'0','users','0','on','0',2,'0','','0','on','0','on','0',1000,'0','','0','on','0','','0',0);
|
|
INSERT INTO graph_templates_graph VALUES (41,8,4,8,'0',1,'0','|host_description| - Processes','Localhost - Processes','0',120,'0',500,'0',100,'0',0,'0','processes','0','on','0',2,'0','','0','','0','on','0',1000,'0','','0','on','0','','0',0);
|
|
INSERT INTO graph_templates_graph VALUES (42,0,0,30,'',1,'on','|host_description| - Open Files','','',120,'',500,'',100,'',0,'','files','','on','',2,'','','','','','on','',1000,'0','','','on','','','',0);
|
|
|
|
--
|
|
-- Table structure for table 'graph_templates_item'
|
|
--
|
|
|
|
CREATE TABLE graph_templates_item (
|
|
id int(12) unsigned NOT NULL auto_increment,
|
|
local_graph_template_item_id int(12) unsigned NOT NULL default '0',
|
|
local_graph_id mediumint(8) unsigned NOT NULL default '0',
|
|
graph_template_id mediumint(8) unsigned NOT NULL default '0',
|
|
task_item_id mediumint(8) unsigned NOT NULL default '0',
|
|
color_id mediumint(8) unsigned NOT NULL default '0',
|
|
graph_type_id tinyint(3) NOT NULL default '0',
|
|
cdef_id mediumint(8) unsigned NOT NULL default '0',
|
|
consolidation_function_id tinyint(2) NOT NULL default '0',
|
|
text_format varchar(255) default NULL,
|
|
value varchar(255) default NULL,
|
|
hard_return char(2) default NULL,
|
|
gprint_id mediumint(8) unsigned NOT NULL default '0',
|
|
sequence mediumint(8) unsigned NOT NULL default '0',
|
|
PRIMARY KEY (id),
|
|
UNIQUE KEY id (id),
|
|
KEY graph_template_id (graph_template_id),
|
|
KEY id_2 (id),
|
|
KEY local_graph_id (local_graph_id)
|
|
) TYPE=MyISAM COMMENT='Stores the actual graph item data.';
|
|
|
|
--
|
|
-- Dumping data for table 'graph_templates_item'
|
|
--
|
|
|
|
|
|
INSERT INTO graph_templates_item VALUES (1,0,0,1,1,22,7,0,1,'Inbound','','',2,1);
|
|
INSERT INTO graph_templates_item VALUES (2,0,0,1,1,0,9,0,4,'Current:','','',2,2);
|
|
INSERT INTO graph_templates_item VALUES (3,0,0,1,1,0,9,0,1,'Average:','','',2,3);
|
|
INSERT INTO graph_templates_item VALUES (4,0,0,1,1,0,9,0,3,'Maximum:','','on',2,4);
|
|
INSERT INTO graph_templates_item VALUES (5,0,0,1,2,20,4,0,1,'Outbound','','',2,5);
|
|
INSERT INTO graph_templates_item VALUES (6,0,0,1,2,0,9,0,4,'Current:','','',2,6);
|
|
INSERT INTO graph_templates_item VALUES (7,0,0,1,2,0,9,0,1,'Average:','','',2,7);
|
|
INSERT INTO graph_templates_item VALUES (8,0,0,1,2,0,9,0,3,'Maximum:','','',2,8);
|
|
INSERT INTO graph_templates_item VALUES (9,0,0,2,54,22,7,2,1,'Inbound','','',2,1);
|
|
INSERT INTO graph_templates_item VALUES (10,0,0,2,54,0,9,2,4,'Current:','','',2,2);
|
|
INSERT INTO graph_templates_item VALUES (11,0,0,2,54,0,9,2,1,'Average:','','',2,3);
|
|
INSERT INTO graph_templates_item VALUES (12,0,0,2,54,0,9,2,3,'Maximum:','','on',2,4);
|
|
INSERT INTO graph_templates_item VALUES (13,0,0,2,55,20,4,2,1,'Outbound','','',2,5);
|
|
INSERT INTO graph_templates_item VALUES (14,0,0,2,55,0,9,2,4,'Current:','','',2,6);
|
|
INSERT INTO graph_templates_item VALUES (15,0,0,2,55,0,9,2,1,'Average:','','',2,7);
|
|
INSERT INTO graph_templates_item VALUES (16,0,0,2,55,0,9,2,3,'Maximum:','','',2,8);
|
|
INSERT INTO graph_templates_item VALUES (17,0,0,3,4,48,7,14,1,'Used','','',2,1);
|
|
INSERT INTO graph_templates_item VALUES (18,0,0,3,4,0,9,14,4,'Current:','','',2,2);
|
|
INSERT INTO graph_templates_item VALUES (19,0,0,3,4,0,9,14,1,'Average:','','',2,3);
|
|
INSERT INTO graph_templates_item VALUES (20,0,0,3,4,0,9,14,3,'Maximum:','','on',2,4);
|
|
INSERT INTO graph_templates_item VALUES (21,0,0,3,3,20,8,14,1,'Available','','',2,5);
|
|
INSERT INTO graph_templates_item VALUES (22,0,0,3,3,0,9,14,4,'Current:','','',2,6);
|
|
INSERT INTO graph_templates_item VALUES (23,0,0,3,3,0,9,14,1,'Average:','','',2,7);
|
|
INSERT INTO graph_templates_item VALUES (24,0,0,3,3,0,9,14,3,'Maximum:','','on',2,8);
|
|
INSERT INTO graph_templates_item VALUES (25,0,0,3,0,1,5,15,1,'Total','','',2,9);
|
|
INSERT INTO graph_templates_item VALUES (26,0,0,3,0,0,9,15,4,'Current:','','',2,10);
|
|
INSERT INTO graph_templates_item VALUES (27,0,0,3,0,0,9,15,1,'Average:','','',2,11);
|
|
INSERT INTO graph_templates_item VALUES (28,0,0,3,0,0,9,15,3,'Maximum:','','',2,12);
|
|
INSERT INTO graph_templates_item VALUES (29,0,0,4,5,9,7,0,1,'System','','',2,1);
|
|
INSERT INTO graph_templates_item VALUES (30,0,0,4,5,0,9,0,4,'Current:','','',2,2);
|
|
INSERT INTO graph_templates_item VALUES (31,0,0,4,5,0,9,0,1,'Average:','','',2,3);
|
|
INSERT INTO graph_templates_item VALUES (32,0,0,4,5,0,9,0,3,'Maximum:','','on',2,4);
|
|
INSERT INTO graph_templates_item VALUES (33,0,0,4,6,21,8,0,1,'User','','',2,5);
|
|
INSERT INTO graph_templates_item VALUES (34,0,0,4,6,0,9,0,4,'Current:','','',2,6);
|
|
INSERT INTO graph_templates_item VALUES (35,0,0,4,6,0,9,0,1,'Average:','','',2,7);
|
|
INSERT INTO graph_templates_item VALUES (36,0,0,4,6,0,9,0,3,'Maximum:','','on',2,8);
|
|
INSERT INTO graph_templates_item VALUES (37,0,0,4,7,12,8,0,1,'Nice','','',2,9);
|
|
INSERT INTO graph_templates_item VALUES (38,0,0,4,7,0,9,0,4,'Current:','','',2,10);
|
|
INSERT INTO graph_templates_item VALUES (39,0,0,4,7,0,9,0,1,'Average:','','',2,11);
|
|
INSERT INTO graph_templates_item VALUES (40,0,0,4,7,0,9,0,3,'Maximum:','','on',2,12);
|
|
INSERT INTO graph_templates_item VALUES (41,0,0,4,0,1,4,12,1,'Total','','',2,13);
|
|
INSERT INTO graph_templates_item VALUES (42,0,0,4,0,0,9,12,4,'Current:','','',2,14);
|
|
INSERT INTO graph_templates_item VALUES (43,0,0,4,0,0,9,12,1,'Average:','','',2,15);
|
|
INSERT INTO graph_templates_item VALUES (44,0,0,4,0,0,9,12,3,'Maximum:','','',2,16);
|
|
INSERT INTO graph_templates_item VALUES (45,0,0,5,9,48,7,0,1,'Signal Level','','',2,1);
|
|
INSERT INTO graph_templates_item VALUES (46,0,0,5,9,0,9,0,4,'Current:','','',2,2);
|
|
INSERT INTO graph_templates_item VALUES (47,0,0,5,9,0,9,0,1,'Average:','','',2,3);
|
|
INSERT INTO graph_templates_item VALUES (48,0,0,5,9,0,9,0,3,'Maximum:','','on',2,4);
|
|
INSERT INTO graph_templates_item VALUES (49,0,0,5,8,25,5,0,1,'Noise Level','','',2,5);
|
|
INSERT INTO graph_templates_item VALUES (50,0,0,5,8,0,9,0,4,'Current:','','',2,6);
|
|
INSERT INTO graph_templates_item VALUES (51,0,0,5,8,0,9,0,1,'Average:','','',2,7);
|
|
INSERT INTO graph_templates_item VALUES (52,0,0,5,8,0,9,0,3,'Maximum:','','',2,8);
|
|
INSERT INTO graph_templates_item VALUES (53,0,0,6,10,48,7,0,1,'Transmissions','','',2,1);
|
|
INSERT INTO graph_templates_item VALUES (54,0,0,6,10,0,9,0,4,'Current:','','',2,2);
|
|
INSERT INTO graph_templates_item VALUES (55,0,0,6,10,0,9,0,1,'Average:','','',2,3);
|
|
INSERT INTO graph_templates_item VALUES (56,0,0,6,10,0,9,0,3,'Maximum:','','on',2,4);
|
|
INSERT INTO graph_templates_item VALUES (57,0,0,6,11,25,5,0,1,'Re-Transmissions','','',2,5);
|
|
INSERT INTO graph_templates_item VALUES (58,0,0,6,11,0,9,0,4,'Current:','','',2,6);
|
|
INSERT INTO graph_templates_item VALUES (59,0,0,6,11,0,9,0,1,'Average:','','',2,7);
|
|
INSERT INTO graph_templates_item VALUES (60,0,0,6,11,0,9,0,3,'Maximum:','','',2,8);
|
|
INSERT INTO graph_templates_item VALUES (61,0,0,7,21,25,7,0,1,'','','',2,1);
|
|
INSERT INTO graph_templates_item VALUES (62,0,0,7,21,0,9,0,4,'Current:','','',2,2);
|
|
INSERT INTO graph_templates_item VALUES (63,0,0,7,21,0,9,0,1,'Average:','','',2,3);
|
|
INSERT INTO graph_templates_item VALUES (64,0,0,7,21,0,9,0,3,'Maximum:','','',2,4);
|
|
INSERT INTO graph_templates_item VALUES (65,0,0,8,19,48,7,0,1,'Running Processes','','',2,1);
|
|
INSERT INTO graph_templates_item VALUES (66,0,0,8,19,0,9,0,4,'Current:','','',3,2);
|
|
INSERT INTO graph_templates_item VALUES (67,0,0,8,19,0,9,0,1,'Average:','','',3,3);
|
|
INSERT INTO graph_templates_item VALUES (68,0,0,8,19,0,9,0,3,'Maximum:','','',3,4);
|
|
INSERT INTO graph_templates_item VALUES (69,0,0,9,12,15,7,0,1,'1 Minute Average','','',2,1);
|
|
INSERT INTO graph_templates_item VALUES (70,0,0,9,12,0,9,0,4,'Current:','','on',4,2);
|
|
INSERT INTO graph_templates_item VALUES (71,0,0,9,13,8,8,0,1,'5 Minute Average','','',2,3);
|
|
INSERT INTO graph_templates_item VALUES (72,0,0,9,13,0,9,0,4,'Current:','','on',4,4);
|
|
INSERT INTO graph_templates_item VALUES (73,0,0,9,14,9,8,0,1,'15 Minute Average','','',2,5);
|
|
INSERT INTO graph_templates_item VALUES (74,0,0,9,14,0,9,0,4,'Current:','','on',4,6);
|
|
INSERT INTO graph_templates_item VALUES (75,0,0,9,0,1,4,12,1,'','','',2,7);
|
|
INSERT INTO graph_templates_item VALUES (76,0,0,10,20,67,7,0,1,'Users','','',2,1);
|
|
INSERT INTO graph_templates_item VALUES (77,0,0,10,20,0,9,0,4,'Current:','','',3,2);
|
|
INSERT INTO graph_templates_item VALUES (78,0,0,10,20,0,9,0,1,'Average:','','',3,3);
|
|
INSERT INTO graph_templates_item VALUES (79,0,0,10,20,0,9,0,3,'Maximum:','','',3,4);
|
|
INSERT INTO graph_templates_item VALUES (80,0,0,11,33,15,7,0,1,'1 Minute Average','','',2,1);
|
|
INSERT INTO graph_templates_item VALUES (81,0,0,11,33,0,9,0,4,'Current:','','on',3,2);
|
|
INSERT INTO graph_templates_item VALUES (82,0,0,11,34,8,8,0,1,'5 Minute Average','','',2,3);
|
|
INSERT INTO graph_templates_item VALUES (83,0,0,11,34,0,9,0,4,'Current:','','on',3,4);
|
|
INSERT INTO graph_templates_item VALUES (84,0,0,11,35,9,8,0,1,'15 Minute Average','','',2,5);
|
|
INSERT INTO graph_templates_item VALUES (85,0,0,11,35,0,9,0,4,'Current:','','on',3,6);
|
|
INSERT INTO graph_templates_item VALUES (86,0,0,11,0,1,4,12,1,'Total','','',2,7);
|
|
INSERT INTO graph_templates_item VALUES (87,0,0,12,15,34,7,0,1,'Buffers','','',2,1);
|
|
INSERT INTO graph_templates_item VALUES (88,0,0,12,15,0,9,0,4,'Current:','','',2,2);
|
|
INSERT INTO graph_templates_item VALUES (89,0,0,12,15,0,9,0,1,'Average:','','',2,3);
|
|
INSERT INTO graph_templates_item VALUES (90,0,0,12,15,0,9,0,3,'Maximum:','','on',2,4);
|
|
INSERT INTO graph_templates_item VALUES (91,0,0,12,17,42,8,0,1,'Cache','','',2,5);
|
|
INSERT INTO graph_templates_item VALUES (92,0,0,12,17,0,9,0,4,'Current:','','',2,6);
|
|
INSERT INTO graph_templates_item VALUES (93,0,0,12,17,0,9,0,1,'Average:','','',2,7);
|
|
INSERT INTO graph_templates_item VALUES (94,0,0,12,17,0,9,0,3,'Maximum:','','on',2,8);
|
|
INSERT INTO graph_templates_item VALUES (95,0,0,12,16,41,8,0,1,'Free','','',2,9);
|
|
INSERT INTO graph_templates_item VALUES (96,0,0,12,16,0,9,0,4,'Current:','','',2,10);
|
|
INSERT INTO graph_templates_item VALUES (97,0,0,12,16,0,9,0,1,'Average:','','',2,11);
|
|
INSERT INTO graph_templates_item VALUES (98,0,0,12,16,0,9,0,3,'Maximum:','','on',2,12);
|
|
INSERT INTO graph_templates_item VALUES (99,0,0,12,18,30,8,0,1,'Swap','','',2,13);
|
|
INSERT INTO graph_templates_item VALUES (100,0,0,12,18,0,9,0,4,'Current:','','',2,14);
|
|
INSERT INTO graph_templates_item VALUES (101,0,0,12,18,0,9,0,1,'Average:','','',2,15);
|
|
INSERT INTO graph_templates_item VALUES (102,0,0,12,18,0,9,0,3,'Maximum:','','',2,16);
|
|
INSERT INTO graph_templates_item VALUES (103,0,0,13,37,52,7,14,1,'Memory Free','','',2,1);
|
|
INSERT INTO graph_templates_item VALUES (104,0,0,13,37,0,9,14,4,'Current:','','',2,2);
|
|
INSERT INTO graph_templates_item VALUES (105,0,0,13,37,0,9,14,1,'Average:','','',2,3);
|
|
INSERT INTO graph_templates_item VALUES (106,0,0,13,37,0,9,14,3,'Maximum:','','on',2,4);
|
|
INSERT INTO graph_templates_item VALUES (107,0,0,13,36,35,8,14,1,'Memory Buffers','','',2,5);
|
|
INSERT INTO graph_templates_item VALUES (108,0,0,13,36,0,9,14,4,'Current:','','',2,6);
|
|
INSERT INTO graph_templates_item VALUES (109,0,0,13,36,0,9,14,1,'Average:','','',2,7);
|
|
INSERT INTO graph_templates_item VALUES (110,0,0,13,36,0,9,14,3,'Maximum:','','',2,8);
|
|
INSERT INTO graph_templates_item VALUES (111,0,0,14,28,41,7,0,1,'Cache Hits','','',2,1);
|
|
INSERT INTO graph_templates_item VALUES (112,0,0,14,28,0,9,0,4,'Current:','','',3,2);
|
|
INSERT INTO graph_templates_item VALUES (113,0,0,14,28,0,9,0,1,'Average:','','',3,3);
|
|
INSERT INTO graph_templates_item VALUES (114,0,0,14,28,0,9,0,3,'Maximum:','','on',3,4);
|
|
INSERT INTO graph_templates_item VALUES (115,0,0,14,27,66,8,0,1,'Cache Checks','','',2,5);
|
|
INSERT INTO graph_templates_item VALUES (116,0,0,14,27,0,9,0,4,'Current:','','',3,6);
|
|
INSERT INTO graph_templates_item VALUES (117,0,0,14,27,0,9,0,1,'Average:','','',3,7);
|
|
INSERT INTO graph_templates_item VALUES (118,0,0,14,27,0,9,0,3,'Maximum:','','',3,8);
|
|
INSERT INTO graph_templates_item VALUES (119,0,0,15,76,9,7,0,1,'CPU Utilization','','',2,1);
|
|
INSERT INTO graph_templates_item VALUES (120,0,0,15,76,0,9,0,4,'Current:','','',3,2);
|
|
INSERT INTO graph_templates_item VALUES (121,0,0,15,76,0,9,0,1,'Average:','','',3,3);
|
|
INSERT INTO graph_templates_item VALUES (122,0,0,15,76,0,9,0,3,'Maximum:','','',3,4);
|
|
INSERT INTO graph_templates_item VALUES (123,0,0,16,25,67,7,0,1,'File System Reads','','',2,1);
|
|
INSERT INTO graph_templates_item VALUES (124,0,0,16,25,0,9,0,4,'Current:','','',3,2);
|
|
INSERT INTO graph_templates_item VALUES (125,0,0,16,25,0,9,0,1,'Average:','','',3,3);
|
|
INSERT INTO graph_templates_item VALUES (126,0,0,16,25,0,9,0,3,'Maximum:','','on',3,4);
|
|
INSERT INTO graph_templates_item VALUES (127,0,0,16,26,93,8,0,1,'File System Writes','','',2,5);
|
|
INSERT INTO graph_templates_item VALUES (128,0,0,16,26,0,9,0,4,'Current:','','',3,6);
|
|
INSERT INTO graph_templates_item VALUES (129,0,0,16,26,0,9,0,1,'Average:','','',3,7);
|
|
INSERT INTO graph_templates_item VALUES (130,0,0,16,26,0,9,0,3,'Maximum:','','',3,8);
|
|
INSERT INTO graph_templates_item VALUES (131,0,0,17,23,30,7,0,1,'Current Logins','','',2,1);
|
|
INSERT INTO graph_templates_item VALUES (132,0,0,17,23,0,9,0,4,'Current:','','',3,2);
|
|
INSERT INTO graph_templates_item VALUES (133,0,0,17,23,0,9,0,1,'Average:','','',3,3);
|
|
INSERT INTO graph_templates_item VALUES (134,0,0,17,23,0,9,0,3,'Maximum:','','on',3,4);
|
|
INSERT INTO graph_templates_item VALUES (360,0,0,30,29,0,9,0,1,'Average:','','',3,3);
|
|
INSERT INTO graph_templates_item VALUES (359,0,0,30,29,0,9,0,4,'Current:','','',3,2);
|
|
INSERT INTO graph_templates_item VALUES (358,0,0,30,29,89,7,0,1,'Open Files','','',2,1);
|
|
INSERT INTO graph_templates_item VALUES (139,0,0,18,30,9,7,0,1,'CPU Usage','','',2,1);
|
|
INSERT INTO graph_templates_item VALUES (140,0,0,18,30,0,9,0,4,'Current:','','',3,2);
|
|
INSERT INTO graph_templates_item VALUES (141,0,0,18,30,0,9,0,1,'Average:','','',3,3);
|
|
INSERT INTO graph_templates_item VALUES (142,0,0,18,30,0,9,0,3,'Maximum:','','',3,4);
|
|
INSERT INTO graph_templates_item VALUES (143,0,0,19,39,25,7,14,1,'Free Space','','',2,5);
|
|
INSERT INTO graph_templates_item VALUES (144,0,0,19,39,0,9,14,4,'Current:','','',2,6);
|
|
INSERT INTO graph_templates_item VALUES (145,0,0,19,39,0,9,14,1,'Average:','','',2,7);
|
|
INSERT INTO graph_templates_item VALUES (146,0,0,19,39,0,9,14,3,'Maximum:','','on',2,8);
|
|
INSERT INTO graph_templates_item VALUES (147,0,0,19,38,69,7,14,1,'Total Space','','',2,1);
|
|
INSERT INTO graph_templates_item VALUES (148,0,0,19,38,0,9,14,4,'Current:','','',2,2);
|
|
INSERT INTO graph_templates_item VALUES (149,0,0,19,38,0,9,14,1,'Average:','','',2,3);
|
|
INSERT INTO graph_templates_item VALUES (150,0,0,19,38,0,9,14,3,'Maximum:','','on',2,4);
|
|
INSERT INTO graph_templates_item VALUES (151,0,0,19,40,95,5,14,1,'Freeable Space','','',2,9);
|
|
INSERT INTO graph_templates_item VALUES (152,0,0,19,40,0,9,14,4,'Current:','','',2,10);
|
|
INSERT INTO graph_templates_item VALUES (153,0,0,19,40,0,9,14,1,'Average:','','',2,11);
|
|
INSERT INTO graph_templates_item VALUES (154,0,0,19,40,0,9,14,3,'Maximum:','','on',2,12);
|
|
INSERT INTO graph_templates_item VALUES (171,0,0,21,56,0,9,14,3,'Maximum:','','on',2,4);
|
|
INSERT INTO graph_templates_item VALUES (170,0,0,21,56,0,9,14,1,'Average:','','',2,3);
|
|
INSERT INTO graph_templates_item VALUES (169,0,0,21,56,0,9,14,4,'Current:','','',2,2);
|
|
INSERT INTO graph_templates_item VALUES (167,0,0,21,56,48,7,14,1,'Used','','',2,1);
|
|
INSERT INTO graph_templates_item VALUES (159,0,0,20,43,77,7,0,1,'Used Directory Entries','','',2,1);
|
|
INSERT INTO graph_templates_item VALUES (160,0,0,20,43,0,9,0,4,'Current:','','',3,2);
|
|
INSERT INTO graph_templates_item VALUES (161,0,0,20,43,0,9,0,1,'Average:','','',3,3);
|
|
INSERT INTO graph_templates_item VALUES (162,0,0,20,43,0,9,0,3,'Maximum:','','on',3,4);
|
|
INSERT INTO graph_templates_item VALUES (163,0,0,20,42,1,5,0,1,'Available Directory Entries','','',2,5);
|
|
INSERT INTO graph_templates_item VALUES (164,0,0,20,42,0,9,0,4,'Current:','','',3,6);
|
|
INSERT INTO graph_templates_item VALUES (165,0,0,20,42,0,9,0,1,'Average:','','',3,7);
|
|
INSERT INTO graph_templates_item VALUES (166,0,0,20,42,0,9,0,3,'Maximum:','','',3,8);
|
|
INSERT INTO graph_templates_item VALUES (172,0,0,21,44,20,8,14,1,'Available','','',2,5);
|
|
INSERT INTO graph_templates_item VALUES (173,0,0,21,44,0,9,14,4,'Current:','','',2,6);
|
|
INSERT INTO graph_templates_item VALUES (174,0,0,21,44,0,9,14,1,'Average:','','',2,7);
|
|
INSERT INTO graph_templates_item VALUES (175,0,0,21,44,0,9,14,3,'Maximum:','','on',2,8);
|
|
INSERT INTO graph_templates_item VALUES (176,0,0,21,0,1,5,15,1,'Total','','',2,9);
|
|
INSERT INTO graph_templates_item VALUES (177,0,0,21,0,0,9,15,4,'Current:','','',2,10);
|
|
INSERT INTO graph_templates_item VALUES (178,0,0,21,0,0,9,15,1,'Average:','','',2,11);
|
|
INSERT INTO graph_templates_item VALUES (179,0,0,21,0,0,9,15,3,'Maximum:','','on',2,12);
|
|
INSERT INTO graph_templates_item VALUES (180,0,0,22,47,31,4,0,1,'Discards In','','',2,1);
|
|
INSERT INTO graph_templates_item VALUES (181,0,0,22,47,0,9,0,4,'Current:','','',2,2);
|
|
INSERT INTO graph_templates_item VALUES (182,0,0,22,47,0,9,0,1,'Average:','','',2,3);
|
|
INSERT INTO graph_templates_item VALUES (183,0,0,22,47,0,9,0,3,'Maximum:','','on',2,4);
|
|
INSERT INTO graph_templates_item VALUES (184,0,0,22,46,48,4,0,1,'Errors In','','',2,5);
|
|
INSERT INTO graph_templates_item VALUES (185,0,0,22,46,0,9,0,4,'Current:','','',2,6);
|
|
INSERT INTO graph_templates_item VALUES (186,0,0,22,46,0,9,0,1,'Average:','','',2,7);
|
|
INSERT INTO graph_templates_item VALUES (187,0,0,22,46,0,9,0,3,'Maximum:','','on',2,8);
|
|
INSERT INTO graph_templates_item VALUES (188,0,0,23,49,71,4,0,1,'Unicast Packets Out','','',2,5);
|
|
INSERT INTO graph_templates_item VALUES (189,0,0,23,49,0,9,0,4,'Current:','','',2,6);
|
|
INSERT INTO graph_templates_item VALUES (190,0,0,23,49,0,9,0,1,'Average:','','',2,7);
|
|
INSERT INTO graph_templates_item VALUES (191,0,0,23,49,0,9,0,3,'Maximum:','','on',2,8);
|
|
INSERT INTO graph_templates_item VALUES (192,0,0,23,48,25,7,0,1,'Unicast Packets In','','',2,1);
|
|
INSERT INTO graph_templates_item VALUES (193,0,0,23,48,0,9,0,4,'Current:','','',2,2);
|
|
INSERT INTO graph_templates_item VALUES (194,0,0,23,48,0,9,0,1,'Average:','','',2,3);
|
|
INSERT INTO graph_templates_item VALUES (195,0,0,23,48,0,9,0,3,'Maximum:','','on',2,4);
|
|
INSERT INTO graph_templates_item VALUES (196,0,0,24,53,25,7,0,1,'Non-Unicast Packets In','','',2,1);
|
|
INSERT INTO graph_templates_item VALUES (197,0,0,24,53,0,9,0,4,'Current:','','',2,2);
|
|
INSERT INTO graph_templates_item VALUES (198,0,0,24,53,0,9,0,1,'Average:','','',2,3);
|
|
INSERT INTO graph_templates_item VALUES (199,0,0,24,53,0,9,0,3,'Maximum:','','on',2,4);
|
|
INSERT INTO graph_templates_item VALUES (200,0,0,24,52,71,4,0,1,'Non-Unicast Packets Out','','',2,5);
|
|
INSERT INTO graph_templates_item VALUES (201,0,0,24,52,0,9,0,4,'Current:','','',2,6);
|
|
INSERT INTO graph_templates_item VALUES (202,0,0,24,52,0,9,0,1,'Average:','','',2,7);
|
|
INSERT INTO graph_templates_item VALUES (203,0,0,24,52,0,9,0,3,'Maximum:','','on',2,8);
|
|
INSERT INTO graph_templates_item VALUES (204,0,0,22,50,18,4,0,1,'Discards Out','','',2,9);
|
|
INSERT INTO graph_templates_item VALUES (205,0,0,22,50,0,9,0,4,'Current:','','',2,10);
|
|
INSERT INTO graph_templates_item VALUES (206,0,0,22,50,0,9,0,1,'Average:','','',2,11);
|
|
INSERT INTO graph_templates_item VALUES (207,0,0,22,50,0,9,0,3,'Maximum:','','on',2,12);
|
|
INSERT INTO graph_templates_item VALUES (208,0,0,22,51,89,4,0,1,'Errors Out','','',2,13);
|
|
INSERT INTO graph_templates_item VALUES (209,0,0,22,51,0,9,0,4,'Current:','','',2,14);
|
|
INSERT INTO graph_templates_item VALUES (210,0,0,22,51,0,9,0,1,'Average:','','',2,15);
|
|
INSERT INTO graph_templates_item VALUES (211,0,0,22,51,0,9,0,3,'Maximum:','','on',2,16);
|
|
INSERT INTO graph_templates_item VALUES (212,0,0,25,54,22,7,0,1,'Inbound','','',2,1);
|
|
INSERT INTO graph_templates_item VALUES (213,0,0,25,54,0,9,0,4,'Current:','','',2,2);
|
|
INSERT INTO graph_templates_item VALUES (214,0,0,25,54,0,9,0,1,'Average:','','',2,3);
|
|
INSERT INTO graph_templates_item VALUES (215,0,0,25,54,0,9,0,3,'Maximum:','','on',2,4);
|
|
INSERT INTO graph_templates_item VALUES (216,0,0,25,55,20,4,0,1,'Outbound','','',2,5);
|
|
INSERT INTO graph_templates_item VALUES (217,0,0,25,55,0,9,0,4,'Current:','','',2,6);
|
|
INSERT INTO graph_templates_item VALUES (218,0,0,25,55,0,9,0,1,'Average:','','',2,7);
|
|
INSERT INTO graph_templates_item VALUES (219,0,0,25,55,0,9,0,3,'Maximum:','','',2,8);
|
|
INSERT INTO graph_templates_item VALUES (303,0,0,26,78,0,9,14,3,'Maximum:','','on',2,8);
|
|
INSERT INTO graph_templates_item VALUES (304,0,0,26,78,0,9,14,1,'Average:','','',2,7);
|
|
INSERT INTO graph_templates_item VALUES (305,0,0,26,78,0,9,14,4,'Current:','','',2,6);
|
|
INSERT INTO graph_templates_item VALUES (306,0,0,26,78,48,7,14,1,'Used','','',2,5);
|
|
INSERT INTO graph_templates_item VALUES (307,0,0,26,77,20,7,14,1,'Total','','',2,1);
|
|
INSERT INTO graph_templates_item VALUES (308,0,0,26,77,0,9,14,4,'Current:','','',2,2);
|
|
INSERT INTO graph_templates_item VALUES (309,0,0,26,77,0,9,14,1,'Average:','','',2,3);
|
|
INSERT INTO graph_templates_item VALUES (310,0,0,26,77,0,9,14,3,'Maximum:','','on',2,4);
|
|
INSERT INTO graph_templates_item VALUES (317,0,0,27,79,0,9,0,1,'Average:','','',3,3);
|
|
INSERT INTO graph_templates_item VALUES (316,0,0,27,79,0,9,0,4,'Current:','','',3,2);
|
|
INSERT INTO graph_templates_item VALUES (315,0,0,27,79,9,7,0,1,'CPU Utilization','','',2,1);
|
|
INSERT INTO graph_templates_item VALUES (318,0,0,27,79,0,9,0,3,'Maximum:','','',3,4);
|
|
INSERT INTO graph_templates_item VALUES (319,0,0,28,81,67,7,0,1,'Users','','',2,1);
|
|
INSERT INTO graph_templates_item VALUES (320,0,0,28,81,0,9,0,4,'Current:','','',3,2);
|
|
INSERT INTO graph_templates_item VALUES (321,0,0,28,81,0,9,0,1,'Average:','','',3,3);
|
|
INSERT INTO graph_templates_item VALUES (322,0,0,28,81,0,9,0,3,'Maximum:','','',3,4);
|
|
INSERT INTO graph_templates_item VALUES (323,0,0,29,80,48,7,0,1,'Running Processes','','',2,1);
|
|
INSERT INTO graph_templates_item VALUES (324,0,0,29,80,0,9,0,4,'Current:','','',3,2);
|
|
INSERT INTO graph_templates_item VALUES (325,0,0,29,80,0,9,0,1,'Average:','','',3,3);
|
|
INSERT INTO graph_templates_item VALUES (326,0,0,29,80,0,9,0,3,'Maximum:','','',3,4);
|
|
INSERT INTO graph_templates_item VALUES (327,87,1,12,82,34,7,0,1,'Buffers','','',2,1);
|
|
INSERT INTO graph_templates_item VALUES (328,88,1,12,82,0,9,0,4,'Current:','','',2,2);
|
|
INSERT INTO graph_templates_item VALUES (329,89,1,12,82,0,9,0,1,'Average:','','',2,3);
|
|
INSERT INTO graph_templates_item VALUES (330,90,1,12,82,0,9,0,3,'Maximum:','','on',2,4);
|
|
INSERT INTO graph_templates_item VALUES (331,91,1,12,83,42,8,0,1,'Cache','','',2,5);
|
|
INSERT INTO graph_templates_item VALUES (332,92,1,12,83,0,9,0,4,'Current:','','',2,6);
|
|
INSERT INTO graph_templates_item VALUES (333,93,1,12,83,0,9,0,1,'Average:','','',2,7);
|
|
INSERT INTO graph_templates_item VALUES (334,94,1,12,83,0,9,0,3,'Maximum:','','on',2,8);
|
|
INSERT INTO graph_templates_item VALUES (335,95,1,12,84,41,8,0,1,'Free','','',2,9);
|
|
INSERT INTO graph_templates_item VALUES (336,96,1,12,84,0,9,0,4,'Current:','','',2,10);
|
|
INSERT INTO graph_templates_item VALUES (337,97,1,12,84,0,9,0,1,'Average:','','',2,11);
|
|
INSERT INTO graph_templates_item VALUES (338,98,1,12,84,0,9,0,3,'Maximum:','','on',2,12);
|
|
INSERT INTO graph_templates_item VALUES (339,99,1,12,85,30,8,0,1,'Swap','','',2,13);
|
|
INSERT INTO graph_templates_item VALUES (340,100,1,12,85,0,9,0,4,'Current:','','',2,14);
|
|
INSERT INTO graph_templates_item VALUES (341,101,1,12,85,0,9,0,1,'Average:','','',2,15);
|
|
INSERT INTO graph_templates_item VALUES (342,102,1,12,85,0,9,0,3,'Maximum:','','',2,16);
|
|
INSERT INTO graph_templates_item VALUES (343,69,2,9,86,15,7,0,1,'1 Minute Average','','',2,1);
|
|
INSERT INTO graph_templates_item VALUES (344,70,2,9,86,0,9,0,4,'Current:','','on',4,2);
|
|
INSERT INTO graph_templates_item VALUES (345,71,2,9,87,8,8,0,1,'5 Minute Average','','',2,3);
|
|
INSERT INTO graph_templates_item VALUES (346,72,2,9,87,0,9,0,4,'Current:','','on',4,4);
|
|
INSERT INTO graph_templates_item VALUES (347,73,2,9,88,9,8,0,1,'15 Minute Average','','',2,5);
|
|
INSERT INTO graph_templates_item VALUES (348,74,2,9,88,0,9,0,4,'Current:','','on',4,6);
|
|
INSERT INTO graph_templates_item VALUES (349,75,2,9,0,1,4,12,1,'','','',2,7);
|
|
INSERT INTO graph_templates_item VALUES (350,76,3,10,89,67,7,0,1,'Users','','',2,1);
|
|
INSERT INTO graph_templates_item VALUES (351,77,3,10,89,0,9,0,4,'Current:','','',3,2);
|
|
INSERT INTO graph_templates_item VALUES (352,78,3,10,89,0,9,0,1,'Average:','','',3,3);
|
|
INSERT INTO graph_templates_item VALUES (353,79,3,10,89,0,9,0,3,'Maximum:','','',3,4);
|
|
INSERT INTO graph_templates_item VALUES (354,65,4,8,90,48,7,0,1,'Running Processes','','',2,1);
|
|
INSERT INTO graph_templates_item VALUES (355,66,4,8,90,0,9,0,4,'Current:','','',3,2);
|
|
INSERT INTO graph_templates_item VALUES (356,67,4,8,90,0,9,0,1,'Average:','','',3,3);
|
|
INSERT INTO graph_templates_item VALUES (357,68,4,8,90,0,9,0,3,'Maximum:','','',3,4);
|
|
INSERT INTO graph_templates_item VALUES (361,0,0,30,29,0,9,0,3,'Maximum:','','on',3,4);
|
|
|
|
--
|
|
-- Table structure for table 'graph_tree'
|
|
--
|
|
|
|
CREATE TABLE graph_tree (
|
|
id smallint(5) unsigned NOT NULL auto_increment,
|
|
user_id mediumint(8) unsigned NOT NULL default '0',
|
|
name varchar(255) NOT NULL default '',
|
|
PRIMARY KEY (id),
|
|
UNIQUE KEY ID (id),
|
|
KEY id_2 (id)
|
|
) TYPE=MyISAM;
|
|
|
|
--
|
|
-- Dumping data for table 'graph_tree'
|
|
--
|
|
|
|
|
|
INSERT INTO graph_tree VALUES (1,0,'Default Tree');
|
|
|
|
--
|
|
-- Table structure for table 'graph_tree_items'
|
|
--
|
|
|
|
CREATE TABLE graph_tree_items (
|
|
id smallint(5) unsigned NOT NULL auto_increment,
|
|
graph_tree_id smallint(5) unsigned NOT NULL default '0',
|
|
local_graph_id mediumint(8) unsigned NOT NULL default '0',
|
|
rra_id smallint(8) unsigned NOT NULL default '0',
|
|
title varchar(255) default NULL,
|
|
order_key varchar(60) NOT NULL default '0',
|
|
PRIMARY KEY (id),
|
|
UNIQUE KEY ID (id),
|
|
KEY id_2 (id),
|
|
KEY graph_tree_id (graph_tree_id)
|
|
) TYPE=MyISAM;
|
|
|
|
--
|
|
-- Dumping data for table 'graph_tree_items'
|
|
--
|
|
|
|
|
|
INSERT INTO graph_tree_items VALUES (1,1,0,1,'System Graphs','010000000000000000000000000000000000000000000000000000000000');
|
|
INSERT INTO graph_tree_items VALUES (2,1,2,1,'','010100000000000000000000000000000000000000000000000000000000');
|
|
INSERT INTO graph_tree_items VALUES (3,1,3,1,'','010200000000000000000000000000000000000000000000000000000000');
|
|
INSERT INTO graph_tree_items VALUES (4,1,1,1,'','010300000000000000000000000000000000000000000000000000000000');
|
|
INSERT INTO graph_tree_items VALUES (5,1,4,1,'','010400000000000000000000000000000000000000000000000000000000');
|
|
|
|
--
|
|
-- Table structure for table 'host'
|
|
--
|
|
|
|
CREATE TABLE host (
|
|
id mediumint(8) unsigned NOT NULL auto_increment,
|
|
host_template_id mediumint(8) unsigned NOT NULL default '0',
|
|
description varchar(150) NOT NULL default '',
|
|
hostname varchar(250) default NULL,
|
|
management_ip varchar(15) default NULL,
|
|
snmp_community varchar(100) default NULL,
|
|
snmp_version tinyint(1) unsigned NOT NULL default '1',
|
|
snmp_username varchar(50) default NULL,
|
|
snmp_password varchar(50) default NULL,
|
|
PRIMARY KEY (id),
|
|
UNIQUE KEY id (id),
|
|
KEY id_2 (id)
|
|
) TYPE=MyISAM;
|
|
|
|
--
|
|
-- Dumping data for table 'host'
|
|
--
|
|
|
|
|
|
INSERT INTO host VALUES (1,8,'Localhost','127.0.0.1','127.0.0.1','public',1,'','');
|
|
|
|
--
|
|
-- Table structure for table 'host_snmp_cache'
|
|
--
|
|
|
|
CREATE TABLE host_snmp_cache (
|
|
host_id mediumint(8) unsigned NOT NULL default '0',
|
|
snmp_query_id mediumint(8) unsigned NOT NULL default '0',
|
|
field_name varchar(50) NOT NULL default '',
|
|
field_value varchar(255) default NULL,
|
|
snmp_index varchar(60) NOT NULL default '',
|
|
oid varchar(255) NOT NULL default '',
|
|
PRIMARY KEY (host_id,field_name,snmp_index),
|
|
KEY host_id (host_id,field_name),
|
|
KEY snmp_index (snmp_index)
|
|
) TYPE=MyISAM;
|
|
|
|
--
|
|
-- Dumping data for table 'host_snmp_cache'
|
|
--
|
|
|
|
|
|
|
|
--
|
|
-- Table structure for table 'host_snmp_query'
|
|
--
|
|
|
|
CREATE TABLE host_snmp_query (
|
|
host_id mediumint(8) unsigned NOT NULL default '0',
|
|
snmp_query_id mediumint(8) unsigned NOT NULL default '0',
|
|
PRIMARY KEY (host_id,snmp_query_id),
|
|
KEY host_id (host_id)
|
|
) TYPE=MyISAM;
|
|
|
|
--
|
|
-- Dumping data for table 'host_snmp_query'
|
|
--
|
|
|
|
|
|
INSERT INTO host_snmp_query VALUES (1,6);
|
|
|
|
--
|
|
-- Table structure for table 'host_template'
|
|
--
|
|
|
|
CREATE TABLE host_template (
|
|
id mediumint(8) unsigned NOT NULL auto_increment,
|
|
name varchar(100) NOT NULL default '',
|
|
PRIMARY KEY (id),
|
|
UNIQUE KEY id (id),
|
|
KEY id_2 (id)
|
|
) TYPE=MyISAM;
|
|
|
|
--
|
|
-- Dumping data for table 'host_template'
|
|
--
|
|
|
|
|
|
INSERT INTO host_template VALUES (1,'Generic SNMP-enabled Host');
|
|
INSERT INTO host_template VALUES (3,'ucd/net SNMP Host');
|
|
INSERT INTO host_template VALUES (4,'Karlnet Wireless Bridge');
|
|
INSERT INTO host_template VALUES (5,'Cisco Router');
|
|
INSERT INTO host_template VALUES (6,'Netware 4/5 Server');
|
|
INSERT INTO host_template VALUES (7,'Windows 2000/XP Host');
|
|
INSERT INTO host_template VALUES (8,'Local Linux Machine');
|
|
|
|
--
|
|
-- Table structure for table 'host_template_data_sv'
|
|
--
|
|
|
|
CREATE TABLE host_template_data_sv (
|
|
host_template_id mediumint(8) unsigned NOT NULL default '0',
|
|
data_template_id mediumint(8) unsigned NOT NULL default '0',
|
|
graph_template_id mediumint(8) unsigned NOT NULL default '0',
|
|
field_name varchar(100) NOT NULL default '',
|
|
text varchar(255) NOT NULL default '',
|
|
PRIMARY KEY (host_template_id,data_template_id,graph_template_id,field_name),
|
|
KEY host_template_id (host_template_id)
|
|
) TYPE=MyISAM;
|
|
|
|
--
|
|
-- Dumping data for table 'host_template_data_sv'
|
|
--
|
|
|
|
|
|
INSERT INTO host_template_data_sv VALUES (6,22,16,'name','|host_description| - File System Reads');
|
|
INSERT INTO host_template_data_sv VALUES (6,23,16,'name','|host_description| - File System Writes');
|
|
INSERT INTO host_template_data_sv VALUES (6,24,14,'name','|host_description| - Cache Checks');
|
|
INSERT INTO host_template_data_sv VALUES (6,25,14,'name','|host_description| - Cache Hits');
|
|
INSERT INTO host_template_data_sv VALUES (6,26,17,'name','|host_description| - Open Files');
|
|
INSERT INTO host_template_data_sv VALUES (6,20,17,'name','|host_description| - Total Logins');
|
|
INSERT INTO host_template_data_sv VALUES (5,27,18,'name','|host_description| - 5 Minute CPU');
|
|
INSERT INTO host_template_data_sv VALUES (3,6,4,'name','|host_description| - CPU Usage - Nice');
|
|
INSERT INTO host_template_data_sv VALUES (3,4,4,'name','|host_description| - CPU Usage - System');
|
|
INSERT INTO host_template_data_sv VALUES (3,30,11,'name','|host_description| - Load Average - 1 Minute');
|
|
INSERT INTO host_template_data_sv VALUES (3,32,11,'name','|host_description| - Load Average - 15 Minute');
|
|
INSERT INTO host_template_data_sv VALUES (3,31,11,'name','|host_description| - Load Average - 5 Minute');
|
|
INSERT INTO host_template_data_sv VALUES (3,33,13,'name','|host_description| - Memory - Buffers');
|
|
INSERT INTO host_template_data_sv VALUES (3,34,13,'name','|host_description| - Memory - Free');
|
|
INSERT INTO host_template_data_sv VALUES (3,5,4,'name','|host_description| - CPU Usage - User');
|
|
|
|
--
|
|
-- Table structure for table 'host_template_graph'
|
|
--
|
|
|
|
CREATE TABLE host_template_graph (
|
|
host_template_id mediumint(8) unsigned NOT NULL default '0',
|
|
graph_template_id mediumint(8) unsigned NOT NULL default '0',
|
|
PRIMARY KEY (host_template_id,graph_template_id),
|
|
KEY host_template_id (host_template_id)
|
|
) TYPE=MyISAM;
|
|
|
|
--
|
|
-- Dumping data for table 'host_template_graph'
|
|
--
|
|
|
|
|
|
INSERT INTO host_template_graph VALUES (3,4);
|
|
INSERT INTO host_template_graph VALUES (3,11);
|
|
INSERT INTO host_template_graph VALUES (3,13);
|
|
INSERT INTO host_template_graph VALUES (5,18);
|
|
INSERT INTO host_template_graph VALUES (6,14);
|
|
INSERT INTO host_template_graph VALUES (6,16);
|
|
INSERT INTO host_template_graph VALUES (6,17);
|
|
INSERT INTO host_template_graph VALUES (6,30);
|
|
INSERT INTO host_template_graph VALUES (7,28);
|
|
INSERT INTO host_template_graph VALUES (7,29);
|
|
INSERT INTO host_template_graph VALUES (8,8);
|
|
INSERT INTO host_template_graph VALUES (8,9);
|
|
INSERT INTO host_template_graph VALUES (8,10);
|
|
INSERT INTO host_template_graph VALUES (8,12);
|
|
|
|
--
|
|
-- Table structure for table 'host_template_graph_sv'
|
|
--
|
|
|
|
CREATE TABLE host_template_graph_sv (
|
|
host_template_id mediumint(8) unsigned NOT NULL default '0',
|
|
graph_template_id mediumint(8) unsigned NOT NULL default '0',
|
|
field_name varchar(100) NOT NULL default '',
|
|
text varchar(255) NOT NULL default '',
|
|
PRIMARY KEY (host_template_id,graph_template_id,field_name)
|
|
) TYPE=MyISAM;
|
|
|
|
--
|
|
-- Dumping data for table 'host_template_graph_sv'
|
|
--
|
|
|
|
|
|
INSERT INTO host_template_graph_sv VALUES (5,18,'title','|host_description| - CPU Usage');
|
|
INSERT INTO host_template_graph_sv VALUES (6,16,'title','|host_description| - File System Activity');
|
|
INSERT INTO host_template_graph_sv VALUES (6,14,'title','|host_description| - File System Cache');
|
|
INSERT INTO host_template_graph_sv VALUES (6,17,'title','|host_description| - User Processes');
|
|
INSERT INTO host_template_graph_sv VALUES (3,4,'title','|host_description| - CPU Usage');
|
|
INSERT INTO host_template_graph_sv VALUES (3,11,'title','|host_description| - Load Average');
|
|
INSERT INTO host_template_graph_sv VALUES (3,13,'title','|host_description| - Memory Usage');
|
|
|
|
--
|
|
-- Table structure for table 'host_template_snmp_query'
|
|
--
|
|
|
|
CREATE TABLE host_template_snmp_query (
|
|
host_template_id mediumint(8) unsigned NOT NULL default '0',
|
|
snmp_query_id mediumint(8) unsigned NOT NULL default '0',
|
|
PRIMARY KEY (host_template_id,snmp_query_id),
|
|
KEY host_template_id (host_template_id)
|
|
) TYPE=MyISAM;
|
|
|
|
--
|
|
-- Dumping data for table 'host_template_snmp_query'
|
|
--
|
|
|
|
|
|
INSERT INTO host_template_snmp_query VALUES (1,1);
|
|
INSERT INTO host_template_snmp_query VALUES (3,1);
|
|
INSERT INTO host_template_snmp_query VALUES (3,2);
|
|
INSERT INTO host_template_snmp_query VALUES (4,1);
|
|
INSERT INTO host_template_snmp_query VALUES (4,3);
|
|
INSERT INTO host_template_snmp_query VALUES (5,1);
|
|
INSERT INTO host_template_snmp_query VALUES (6,1);
|
|
INSERT INTO host_template_snmp_query VALUES (6,4);
|
|
INSERT INTO host_template_snmp_query VALUES (6,7);
|
|
INSERT INTO host_template_snmp_query VALUES (7,8);
|
|
INSERT INTO host_template_snmp_query VALUES (7,9);
|
|
INSERT INTO host_template_snmp_query VALUES (8,6);
|
|
|
|
--
|
|
-- Table structure for table 'rra'
|
|
--
|
|
|
|
CREATE TABLE rra (
|
|
id mediumint(8) unsigned NOT NULL auto_increment,
|
|
name varchar(100) NOT NULL default '',
|
|
x_files_factor double NOT NULL default '0.1',
|
|
steps mediumint(8) default '1',
|
|
rows int(12) NOT NULL default '600',
|
|
PRIMARY KEY (id),
|
|
UNIQUE KEY ID (id),
|
|
KEY id_2 (id)
|
|
) TYPE=MyISAM;
|
|
|
|
--
|
|
-- Dumping data for table 'rra'
|
|
--
|
|
|
|
|
|
INSERT INTO rra VALUES (1,'Daily (5 Minute Average)',0.5,1,600);
|
|
INSERT INTO rra VALUES (2,'Weekly (30 Minute Average)',0.5,6,700);
|
|
INSERT INTO rra VALUES (4,'Yearly (1 Day Average)',0.5,288,797);
|
|
INSERT INTO rra VALUES (3,'Monthly (2 Hour Average)',0.5,24,775);
|
|
|
|
--
|
|
-- Table structure for table 'rra_cf'
|
|
--
|
|
|
|
CREATE TABLE rra_cf (
|
|
rra_id mediumint(8) unsigned NOT NULL default '0',
|
|
consolidation_function_id smallint(5) unsigned NOT NULL default '0',
|
|
PRIMARY KEY (rra_id,consolidation_function_id),
|
|
KEY rra_id (rra_id)
|
|
) TYPE=MyISAM;
|
|
|
|
--
|
|
-- Dumping data for table 'rra_cf'
|
|
--
|
|
|
|
|
|
INSERT INTO rra_cf VALUES (1,1);
|
|
INSERT INTO rra_cf VALUES (1,3);
|
|
INSERT INTO rra_cf VALUES (2,1);
|
|
INSERT INTO rra_cf VALUES (2,3);
|
|
INSERT INTO rra_cf VALUES (3,1);
|
|
INSERT INTO rra_cf VALUES (3,3);
|
|
INSERT INTO rra_cf VALUES (4,1);
|
|
INSERT INTO rra_cf VALUES (4,3);
|
|
|
|
--
|
|
-- Table structure for table 'settings'
|
|
--
|
|
|
|
CREATE TABLE settings (
|
|
name varchar(50) NOT NULL default '',
|
|
value varchar(255) NOT NULL default '',
|
|
PRIMARY KEY (name),
|
|
UNIQUE KEY Name (name),
|
|
KEY name_2 (name)
|
|
) TYPE=MyISAM;
|
|
|
|
--
|
|
-- Dumping data for table 'settings'
|
|
--
|
|
|
|
|
|
INSERT INTO settings VALUES ('path_webcacti','/cacti/cacti-0.8');
|
|
INSERT INTO settings VALUES ('path_webroot','/var/www/html/users/iberry');
|
|
INSERT INTO settings VALUES ('path_snmpwalk','/usr/local/bin/snmpwalk');
|
|
INSERT INTO settings VALUES ('path_rrdtool','/usr/local/rrdtool/bin/rrdtool');
|
|
INSERT INTO settings VALUES ('log','');
|
|
INSERT INTO settings VALUES ('log_graph','');
|
|
INSERT INTO settings VALUES ('log_create','on');
|
|
INSERT INTO settings VALUES ('log_update','on');
|
|
INSERT INTO settings VALUES ('log_snmp','on');
|
|
INSERT INTO settings VALUES ('full_view_data_source','on');
|
|
INSERT INTO settings VALUES ('global_auth','on');
|
|
INSERT INTO settings VALUES ('path_snmpget','/usr/local/bin/snmpget');
|
|
INSERT INTO settings VALUES ('path_html_export','');
|
|
INSERT INTO settings VALUES ('guest_user','guest');
|
|
INSERT INTO settings VALUES ('path_html_export_skip','1');
|
|
INSERT INTO settings VALUES ('path_html_export_ctr','');
|
|
INSERT INTO settings VALUES ('remove_verification','on');
|
|
INSERT INTO settings VALUES ('use_polling_zones','on');
|
|
INSERT INTO settings VALUES ('full_view_graph_template','on');
|
|
INSERT INTO settings VALUES ('full_view_graph','on');
|
|
INSERT INTO settings VALUES ('full_view_user_admin','on');
|
|
INSERT INTO settings VALUES ('full_view_data_template','on');
|
|
INSERT INTO settings VALUES ('smnp_version','ucd-snmp');
|
|
INSERT INTO settings VALUES ('ldap_enabled','');
|
|
INSERT INTO settings VALUES ('ldap_server','');
|
|
INSERT INTO settings VALUES ('ldap_dn','');
|
|
INSERT INTO settings VALUES ('ldap_template','');
|
|
INSERT INTO settings VALUES ('path_php_binary','/usr/bin/php');
|
|
INSERT INTO settings VALUES ('date','2003-05-29 21:18:18');
|
|
|
|
--
|
|
-- Table structure for table 'settings_graphs'
|
|
--
|
|
|
|
CREATE TABLE settings_graphs (
|
|
user_id smallint(8) unsigned NOT NULL default '0',
|
|
name varchar(50) NOT NULL default '',
|
|
value varchar(255) NOT NULL default '',
|
|
PRIMARY KEY (user_id,name),
|
|
KEY user_id (user_id,name)
|
|
) TYPE=MyISAM;
|
|
|
|
--
|
|
-- Dumping data for table 'settings_graphs'
|
|
--
|
|
|
|
|
|
|
|
--
|
|
-- Table structure for table 'settings_tree'
|
|
--
|
|
|
|
CREATE TABLE settings_tree (
|
|
user_id mediumint(8) unsigned NOT NULL default '0',
|
|
graph_tree_item_id mediumint(8) unsigned NOT NULL default '0',
|
|
status tinyint(1) NOT NULL default '0',
|
|
PRIMARY KEY (user_id,graph_tree_item_id)
|
|
) TYPE=MyISAM;
|
|
|
|
--
|
|
-- Dumping data for table 'settings_tree'
|
|
--
|
|
|
|
|
|
|
|
--
|
|
-- Table structure for table 'snmp_query'
|
|
--
|
|
|
|
CREATE TABLE snmp_query (
|
|
id mediumint(8) unsigned NOT NULL auto_increment,
|
|
xml_path varchar(255) NOT NULL default '',
|
|
name varchar(100) NOT NULL default '',
|
|
description varchar(255) default NULL,
|
|
graph_template_id mediumint(8) unsigned NOT NULL default '0',
|
|
data_input_id mediumint(8) unsigned NOT NULL default '0',
|
|
PRIMARY KEY (id),
|
|
UNIQUE KEY id (id),
|
|
KEY id_2 (id)
|
|
) TYPE=MyISAM;
|
|
|
|
--
|
|
-- Dumping data for table 'snmp_query'
|
|
--
|
|
|
|
|
|
INSERT INTO snmp_query VALUES (1,'<path_cacti>/resource/snmp_queries/interface.xml','SNMP - Interface Statistics','Queries a host for a list of monitorable interfaces',0,2);
|
|
INSERT INTO snmp_query VALUES (2,'<path_cacti>/resource/snmp_queries/net-snmp_disk.xml','ucd/net - Get Monitored Partitions','Retrieves a list of monitored partitions/disks from a net-snmp enabled host.',0,2);
|
|
INSERT INTO snmp_query VALUES (3,'<path_cacti>/resource/snmp_queries/kbridge.xml','Karlnet - Wireless Bridge Statistics','Gets information about the wireless connectivity of each station from a Karlnet bridge.',0,2);
|
|
INSERT INTO snmp_query VALUES (4,'<path_cacti>/resource/snmp_queries/netware_disk.xml','Netware - Get Available Volumes','Retrieves a list of volumes from a Netware server.',0,2);
|
|
INSERT INTO snmp_query VALUES (6,'<path_cacti>/resource/script_queries/unix_disk.xml','Unix - Get Mounted Partitions','Queries a list of mounted partitions on a unix-based host with the',0,11);
|
|
INSERT INTO snmp_query VALUES (7,'<path_cacti>/resource/snmp_queries/netware_cpu.xml','Netware - Get Processor Information','Gets information about running processors in a Netware server',0,2);
|
|
INSERT INTO snmp_query VALUES (8,'<path_cacti>/resource/script_queries/host_disk.xml','SNMP - Get Mounted Partitions','Gets a list of partitions using SNMP\\',0,11);
|
|
INSERT INTO snmp_query VALUES (9,'<path_cacti>/resource/script_queries/host_cpu.xml','SNMP - Get Processor Information','Gets usage for each processor in the system using the host MIB.',0,11);
|
|
|
|
--
|
|
-- Table structure for table 'snmp_query_field'
|
|
--
|
|
|
|
CREATE TABLE snmp_query_field (
|
|
snmp_query_id mediumint(8) unsigned NOT NULL default '0',
|
|
data_input_field_id mediumint(8) unsigned NOT NULL default '0',
|
|
action_id tinyint(2) NOT NULL default '0',
|
|
PRIMARY KEY (snmp_query_id,data_input_field_id),
|
|
KEY snmp_query_id (snmp_query_id),
|
|
KEY data_input_field_id (data_input_field_id)
|
|
) TYPE=MyISAM;
|
|
|
|
--
|
|
-- Dumping data for table 'snmp_query_field'
|
|
--
|
|
|
|
|
|
INSERT INTO snmp_query_field VALUES (1,14,3);
|
|
INSERT INTO snmp_query_field VALUES (1,13,2);
|
|
INSERT INTO snmp_query_field VALUES (1,12,1);
|
|
INSERT INTO snmp_query_field VALUES (2,14,3);
|
|
INSERT INTO snmp_query_field VALUES (2,13,2);
|
|
INSERT INTO snmp_query_field VALUES (2,12,1);
|
|
INSERT INTO snmp_query_field VALUES (3,14,3);
|
|
INSERT INTO snmp_query_field VALUES (3,13,2);
|
|
INSERT INTO snmp_query_field VALUES (3,12,1);
|
|
INSERT INTO snmp_query_field VALUES (4,14,3);
|
|
INSERT INTO snmp_query_field VALUES (4,13,2);
|
|
INSERT INTO snmp_query_field VALUES (4,12,1);
|
|
INSERT INTO snmp_query_field VALUES (6,33,3);
|
|
INSERT INTO snmp_query_field VALUES (6,32,2);
|
|
INSERT INTO snmp_query_field VALUES (6,31,1);
|
|
INSERT INTO snmp_query_field VALUES (7,12,1);
|
|
INSERT INTO snmp_query_field VALUES (7,13,2);
|
|
INSERT INTO snmp_query_field VALUES (7,14,3);
|
|
INSERT INTO snmp_query_field VALUES (8,31,1);
|
|
INSERT INTO snmp_query_field VALUES (8,32,2);
|
|
INSERT INTO snmp_query_field VALUES (8,33,3);
|
|
INSERT INTO snmp_query_field VALUES (9,31,1);
|
|
INSERT INTO snmp_query_field VALUES (9,32,2);
|
|
INSERT INTO snmp_query_field VALUES (9,33,3);
|
|
|
|
--
|
|
-- Table structure for table 'snmp_query_graph'
|
|
--
|
|
|
|
CREATE TABLE snmp_query_graph (
|
|
id mediumint(8) unsigned NOT NULL auto_increment,
|
|
snmp_query_id mediumint(8) unsigned NOT NULL default '0',
|
|
name varchar(100) NOT NULL default '',
|
|
graph_template_id mediumint(8) unsigned NOT NULL default '0',
|
|
PRIMARY KEY (id),
|
|
UNIQUE KEY id (id),
|
|
KEY id_2 (id)
|
|
) TYPE=MyISAM;
|
|
|
|
--
|
|
-- Dumping data for table 'snmp_query_graph'
|
|
--
|
|
|
|
|
|
INSERT INTO snmp_query_graph VALUES (1,1,'In/Out Bytes (0.6.x Style)',1);
|
|
INSERT INTO snmp_query_graph VALUES (2,1,'In/Out Errors/Discarded Packets',22);
|
|
INSERT INTO snmp_query_graph VALUES (3,1,'In/Out Non-Unicast Packets',24);
|
|
INSERT INTO snmp_query_graph VALUES (4,1,'In/Out Unicast Packets',23);
|
|
INSERT INTO snmp_query_graph VALUES (15,6,'Available Disk Space',21);
|
|
INSERT INTO snmp_query_graph VALUES (6,2,'Available/Used Disk Space',3);
|
|
INSERT INTO snmp_query_graph VALUES (7,3,'Wireless Levels',5);
|
|
INSERT INTO snmp_query_graph VALUES (8,3,'Wireless Transmissions',6);
|
|
INSERT INTO snmp_query_graph VALUES (9,1,'In/Out Bytes (64-bit Counters)',25);
|
|
INSERT INTO snmp_query_graph VALUES (10,4,'Volume Information (free, freeable space)',19);
|
|
INSERT INTO snmp_query_graph VALUES (11,4,'Directory Information (total/available entries)',20);
|
|
INSERT INTO snmp_query_graph VALUES (13,1,'In/Out Bits',2);
|
|
INSERT INTO snmp_query_graph VALUES (14,1,'In/Out Bits (64-bit Counters)',2);
|
|
INSERT INTO snmp_query_graph VALUES (16,1,'In/Out Bytes',25);
|
|
INSERT INTO snmp_query_graph VALUES (17,7,'Get Processor Utilization',15);
|
|
INSERT INTO snmp_query_graph VALUES (18,8,'Available Disk Space',26);
|
|
INSERT INTO snmp_query_graph VALUES (19,9,'Get Processor Utilization',27);
|
|
|
|
--
|
|
-- Table structure for table 'snmp_query_graph_rrd'
|
|
--
|
|
|
|
CREATE TABLE snmp_query_graph_rrd (
|
|
snmp_query_graph_id mediumint(8) unsigned NOT NULL default '0',
|
|
data_template_id mediumint(8) unsigned NOT NULL default '0',
|
|
data_template_rrd_id mediumint(8) unsigned NOT NULL default '0',
|
|
snmp_field_name varchar(50) NOT NULL default '0',
|
|
PRIMARY KEY (snmp_query_graph_id,data_template_id,data_template_rrd_id),
|
|
KEY snmp_query_graph_id (snmp_query_graph_id)
|
|
) TYPE=MyISAM;
|
|
|
|
--
|
|
-- Dumping data for table 'snmp_query_graph_rrd'
|
|
--
|
|
|
|
|
|
INSERT INTO snmp_query_graph_rrd VALUES (1,2,2,'ifOutOctets');
|
|
INSERT INTO snmp_query_graph_rrd VALUES (2,38,47,'ifInDiscards');
|
|
INSERT INTO snmp_query_graph_rrd VALUES (3,40,52,'ifOutNUcastPkts');
|
|
INSERT INTO snmp_query_graph_rrd VALUES (3,40,53,'ifInNUcastPkts');
|
|
INSERT INTO snmp_query_graph_rrd VALUES (4,39,48,'ifInUcastPkts');
|
|
INSERT INTO snmp_query_graph_rrd VALUES (2,38,51,'ifOutErrors');
|
|
INSERT INTO snmp_query_graph_rrd VALUES (6,3,3,'dskAvail');
|
|
INSERT INTO snmp_query_graph_rrd VALUES (6,3,4,'dskUsed');
|
|
INSERT INTO snmp_query_graph_rrd VALUES (7,7,8,'kbWirelessStationExclHellos');
|
|
INSERT INTO snmp_query_graph_rrd VALUES (7,8,9,'kbWirelessStationExclHellos');
|
|
INSERT INTO snmp_query_graph_rrd VALUES (8,10,11,'kbWirelessStationExclHellos');
|
|
INSERT INTO snmp_query_graph_rrd VALUES (8,9,10,'kbWirelessStationExclHellos');
|
|
INSERT INTO snmp_query_graph_rrd VALUES (9,41,55,'ifHCOutOctets');
|
|
INSERT INTO snmp_query_graph_rrd VALUES (9,41,54,'ifHCInOctets');
|
|
INSERT INTO snmp_query_graph_rrd VALUES (10,35,38,'nwVolSize');
|
|
INSERT INTO snmp_query_graph_rrd VALUES (10,35,40,'nwVolFreeable');
|
|
INSERT INTO snmp_query_graph_rrd VALUES (10,35,39,'nwVolFree');
|
|
INSERT INTO snmp_query_graph_rrd VALUES (11,36,42,'nwVolTotalDirEntries');
|
|
INSERT INTO snmp_query_graph_rrd VALUES (11,36,43,'nwVolUsedDirEntries');
|
|
INSERT INTO snmp_query_graph_rrd VALUES (2,38,50,'ifOutDiscards');
|
|
INSERT INTO snmp_query_graph_rrd VALUES (2,38,46,'ifInErrors');
|
|
INSERT INTO snmp_query_graph_rrd VALUES (13,41,54,'ifInOctets');
|
|
INSERT INTO snmp_query_graph_rrd VALUES (14,41,54,'ifHCInOctets');
|
|
INSERT INTO snmp_query_graph_rrd VALUES (14,41,55,'ifHCOutOctets');
|
|
INSERT INTO snmp_query_graph_rrd VALUES (13,41,55,'ifOutOctets');
|
|
INSERT INTO snmp_query_graph_rrd VALUES (4,39,49,'ifOutUcastPkts');
|
|
INSERT INTO snmp_query_graph_rrd VALUES (1,1,1,'ifInOctets');
|
|
INSERT INTO snmp_query_graph_rrd VALUES (15,37,44,'dskAvailable');
|
|
INSERT INTO snmp_query_graph_rrd VALUES (16,41,54,'ifInOctets');
|
|
INSERT INTO snmp_query_graph_rrd VALUES (16,41,55,'ifOutOctets');
|
|
INSERT INTO snmp_query_graph_rrd VALUES (15,37,56,'dskUsed');
|
|
INSERT INTO snmp_query_graph_rrd VALUES (17,42,76,'nwhrProcessorUtilization');
|
|
INSERT INTO snmp_query_graph_rrd VALUES (18,43,77,'hrStorageSize');
|
|
INSERT INTO snmp_query_graph_rrd VALUES (18,43,78,'hrStorageUsed');
|
|
INSERT INTO snmp_query_graph_rrd VALUES (19,44,79,'hrProcessorLoad');
|
|
|
|
--
|
|
-- Table structure for table 'snmp_query_graph_rrd_sv'
|
|
--
|
|
|
|
CREATE TABLE snmp_query_graph_rrd_sv (
|
|
id mediumint(8) unsigned NOT NULL auto_increment,
|
|
snmp_query_graph_id mediumint(8) unsigned NOT NULL default '0',
|
|
data_template_id mediumint(8) unsigned NOT NULL default '0',
|
|
sequence mediumint(8) unsigned NOT NULL default '0',
|
|
field_name varchar(100) NOT NULL default '',
|
|
text varchar(255) NOT NULL default '',
|
|
PRIMARY KEY (id),
|
|
UNIQUE KEY id (id),
|
|
KEY id_2 (id),
|
|
KEY snmp_query_graph_id (snmp_query_graph_id)
|
|
) TYPE=MyISAM;
|
|
|
|
--
|
|
-- Dumping data for table 'snmp_query_graph_rrd_sv'
|
|
--
|
|
|
|
|
|
INSERT INTO snmp_query_graph_rrd_sv VALUES (1,1,1,1,'name','|host_description| - Traffic - |query_ifIP| - |query_ifAlias| (In)');
|
|
INSERT INTO snmp_query_graph_rrd_sv VALUES (2,1,1,2,'name','|host_description| - Traffic - |query_ifAlias| (In)');
|
|
INSERT INTO snmp_query_graph_rrd_sv VALUES (3,1,1,3,'name','|host_description| - Traffic - |query_ifIP|/|query_ifDesc| (In)');
|
|
INSERT INTO snmp_query_graph_rrd_sv VALUES (4,1,1,4,'name','|host_description| - Traffic - |query_ifDesc| (In)');
|
|
INSERT INTO snmp_query_graph_rrd_sv VALUES (5,1,2,1,'name','|host_description| - Traffic - |query_ifIP| - |query_ifAlias| (Out)');
|
|
INSERT INTO snmp_query_graph_rrd_sv VALUES (6,1,2,2,'name','|host_description| - Traffic - |query_ifAlias| (Out)');
|
|
INSERT INTO snmp_query_graph_rrd_sv VALUES (7,1,2,3,'name','|host_description| - Traffic - |query_ifIP|/|query_ifDesc| (Out)');
|
|
INSERT INTO snmp_query_graph_rrd_sv VALUES (8,1,2,4,'name','|host_description| - Traffic - |query_ifDesc| (In)');
|
|
INSERT INTO snmp_query_graph_rrd_sv VALUES (10,6,3,1,'name','|host_description| - Partition - |query_dskDevice|');
|
|
INSERT INTO snmp_query_graph_rrd_sv VALUES (11,7,7,1,'name','|host_description| - Wireless Noise Level - |query_kbWirelessStationName|');
|
|
INSERT INTO snmp_query_graph_rrd_sv VALUES (12,7,8,1,'name','|host_description| - Wireless Signal Level - |query_kbWirelessStationName|');
|
|
INSERT INTO snmp_query_graph_rrd_sv VALUES (13,8,10,1,'name','|host_description| - Wireless Re-Transmissions - |query_kbWirelessStationName|');
|
|
INSERT INTO snmp_query_graph_rrd_sv VALUES (14,8,9,1,'name','|host_description| - Wireless Transmissions - |query_kbWirelessStationName|');
|
|
INSERT INTO snmp_query_graph_rrd_sv VALUES (88,9,41,2,'name','|host_description| - Traffic - |query_ifAlias|');
|
|
INSERT INTO snmp_query_graph_rrd_sv VALUES (86,9,41,1,'name','|host_description| - Traffic - |query_ifIP| - |query_ifAlias|');
|
|
INSERT INTO snmp_query_graph_rrd_sv VALUES (82,14,41,2,'name','|host_description| - Traffic - |query_ifAlias|');
|
|
INSERT INTO snmp_query_graph_rrd_sv VALUES (81,14,41,1,'name','|host_description| - Traffic - |query_ifIP| - |query_ifAlias|');
|
|
INSERT INTO snmp_query_graph_rrd_sv VALUES (23,1,1,1,'rrd_maximum','|query_ifSpeed|');
|
|
INSERT INTO snmp_query_graph_rrd_sv VALUES (24,1,2,1,'rrd_maximum','|query_ifSpeed|');
|
|
INSERT INTO snmp_query_graph_rrd_sv VALUES (79,16,41,4,'name','|host_description| - Traffic - |query_ifDesc|');
|
|
INSERT INTO snmp_query_graph_rrd_sv VALUES (30,11,36,1,'name','|host_description| - Directories - |query_nwVolPhysicalName|');
|
|
INSERT INTO snmp_query_graph_rrd_sv VALUES (29,10,35,1,'name','|host_description| - Volumes - |query_nwVolPhysicalName|');
|
|
INSERT INTO snmp_query_graph_rrd_sv VALUES (80,16,41,1,'rrd_maximum','|query_ifSpeed|');
|
|
INSERT INTO snmp_query_graph_rrd_sv VALUES (85,14,41,1,'rrd_maximum','|query_ifSpeed|');
|
|
INSERT INTO snmp_query_graph_rrd_sv VALUES (84,14,41,4,'name','|host_description| - Traffic - |query_ifDesc|');
|
|
INSERT INTO snmp_query_graph_rrd_sv VALUES (83,14,41,3,'name','|host_description| - Traffic - |query_ifIP|/|query_ifDesc|');
|
|
INSERT INTO snmp_query_graph_rrd_sv VALUES (32,12,37,1,'name','|host_description| - Partition - |query_dskDevice|');
|
|
INSERT INTO snmp_query_graph_rrd_sv VALUES (33,13,1,1,'name','|host_description| - Traffic - |query_ifIP| - |query_ifAlias| (In)');
|
|
INSERT INTO snmp_query_graph_rrd_sv VALUES (34,13,1,2,'name','|host_description| - Traffic - |query_ifAlias| (In)');
|
|
INSERT INTO snmp_query_graph_rrd_sv VALUES (35,13,1,3,'name','|host_description| - Traffic - |query_ifIP|/|query_ifDesc| (In)');
|
|
INSERT INTO snmp_query_graph_rrd_sv VALUES (36,13,1,4,'name','|host_description| - Traffic - |query_ifDesc| (In)');
|
|
INSERT INTO snmp_query_graph_rrd_sv VALUES (78,16,41,3,'name','|host_description| - Traffic - |query_ifIP|/|query_ifDesc|');
|
|
INSERT INTO snmp_query_graph_rrd_sv VALUES (77,16,41,2,'name','|host_description| - Traffic - |query_ifAlias|');
|
|
INSERT INTO snmp_query_graph_rrd_sv VALUES (76,16,41,1,'name','|host_description| - Traffic - |query_ifIP| - |query_ifAlias|');
|
|
INSERT INTO snmp_query_graph_rrd_sv VALUES (75,13,41,1,'rrd_maximum','|query_ifSpeed|');
|
|
INSERT INTO snmp_query_graph_rrd_sv VALUES (41,14,1,1,'name','|host_description| - Traffic - |query_ifIP| - |query_ifAlias| (In-64)');
|
|
INSERT INTO snmp_query_graph_rrd_sv VALUES (42,14,1,2,'name','|host_description| - Traffic - |query_ifAlias| (In-64)');
|
|
INSERT INTO snmp_query_graph_rrd_sv VALUES (43,14,1,3,'name','|host_description| - Traffic - |query_ifIP|/|query_ifDesc| (In-64)');
|
|
INSERT INTO snmp_query_graph_rrd_sv VALUES (44,14,1,4,'name','|host_description| - Traffic - |query_ifDesc| (In-64)');
|
|
INSERT INTO snmp_query_graph_rrd_sv VALUES (74,13,41,4,'name','|host_description| - Traffic - |query_ifDesc|');
|
|
INSERT INTO snmp_query_graph_rrd_sv VALUES (72,13,41,2,'name','|host_description| - Traffic - |query_ifAlias|');
|
|
INSERT INTO snmp_query_graph_rrd_sv VALUES (73,13,41,3,'name','|host_description| - Traffic - |query_ifIP|/|query_ifDesc|');
|
|
INSERT INTO snmp_query_graph_rrd_sv VALUES (49,2,38,1,'name','|host_description| - Errors - |query_ifIP| - |query_ifAlias| (In)');
|
|
INSERT INTO snmp_query_graph_rrd_sv VALUES (50,2,38,2,'name','|host_description| - Errors - |query_ifAlias| (In)');
|
|
INSERT INTO snmp_query_graph_rrd_sv VALUES (51,2,38,3,'name','|host_description| - Errors - |query_ifIP|/|query_ifDesc| (In)');
|
|
INSERT INTO snmp_query_graph_rrd_sv VALUES (52,2,38,4,'name','|host_description| - Errors - |query_ifDesc| (In)');
|
|
INSERT INTO snmp_query_graph_rrd_sv VALUES (54,3,40,1,'name','|host_description| - Non-Unicast Packets - |query_ifIP| - |query_ifAlias|');
|
|
INSERT INTO snmp_query_graph_rrd_sv VALUES (55,3,40,2,'name','|host_description| - Non-Unicast Packets - |query_ifAlias|');
|
|
INSERT INTO snmp_query_graph_rrd_sv VALUES (56,3,40,3,'name','|host_description| - Non-Unicast Packets - |query_ifIP|/|query_ifDesc|');
|
|
INSERT INTO snmp_query_graph_rrd_sv VALUES (57,3,40,4,'name','|host_description| - Non-Unicast Packets - |query_ifDesc|');
|
|
INSERT INTO snmp_query_graph_rrd_sv VALUES (59,4,39,1,'name','|host_description| - Unicast Packets - |query_ifIP| - |query_ifAlias|');
|
|
INSERT INTO snmp_query_graph_rrd_sv VALUES (60,4,39,2,'name','|host_description| - Unicast Packets - |query_ifAlias|');
|
|
INSERT INTO snmp_query_graph_rrd_sv VALUES (61,4,39,3,'name','|host_description| - Unicast Packets - |query_ifIP|/|query_ifDesc|');
|
|
INSERT INTO snmp_query_graph_rrd_sv VALUES (62,4,39,4,'name','|host_description| - Unicast Packets - |query_ifDesc|');
|
|
INSERT INTO snmp_query_graph_rrd_sv VALUES (63,13,1,1,'rrd_maximum','|query_ifSpeed|');
|
|
INSERT INTO snmp_query_graph_rrd_sv VALUES (65,14,1,1,'rrd_maximum','|query_ifSpeed|');
|
|
INSERT INTO snmp_query_graph_rrd_sv VALUES (70,13,41,1,'name','|host_description| - Traffic - |query_ifIP| - |query_ifAlias|');
|
|
INSERT INTO snmp_query_graph_rrd_sv VALUES (69,15,37,1,'name','|host_description| - Free Space - |query_dskDevice|');
|
|
INSERT INTO snmp_query_graph_rrd_sv VALUES (89,9,41,3,'name','|host_description| - Traffic - |query_ifIP|/|query_ifDesc|');
|
|
INSERT INTO snmp_query_graph_rrd_sv VALUES (90,9,41,4,'name','|host_description| - Traffic - |query_ifDesc|');
|
|
INSERT INTO snmp_query_graph_rrd_sv VALUES (91,9,41,1,'rrd_maximum','|query_ifSpeed|');
|
|
INSERT INTO snmp_query_graph_rrd_sv VALUES (92,17,42,1,'name','|host_description| - CPU Utilization - CPU|query_nwhrProcessorNum|');
|
|
INSERT INTO snmp_query_graph_rrd_sv VALUES (93,18,43,1,'name','|host_description| - Used Space - |query_hrStorageDescr|');
|
|
INSERT INTO snmp_query_graph_rrd_sv VALUES (94,19,44,1,'name','|host_description| - CPU Utilization - CPU|query_hrProcessorFrwID|');
|
|
|
|
--
|
|
-- Table structure for table 'snmp_query_graph_sv'
|
|
--
|
|
|
|
CREATE TABLE snmp_query_graph_sv (
|
|
id mediumint(8) unsigned NOT NULL auto_increment,
|
|
snmp_query_graph_id mediumint(8) unsigned NOT NULL default '0',
|
|
sequence mediumint(8) unsigned NOT NULL default '0',
|
|
field_name varchar(100) NOT NULL default '',
|
|
text varchar(255) NOT NULL default '',
|
|
PRIMARY KEY (id),
|
|
KEY id (id),
|
|
KEY snmp_query_graph_id (snmp_query_graph_id),
|
|
KEY id_2 (id)
|
|
) TYPE=MyISAM;
|
|
|
|
--
|
|
-- Dumping data for table 'snmp_query_graph_sv'
|
|
--
|
|
|
|
|
|
INSERT INTO snmp_query_graph_sv VALUES (1,1,1,'title','|host_description| - Traffic - |query_ifAlias|');
|
|
INSERT INTO snmp_query_graph_sv VALUES (2,1,2,'title','|host_description| - Traffic - |query_ifIP| (|query_ifDesc|)');
|
|
INSERT INTO snmp_query_graph_sv VALUES (3,1,3,'title','|host_description| - Traffic - |query_ifDesc|/|query_ifIndex|');
|
|
INSERT INTO snmp_query_graph_sv VALUES (7,6,1,'title','|host_description| - Disk Space - |query_dskPath|');
|
|
INSERT INTO snmp_query_graph_sv VALUES (5,7,1,'title','|host_description| - Wireless Levels (|query_kbWirelessStationName|)');
|
|
INSERT INTO snmp_query_graph_sv VALUES (6,8,1,'title','|host_description| - Wireless Transmissions (|query_kbWirelessStationName|)');
|
|
INSERT INTO snmp_query_graph_sv VALUES (33,16,3,'title','|host_description| - Traffic - |query_ifDesc|/|query_ifIndex|');
|
|
INSERT INTO snmp_query_graph_sv VALUES (32,16,2,'title','|host_description| - Traffic - |query_ifIP| (|query_ifDesc|)');
|
|
INSERT INTO snmp_query_graph_sv VALUES (31,16,1,'title','|host_description| - Traffic - |query_ifAlias|');
|
|
INSERT INTO snmp_query_graph_sv VALUES (11,10,1,'title','|host_description| - Volume Information - |query_nwVolPhysicalName|');
|
|
INSERT INTO snmp_query_graph_sv VALUES (12,11,1,'title','|host_description| - Directory Information - |query_nwVolPhysicalName|');
|
|
INSERT INTO snmp_query_graph_sv VALUES (14,12,1,'title','|host_description| - Disk Space - |query_dskDevice|');
|
|
INSERT INTO snmp_query_graph_sv VALUES (15,13,1,'title','|host_description| - Traffic - |query_ifAlias|');
|
|
INSERT INTO snmp_query_graph_sv VALUES (16,13,2,'title','|host_description| - Traffic - |query_ifIP| (|query_ifDesc|)');
|
|
INSERT INTO snmp_query_graph_sv VALUES (17,13,3,'title','|host_description| - Traffic - |query_ifDesc|/|query_ifIndex|');
|
|
INSERT INTO snmp_query_graph_sv VALUES (18,14,1,'title','|host_description| - Traffic - |query_ifAlias|');
|
|
INSERT INTO snmp_query_graph_sv VALUES (19,14,2,'title','|host_description| - Traffic - |query_ifIP| (|query_ifDesc|)');
|
|
INSERT INTO snmp_query_graph_sv VALUES (20,14,3,'title','|host_description| - Traffic - |query_ifDesc|/|query_ifIndex|');
|
|
INSERT INTO snmp_query_graph_sv VALUES (21,2,1,'title','|host_description| - Errors - |query_ifAlias|');
|
|
INSERT INTO snmp_query_graph_sv VALUES (22,2,2,'title','|host_description| - Errors - |query_ifIP| (|query_ifDesc|)');
|
|
INSERT INTO snmp_query_graph_sv VALUES (23,2,3,'title','|host_description| - Errors - |query_ifDesc|/|query_ifIndex|');
|
|
INSERT INTO snmp_query_graph_sv VALUES (24,3,1,'title','|host_description| - Non-Unicast Packets - |query_ifAlias|');
|
|
INSERT INTO snmp_query_graph_sv VALUES (25,3,2,'title','|host_description| - Non-Unicast Packets - |query_ifIP| (|query_ifDesc|)');
|
|
INSERT INTO snmp_query_graph_sv VALUES (26,3,3,'title','|host_description| - Non-Unicast Packets - |query_ifDesc|/|query_ifIndex|');
|
|
INSERT INTO snmp_query_graph_sv VALUES (27,4,1,'title','|host_description| - Unicast Packets - |query_ifAlias|');
|
|
INSERT INTO snmp_query_graph_sv VALUES (28,4,2,'title','|host_description| - Unicast Packets - |query_ifIP| (|query_ifDesc|)');
|
|
INSERT INTO snmp_query_graph_sv VALUES (29,4,3,'title','|host_description| - Unicast Packets - |query_ifDesc|/|query_ifIndex|');
|
|
INSERT INTO snmp_query_graph_sv VALUES (30,15,1,'title','|host_description| - Disk Space - |query_dskDevice|');
|
|
INSERT INTO snmp_query_graph_sv VALUES (34,9,1,'title','|host_description| - Traffic - |query_ifAlias|');
|
|
INSERT INTO snmp_query_graph_sv VALUES (35,9,2,'title','|host_description| - Traffic - |query_ifIP| (|query_ifDesc|)');
|
|
INSERT INTO snmp_query_graph_sv VALUES (36,9,3,'title','|host_description| - Traffic - |query_ifDesc|/|query_ifIndex|');
|
|
INSERT INTO snmp_query_graph_sv VALUES (40,17,1,'title','|host_description| - CPU Utilization - CPU|query_nwhrProcessorNum|');
|
|
INSERT INTO snmp_query_graph_sv VALUES (38,18,1,'title','|host_description| - Used Space - |query_hrStorageDescr|');
|
|
INSERT INTO snmp_query_graph_sv VALUES (39,19,1,'title','|host_description| - CPU Utilization - CPU|query_hrProcessorFrwID|');
|
|
|
|
--
|
|
-- Table structure for table 'user_auth'
|
|
--
|
|
|
|
CREATE TABLE user_auth (
|
|
id mediumint(8) unsigned NOT NULL auto_increment,
|
|
username varchar(50) NOT NULL default '0',
|
|
password varchar(50) NOT NULL default '0',
|
|
realm mediumint(8) NOT NULL default '0',
|
|
full_name varchar(100) default '0',
|
|
must_change_password char(2) default NULL,
|
|
show_tree char(2) default 'on',
|
|
show_list char(2) default 'on',
|
|
show_preview char(2) NOT NULL default 'on',
|
|
graph_settings char(2) default NULL,
|
|
login_opts tinyint(1) NOT NULL default '1',
|
|
graph_policy tinyint(1) NOT NULL default '1',
|
|
PRIMARY KEY (id),
|
|
UNIQUE KEY ID (id),
|
|
KEY id_2 (id)
|
|
) TYPE=MyISAM;
|
|
|
|
--
|
|
-- Dumping data for table 'user_auth'
|
|
--
|
|
|
|
|
|
INSERT INTO user_auth VALUES (1,'admin','21232f297a57a5a743894a0e4a801fc3',0,'Administrator','on','on','on','on','on',1,1);
|
|
INSERT INTO user_auth VALUES (3,'guest','43e9a4ab75570f5b',0,'Guest Account','on','on','on','on','on',3,1);
|
|
|
|
--
|
|
-- Table structure for table 'user_auth_graph'
|
|
--
|
|
|
|
CREATE TABLE user_auth_graph (
|
|
user_id mediumint(8) unsigned NOT NULL default '0',
|
|
local_graph_id mediumint(8) unsigned NOT NULL default '0',
|
|
PRIMARY KEY (user_id,local_graph_id),
|
|
KEY user_id (user_id,local_graph_id)
|
|
) TYPE=MyISAM;
|
|
|
|
--
|
|
-- Dumping data for table 'user_auth_graph'
|
|
--
|
|
|
|
|
|
|
|
--
|
|
-- Table structure for table 'user_auth_hosts'
|
|
--
|
|
|
|
CREATE TABLE user_auth_hosts (
|
|
user_id mediumint(8) unsigned NOT NULL default '0',
|
|
hostname varchar(100) NOT NULL default '',
|
|
policy tinyint(1) NOT NULL default '0',
|
|
PRIMARY KEY (user_id,hostname),
|
|
KEY user_id (user_id)
|
|
) TYPE=MyISAM;
|
|
|
|
--
|
|
-- Dumping data for table 'user_auth_hosts'
|
|
--
|
|
|
|
|
|
|
|
--
|
|
-- Table structure for table 'user_auth_realm'
|
|
--
|
|
|
|
CREATE TABLE user_auth_realm (
|
|
realm_id mediumint(8) unsigned NOT NULL default '0',
|
|
user_id mediumint(8) unsigned NOT NULL default '0',
|
|
PRIMARY KEY (realm_id,user_id),
|
|
KEY user_id (user_id)
|
|
) TYPE=MyISAM;
|
|
|
|
--
|
|
-- Dumping data for table 'user_auth_realm'
|
|
--
|
|
|
|
|
|
INSERT INTO user_auth_realm VALUES (1,1);
|
|
INSERT INTO user_auth_realm VALUES (2,1);
|
|
INSERT INTO user_auth_realm VALUES (3,1);
|
|
INSERT INTO user_auth_realm VALUES (5,1);
|
|
INSERT INTO user_auth_realm VALUES (7,1);
|
|
INSERT INTO user_auth_realm VALUES (7,3);
|
|
INSERT INTO user_auth_realm VALUES (8,1);
|
|
INSERT INTO user_auth_realm VALUES (9,1);
|
|
INSERT INTO user_auth_realm VALUES (10,1);
|
|
INSERT INTO user_auth_realm VALUES (11,1);
|
|
INSERT INTO user_auth_realm VALUES (12,1);
|
|
INSERT INTO user_auth_realm VALUES (13,1);
|
|
INSERT INTO user_auth_realm VALUES (14,1);
|
|
INSERT INTO user_auth_realm VALUES (15,1);
|
|
|
|
--
|
|
-- Table structure for table 'user_auth_tree'
|
|
--
|
|
|
|
CREATE TABLE user_auth_tree (
|
|
user_id mediumint(8) unsigned NOT NULL default '0',
|
|
tree_id mediumint(8) unsigned NOT NULL default '0',
|
|
PRIMARY KEY (user_id,tree_id),
|
|
KEY user_id (user_id,tree_id)
|
|
) TYPE=MyISAM;
|
|
|
|
--
|
|
-- Dumping data for table 'user_auth_tree'
|
|
--
|
|
|
|
|
|
|
|
--
|
|
-- Table structure for table 'user_log'
|
|
--
|
|
|
|
CREATE TABLE user_log (
|
|
username varchar(50) NOT NULL default '0',
|
|
user_id mediumint(8) NOT NULL default '0',
|
|
time datetime NOT NULL default '0000-00-00 00:00:00',
|
|
result tinyint(1) NOT NULL default '0',
|
|
ip varchar(15) NOT NULL default '',
|
|
PRIMARY KEY (username,user_id,time)
|
|
) TYPE=MyISAM;
|
|
|
|
--
|
|
-- Dumping data for table 'user_log'
|
|
--
|
|
|
|
|
|
|
|
--
|
|
-- Table structure for table 'user_realm'
|
|
--
|
|
|
|
CREATE TABLE user_realm (
|
|
id mediumint(8) unsigned NOT NULL auto_increment,
|
|
name varchar(50) NOT NULL default '',
|
|
PRIMARY KEY (id),
|
|
UNIQUE KEY ID (id),
|
|
KEY id_2 (id)
|
|
) TYPE=MyISAM;
|
|
|
|
--
|
|
-- Dumping data for table 'user_realm'
|
|
--
|
|
|
|
|
|
INSERT INTO user_realm VALUES (1,'User Administration');
|
|
INSERT INTO user_realm VALUES (2,'Data Input');
|
|
INSERT INTO user_realm VALUES (3,'Update Data Sources');
|
|
INSERT INTO user_realm VALUES (5,'Update Graphs');
|
|
INSERT INTO user_realm VALUES (7,'View Graphs');
|
|
INSERT INTO user_realm VALUES (8,'Console Access');
|
|
INSERT INTO user_realm VALUES (9,'Update Round Robin Archives');
|
|
INSERT INTO user_realm VALUES (10,'Update Graph Templates');
|
|
INSERT INTO user_realm VALUES (11,'Update Data Templates');
|
|
INSERT INTO user_realm VALUES (12,'Update Host Templates');
|
|
INSERT INTO user_realm VALUES (13,'SNMP Queries');
|
|
INSERT INTO user_realm VALUES (14,'Update CDEF\'s');
|
|
INSERT INTO user_realm VALUES (15,'Global Settings');
|
|
|
|
--
|
|
-- Table structure for table 'user_realm_filename'
|
|
--
|
|
|
|
CREATE TABLE user_realm_filename (
|
|
realm_id smallint(5) unsigned NOT NULL default '0',
|
|
filename varchar(100) NOT NULL default '',
|
|
PRIMARY KEY (realm_id,filename),
|
|
KEY realm_id (realm_id)
|
|
) TYPE=MyISAM;
|
|
|
|
--
|
|
-- Dumping data for table 'user_realm_filename'
|
|
--
|
|
|
|
|
|
INSERT INTO user_realm_filename VALUES (1,'user_admin.php');
|
|
INSERT INTO user_realm_filename VALUES (2,'data_input.php');
|
|
INSERT INTO user_realm_filename VALUES (3,'data_sources.php');
|
|
INSERT INTO user_realm_filename VALUES (3,'host.php');
|
|
INSERT INTO user_realm_filename VALUES (5,'color.php');
|
|
INSERT INTO user_realm_filename VALUES (5,'gprint_presets.php');
|
|
INSERT INTO user_realm_filename VALUES (5,'graphs.php');
|
|
INSERT INTO user_realm_filename VALUES (5,'tree.php');
|
|
INSERT INTO user_realm_filename VALUES (7,'graph.php');
|
|
INSERT INTO user_realm_filename VALUES (7,'graph_image.php');
|
|
INSERT INTO user_realm_filename VALUES (7,'graph_settings.php');
|
|
INSERT INTO user_realm_filename VALUES (7,'graph_view.php');
|
|
INSERT INTO user_realm_filename VALUES (8,'about.php');
|
|
INSERT INTO user_realm_filename VALUES (8,'index.php');
|
|
INSERT INTO user_realm_filename VALUES (9,'rra.php');
|
|
INSERT INTO user_realm_filename VALUES (10,'graph_templates.php');
|
|
INSERT INTO user_realm_filename VALUES (11,'data_templates.php');
|
|
INSERT INTO user_realm_filename VALUES (12,'host_templates.php');
|
|
INSERT INTO user_realm_filename VALUES (13,'snmp.php');
|
|
INSERT INTO user_realm_filename VALUES (14,'cdef.php');
|
|
INSERT INTO user_realm_filename VALUES (15,'settings.php');
|
|
INSERT INTO user_realm_filename VALUES (15,'utilities.php');
|
|
|
|
--
|
|
-- Table structure for table 'version'
|
|
--
|
|
|
|
CREATE TABLE version (
|
|
cacti char(20) default NULL
|
|
) TYPE=MyISAM;
|
|
|
|
--
|
|
-- Dumping data for table 'version'
|
|
--
|
|
|
|
|
|
INSERT INTO version VALUES ('0.8');
|
|
|