diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index b2dcf112a3..2ebea66a0c 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,10 @@ +2007-03-28 Sancho Lerena + + * pandoradb.sql: Updated SQL. + + * pandoradb_data.sql: Updated data. Some info must be corrected + before final version (network components, groups and some other). + 2007-03-23 Esteban Sánchez * pandoradb.sql: Default value of flag field in tagente_module changed diff --git a/pandora_console/pandoradb.sql b/pandora_console/pandoradb.sql index cdb2a1c385..4e4ceef4a9 100644 --- a/pandora_console/pandoradb.sql +++ b/pandora_console/pandoradb.sql @@ -2,7 +2,7 @@ -- -- Host: localhost Database: pandora -- ------------------------------------------------------ --- Server version 5.0.24a-Debian_9-log +-- Server version 5.0.24a-Debian_9ubuntu0.1-log /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; @@ -218,7 +218,7 @@ CREATE TABLE `tagente_estado` ( `utimestamp` bigint(20) NOT NULL default '0', `inc_lastrealvalue` double(18,2) NOT NULL default '0.00', `current_interval` int(10) unsigned NOT NULL default '0', - `processed_by_server` varchar(100) default NULL, + `running_by` int(10) unsigned NOT NULL default '0', PRIMARY KEY (`id_agente_estado`), KEY `status_index_1` (`id_agente_modulo`), KEY `status_index_2` (`id_agente_modulo`,`estado`) @@ -366,6 +366,7 @@ CREATE TABLE `tevento` ( `estado` int(10) unsigned NOT NULL default '0', `timestamp` datetime NOT NULL default '0000-00-00 00:00:00', `evento` varchar(255) NOT NULL default '', + `utimestamp` bigint(20) unsigned NOT NULL default '0', PRIMARY KEY (`id_evento`), KEY `indice_1` (`id_agente`,`id_evento`), KEY `indice_2` (`timestamp`,`id_evento`) @@ -580,14 +581,15 @@ CREATE TABLE `trecon_task` ( `name` varchar(100) NOT NULL default '', `description` varchar(250) NOT NULL default '', `type` tinyint(3) unsigned NOT NULL default '0', - `subnet` varchar(20) NOT NULL default '', + `subnet` varchar(64) NOT NULL default '', `id_network_server` int(10) unsigned NOT NULL default '0', `id_network_profile` int(10) unsigned NOT NULL default '0', `create_incident` tinyint(3) unsigned NOT NULL default '0', `id_group` int(10) unsigned NOT NULL default '1', `utimestamp` bigint(20) unsigned NOT NULL default '0', `status` tinyint(4) NOT NULL default '0', - `interval` int(10) unsigned NOT NULL default '1440', + `interval_sweep` int(10) unsigned NOT NULL default '0', + `id_network_server_assigned` int(10) unsigned NOT NULL default '0', PRIMARY KEY (`id_rt`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; @@ -610,6 +612,7 @@ CREATE TABLE `tserver` ( `checksum` tinyint(3) unsigned NOT NULL default '0', `description` varchar(255) default NULL, `recon_server` tinyint(3) unsigned NOT NULL default '0', + `version` varchar(20) NOT NULL default '', PRIMARY KEY (`id_server`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; @@ -625,6 +628,7 @@ CREATE TABLE `tsesion` ( `accion` varchar(100) NOT NULL default '', `descripcion` varchar(200) NOT NULL default '', `fecha` datetime NOT NULL default '0000-00-00 00:00:00', + `utimestamp` bigint(20) unsigned NOT NULL default '0', PRIMARY KEY (`ID_sesion`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; diff --git a/pandora_console/pandoradb_data.sql b/pandora_console/pandoradb_data.sql index ad750dbcab..cab1286870 100644 --- a/pandora_console/pandoradb_data.sql +++ b/pandora_console/pandoradb_data.sql @@ -1,74 +1,58 @@ -/* -// Pandora FMS - the Free monitoring system -// ======================================== -// Copyright (c) 2004-2007 Sancho Lerena, slerena@openideas.info -// Copyright (c) 2005-2007 Artica Soluciones Tecnologicas -// Copyright (c) 2004-2007 Raul Mateos Martin, raulofpandora@gmail.com -// Copyright (c) 2006-2007 Jose Navarro jose@jnavarro.net -// Copyright (c) 2006-2007 Jonathan Barajas, jonathan.barajas[AT]gmail[DOT]com - -// This program is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License -// as published by the Free Software Foundation version 2 -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// You should have received a copy of the GNU General Public License -// along with this program; if not, write to the Free Software -// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -*/ --- MySQL dump 9.11 +-- MySQL dump 10.10 -- -- Host: localhost Database: pandora -- ------------------------------------------------------ --- Server version 4.0.24_Debian-10-log +-- Server version 5.0.24a-Debian_9ubuntu0.1-log + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; +/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; +/*!40101 SET NAMES utf8 */; +/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; +/*!40103 SET TIME_ZONE='+00:00' */; +/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; +/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; +/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; +/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; -- -- Dumping data for table `talerta` -- -INSERT INTO `talerta` VALUES (1,'eMail','echo _field3_ | sendmail -s _field2_ _field1_','Send email from Pandora Server. mail is a default command on all "standard" Unix systems, using:\r\n_field1_ as destination email address, and\r\n_field2_ as subject for message. \r\n_field3_ as text of message.'); -INSERT INTO `talerta` VALUES (2,'LogFile','echo _timestamp_ pandora _field1_ _field2_ >> /var/log/pandora_alert.log','This is a default alert to write alerts in a standard ASCII plaintext log file in /var/log/pandora_alert.log\r\n'); -INSERT INTO `talerta` VALUES (3,'Internal Audit','','This alert save alert in Pandora internal audit system. Fields are static and only _field1_ is used.'); -INSERT INTO `talerta` VALUES (4,'SNMP Trap','/usr/bin/snmptrap -v 1 -c trap_public 192.168.0.4 1.1.1.1.1.1.1.1 _agent_ _field1_','Send a SNMPTRAP to 192.168.0.4. Please review config and adapt to your needs, this is only a sample, not functional itself.'); -INSERT INTO `talerta` VALUES (5,'SMS Text','echo _field2_ | mail -s PANDORA_field1_ slerena@vodafone.es','Send SMS via e-mail gateway. Use _field1_ for a short SMS text (35 chars) and _field2_ for text message (full SMS)'); -INSERT INTO `talerta` VALUES (6,'Syslog','/usr/bin/logger -pri daemon.alert Pandora Alert _agent_ _field1_ _field2_','Uses _field1_ and _field2_ to generate a Syslog alert in facility "daemon" with "alert" level.'); + +/*!40000 ALTER TABLE `talerta` DISABLE KEYS */; +LOCK TABLES `talerta` WRITE; +INSERT INTO `talerta` VALUES (1,'eMail','echo _field3_ | sendmail -s _field2_ _field1_','Send email from Pandora Server. mail is a default command on all "standard" Unix systems, using:\r\n_field1_ as destination email address, and\r\n_field2_ as subject for message. \r\n_field3_ as text of message.'),(2,'LogFile','echo _timestamp_ pandora _field1_ _field2_ >> /var/log/pandora_alert.log','This is a default alert to write alerts in a standard ASCII plaintext log file in /var/log/pandora_alert.log\r\n'),(3,'Internal Audit','','This alert save alert in Pandora interal audit system. Fields are static and only _field1_ is used.'),(4,'SNMP Trap','/usr/bin/snmptrap -v 1 -c trap_public 192.168.0.4 1.1.1.1.1.1.1.1 _agent_ _field1_','Send a SNMPTRAP to 192.168.0.4. Please review config and adapt to your needs, this is only a sample, not functional itself.'),(5,'SMS Text','echo _field2_ | mail -s PANDORA_field1_ slerena@vodafone.es','Send SMS via e-mail gateway. Use field1 for a short SMS text (35 chars) and field 2 for text message (full SMS)'),(6,'Syslog','/usr/bin/logger -pri daemon.alert Pandora Alert _agent_ _field1_ _field2_','Uses field1 and field2 to generate Syslog alert in facility "daemon" with "alert" level.'),(7,'Sound Alert','/usr/bin/play /usr/share/sounds/alarm.wav',''); +UNLOCK TABLES; +/*!40000 ALTER TABLE `talerta` ENABLE KEYS */; -- -- Dumping data for table `tconfig` -- -INSERT INTO `tconfig` VALUES (1,'language_code','en'); -INSERT INTO `tconfig` VALUES (3,'block_size','20'); -INSERT INTO `tconfig` VALUES (4,'days_purge','60'); -INSERT INTO `tconfig` VALUES (5,'days_compact','15'); -INSERT INTO `tconfig` VALUES (6,'graph_res','2'); -INSERT INTO `tconfig` VALUES (7,'step_compact','1'); -INSERT INTO `tconfig` VALUES (8,'db_scheme_version','1.2'); -INSERT INTO `tconfig` VALUES (9,'db_scheme_build','PD60926'); -INSERT INTO `tconfig` VALUES (10,'graph_order','1'); -INSERT INTO `tconfig` VALUES (11,'truetype','0'); -INSERT INTO `tconfig` VALUES (12,'bgimage','background2.jpg'); + +/*!40000 ALTER TABLE `tconfig` DISABLE KEYS */; +LOCK TABLES `tconfig` WRITE; +INSERT INTO `tconfig` VALUES (1,'language_code','en'),(3,'block_size','20'),(4,'days_purge','60'),(5,'days_compact','15'),(6,'graph_res','5'),(7,'step_compact','1'),(8,'db_scheme_version','1.3'),(9,'db_scheme_build','PD60328'),(12,'bgimage','background4.jpg'),(13,'show_unknown','0'),(14,'show_lastalerts','1'); +UNLOCK TABLES; +/*!40000 ALTER TABLE `tconfig` ENABLE KEYS */; + -- -- Dumping data for table `tconfig_os` -- -INSERT INTO `tconfig_os` VALUES (1,'Linux','Linux: All versions','so_linux.gif'); -INSERT INTO `tconfig_os` VALUES (2,'Solaris','Sun Solaris','so_solaris.gif'); -INSERT INTO `tconfig_os` VALUES (3,'AIX','IBM AIX','so_aix.gif'); -INSERT INTO `tconfig_os` VALUES (4,'BSD','OpenBSD, FreeBSD and Others','so_bsd.gif'); -INSERT INTO `tconfig_os` VALUES (5,'HP-UX','HP-UX Unix OS','so_hpux.gif'); -INSERT INTO `tconfig_os` VALUES (6,'BeOS','BeOS','so_beos.gif'); -INSERT INTO `tconfig_os` VALUES (7,'Cisco','CISCO IOS','so_cisco.gif'); -INSERT INTO `tconfig_os` VALUES (8,'MacOS','MAC OS','so_mac.gif'); -INSERT INTO `tconfig_os` VALUES (9,'Windows','Microsoft Windows OS','so_win.gif'); -INSERT INTO `tconfig_os` VALUES (10,'Other','Other SO','so_other.gif'); -INSERT INTO `tconfig_os` VALUES (11,'Network','Pandora Network Agent','network.gif'); + +/*!40000 ALTER TABLE `tconfig_os` DISABLE KEYS */; +LOCK TABLES `tconfig_os` WRITE; +INSERT INTO `tconfig_os` VALUES (1,'Linux','Linux: All versions','so_linux.gif'),(2,'Solaris','Sun Solaris','so_solaris.gif'),(3,'AIX','IBM AIX','so_aix.gif'),(4,'BSD','OpenBSD, FreeBSD and Others','so_bsd.gif'),(5,'HPUX','HPUX Unix OS','so_hpux.gif'),(6,'BeOS','BeOS','so_beos.gif'),(7,'Cisco','CISCO IOS','so_cisco.gif'),(8,'MacOS','MAC OS','so_mac.gif'),(9,'Windows','Microsoft Windows OS','so_win.gif'),(10,'Other','Other SO','so_other.gif'),(11,'Network','Pandora Network Agent','network.gif'); +UNLOCK TABLES; +/*!40000 ALTER TABLE `tconfig_os` ENABLE KEYS */; + -- -- Dumping data for table `tgrupo` -- +LOCK TABLES `tgrupo` WRITE; INSERT INTO `tgrupo` VALUES (1,'All','world',0); INSERT INTO `tgrupo` VALUES (2,'Servers','server_database',0); INSERT INTO `tgrupo` VALUES (3,'IDS','eye',0); @@ -78,98 +62,125 @@ INSERT INTO `tgrupo` VALUES (9,'Comms','comms',0); INSERT INTO `tgrupo` VALUES (10,'Others','others',0); INSERT INTO `tgrupo` VALUES (11,'Workstations','workstation',0); INSERT INTO `tgrupo` VALUES (12,'Applications','apps',0); - --- --- Dumping data for table `tlink` --- - -INSERT INTO `tlink` VALUES (0000000001,'GeekTools','www.geektools.com'); -INSERT INTO `tlink` VALUES (0000000002,'CentralOPS','http://www.centralops.net/'); -INSERT INTO `tlink` VALUES (0000000003,'Pandora Project','http://pandora.sourceforge.net'); -INSERT INTO `tlink` VALUES (0000000004,'Babel Project','http://babel.sourceforge.net'); -INSERT INTO `tlink` VALUES (0000000005,'Google','http://www.google.com'); - --- --- Dumping data for table `torigen` --- - -INSERT INTO `torigen` VALUES ('Operating System event'); -INSERT INTO `torigen` VALUES ('IDS events'); -INSERT INTO `torigen` VALUES ('Firewall records'); -INSERT INTO `torigen` VALUES ('Database event'); -INSERT INTO `torigen` VALUES ('Application data'); -INSERT INTO `torigen` VALUES ('Logfiles'); -INSERT INTO `torigen` VALUES ('Other data source'); -INSERT INTO `torigen` VALUES ('Pandora event'); -INSERT INTO `torigen` VALUES ('User report'); -INSERT INTO `torigen` VALUES ('Unknown source'); - --- --- Dumping data for table `tperfil` --- - -INSERT INTO `tperfil` VALUES (1,'Operator (Read)',0,1,0,1,0,0,0,0,0,0); -INSERT INTO `tperfil` VALUES (2,'Operator (Write)',1,1,0,1,0,0,0,0,0,0); -INSERT INTO `tperfil` VALUES (3,'Chief Operator',1,1,1,1,0,0,0,0,0,0); -INSERT INTO `tperfil` VALUES (4,'Group coordinator',1,1,1,1,1,1,1,0,0,0); -INSERT INTO `tperfil` VALUES (5,'Pandora Administrator',1,1,1,1,1,1,1,1,1,1); - --- --- Dumping data for table `ttipo_modulo` --- - -INSERT INTO `ttipo_modulo` VALUES (1,'generic_data',0,'Generic module to adquire numeric data','mod_data.gif'); -INSERT INTO `ttipo_modulo` VALUES (2,'generic_proc',1,'Generic module to adquire boolean data','mod_proc.gif'); -INSERT INTO `ttipo_modulo` VALUES (3,'generic_data_string',0,'Generic module to adquire alphanumeric data','mod_string.gif'); -INSERT INTO `ttipo_modulo` VALUES (4,'generic_data_inc',0,'Generic module to adquire numeric incremental data','mod_data_inc.gif'); -INSERT INTO `ttipo_modulo` VALUES (6,'remote_icmp_proc',3,'Remote ICMP network agent, boolean data','mod_icmp_proc.gif'); -INSERT INTO `ttipo_modulo` VALUES (7,'remote_icmp',2,'Remote ICMP network agent (latency)','mod_icmp_data.gif'); -INSERT INTO `ttipo_modulo` VALUES (8,'remote_tcp',2,'Remote TCP network agent, numeric data','mod_tcp_data.gif'); -INSERT INTO `ttipo_modulo` VALUES (9,'remote_tcp_proc',3,'Remote TCP network agent, boolean data','mod_tcp_proc.gif'); -INSERT INTO `ttipo_modulo` VALUES (10,'remote_tcp_string',2,'Remote TCP network agent, alphanumeric data','mod_tcp_string.gif'); -INSERT INTO `ttipo_modulo` VALUES (11,'remote_tcp_inc',2,'Remote TCP network agent, incremental data','mod_tcp_inc.gif'); -INSERT INTO `ttipo_modulo` VALUES (12,'remote_udp_proc',3,'Remote UDP network agent, boolean data','mod_udp_proc.gif'); -INSERT INTO `ttipo_modulo` VALUES (15,'remote_snmp',2,'Remote SNMP network agent, numeric data','mod_snmp_data.gif'); -INSERT INTO `ttipo_modulo` VALUES (16,'remote_snmp_inc',2,'Remote SNMP network agent, incremental data','mod_snmp_inc.gif'); -INSERT INTO `ttipo_modulo` VALUES (17,'remote_snmp_string',2,'Remote SNMP network agent, alphanumeric data','mod_snmp_string.gif'); -INSERT INTO `ttipo_modulo` VALUES (18,'remote_snmp_proc',1,'Remote SNMP network agent, boolean data','mod_snmp_proc.gif'); - --- --- Dumping data for table `tusuario` --- - -INSERT INTO `tusuario` VALUES ('admin','Default Admin','1da7ee7d45b96d0e1f45ee4ee23da560','Admin Pandora','2005-12-18 20:13:10','admin_pandora@nowhere.net','555-555-555',1); -INSERT INTO `tusuario` VALUES ('demo','Demo user','fe01ce2a7fbac8fafaed7c982a04e229','Please do not change anything in this user, so other users can connect with it.\r\n\r\nThanks.','2005-12-20 17:46:48','demo@nowhere.net','+4555435435',0); - --- --- Dumping data for table `tusuario_perfil` --- - -INSERT INTO `tusuario_perfil` VALUES (1,'demo',1,1,'admin'); -INSERT INTO `tusuario_perfil` VALUES (2,'admin',5,1,'admin'); - +UNLOCK TABLES; +/*!40000 ALTER TABLE `tgrupo` ENABLE KEYS */; -- -- Dumping data for table `tlanguage` -- -INSERT INTO `tlanguage` VALUES ('ast_es','Bable'); -INSERT INTO `tlanguage` VALUES ('en','English'); -INSERT INTO `tlanguage` VALUES ('es_es','Español'); -INSERT INTO `tlanguage` VALUES ('es_la','Español-Latinoamérica'); -INSERT INTO `tlanguage` VALUES ('pt_br','Português-Brasil'); -INSERT INTO `tlanguage` VALUES ('fr','Français'); -INSERT INTO `tlanguage` VALUES ('it','Italiano'); -INSERT INTO `tlanguage` VALUES ('ca','Català'); -INSERT INTO `tlanguage` VALUES ('gl','Galego'); -INSERT INTO `tlanguage` VALUES ('de','Deutch'); +/*!40000 ALTER TABLE `tlanguage` DISABLE KEYS */; +LOCK TABLES `tlanguage` WRITE; +INSERT INTO `tlanguage` VALUES ('bb','Bable'),('ca','Català'),('de','German'),('en','English'),('es','Español'),('es_gl','Gallego'),('es_la','Español-Latinoamérica'),('eu','Euskera'),('fr','Français'),('pt_br','Portuguese-Brazil'); +UNLOCK TABLES; +/*!40000 ALTER TABLE `tlanguage` ENABLE KEYS */; + +-- +-- Dumping data for table `tlink` +-- + + +/*!40000 ALTER TABLE `tlink` DISABLE KEYS */; +LOCK TABLES `tlink` WRITE; +INSERT INTO `tlink` VALUES (0000000001,'GeekTools','www.geektools.com'),(0000000002,'CentralOPS','http://www.centralops.net/'),(0000000003,'Pandora Project','http://pandora.sourceforge.net'),(0000000004,'Babel Project','http://babel.sourceforge.net'),(0000000005,'Google','http://www.google.com'); +UNLOCK TABLES; +/*!40000 ALTER TABLE `tlink` ENABLE KEYS */; + -- -- Dumping data for table `tmodule_group` -- -INSERT INTO `tmodule_group` VALUES ('1','General'); -INSERT INTO `tmodule_group` VALUES ('2','Networking'); -INSERT INTO `tmodule_group` VALUES ('3','Application'); -INSERT INTO `tmodule_group` VALUES ('4','System'); -INSERT INTO `tmodule_group` VALUES ('5','Miscellaneous'); + +/*!40000 ALTER TABLE `tmodule_group` DISABLE KEYS */; +LOCK TABLES `tmodule_group` WRITE; +INSERT INTO `tmodule_group` VALUES (1,'General'),(2,'Networking'),(3,'Application'),(4,'System'),(5,'Miscellaneous'); +UNLOCK TABLES; +/*!40000 ALTER TABLE `tmodule_group` ENABLE KEYS */; + +-- +-- Dumping data for table `tnetwork_component` +-- + + +/*!40000 ALTER TABLE `tnetwork_component` DISABLE KEYS */; +LOCK TABLES `tnetwork_component` WRITE; +INSERT INTO `tnetwork_component` VALUES (1,'OS Total process','Total process in Operating System (UNIX MIB)',5,8,0,0,0,0,'','NULL','NULL','',0),(2,'OS CPU Load','CPU Load in Operating System (UNIX MIB)',5,9,0,0,0,0,'','NULL','NULL','',0),(3,'Sysname','Get name of system using SNMP standard MIB',1,17,0,0,900,0,'','','public','.1.3.6.1.2.1.1.1.0',1),(4,'OS Users','Active users in Operating System (UNIX MIB)',5,6,0,0,0,0,'','NULL','NULL','',0),(5,'CiscoAP Wifi traffic','Cisco AP AP120',9,6,0,0,0,0,'','NULL','NULL','',0),(6,'CiscoAP Wifi errors','Get errors con WiFi for Cisco AP AP120',9,16,0,0,300,0,'','','public','',2),(7,'CiscoAP RAM','Get RAM available on device',9,15,0,0,300,0,'','','public','',4),(8,'CiscoAP Ethernet OUT','Cisco AP AP120',9,6,0,0,0,0,'','NULL','NULL','',0),(9,'CiscoAP Ethernet IN','Cisco AP AP120',9,6,0,0,0,0,'','NULL','NULL','',0),(10,'CiscoAP CPU Usage','Cisco AP AP120',9,6,0,0,0,0,'','NULL','NULL','',0),(11,'Cisco Catalyst CPU Usage','Cisco Catalyst 3750',8,6,0,0,0,0,'','NULL','NULL','',0),(12,'FlashFree ','Cisco Catalyst 3750',8,6,0,0,0,0,'','NULL','NULL','',0),(13,'RAM_Usage','Cisco Catalyst 3750',8,6,0,0,0,0,'','NULL','NULL','',0),(16,'CPU Usage','',7,6,0,0,0,0,'','NULL','NULL','',0),(17,'Memory available','',7,6,0,0,0,0,'','NULL','NULL','',0),(18,'Configuration changes','',7,6,0,0,0,0,'','NULL','NULL','',0),(19,'Power #1','',6,18,0,0,180,0,'','','public',' .1.3.6.1.4.1.2334.2.1.5.8.0',4),(20,'Power #2','',6,18,0,0,180,0,'','','public',' .1.3.6.1.4.1.2334.2.1.5.10.0',4),(21,'User concurrence','',6,6,0,0,0,0,'','NULL','NULL','',0),(22,'HSRP Status','Get status of HSRP',2,18,0,0,180,0,'','','public','1.3.6.1.4.1.9.9.106.1.2.1.1.15.12.106',2),(23,'Num. of classes','',6,6,0,0,0,0,'','NULL','NULL','',0),(24,'Interface #1 status','Status of NIC#1',10,18,0,0,180,0,'','','public','.1.3.6.1.2.1.2.2.1.8.1',2),(25,'Interface #2 status','Status of NIC #2',10,18,0,0,180,0,'','','public','.1.3.6.1.2.1.2.2.1.8.2',2),(26,'Interface #3 status','Status of NIC #3',10,18,0,0,180,0,'','','public','.1.3.6.1.2.1.2.2.1.8.3',2),(27,'Interface #1 outOctects','Output throughtput on Interface #1',10,16,0,0,180,0,'','','public','.1.3.6.1.2.1.2.2.1.16.1',2),(28,'Interface #2 outOctects','Output troughtput on interface #2',10,16,0,0,180,0,'','','public','.1.3.6.1.2.1.2.2.1.16.2',1),(29,'Interface #3 outOctects','Output troughtput on Interface #3',10,16,0,0,180,0,'','','public','.1.3.6.1.2.1.2.2.1.16.3',2),(30,'Interface #1 inOctects','Input troughtput on Interface #1',10,16,0,0,180,0,'','','public','.1.3.6.1.2.1.2.2.1.10.1',2),(31,'Interface #2 inOctects','Input throughtput for interface #2',10,16,0,0,180,0,'','NULL','public','.1.3.6.1.2.1.2.2.1.10.2',2),(32,'Interface #3 inOctects','Input throught on interface #3',10,16,0,0,180,0,'','','public','.1.3.6.1.2.1.2.2.1.10.3',2),(34,'Host Alive','Check if host is alive using ICMP ping check.',10,6,0,0,120,0,'','','','',2),(36,'Host Latency','Get host network latency in miliseconds, using ICMP.',10,7,0,0,180,0,'','','','',2),(37,'Check HTTP Server','Test APACHE2 HTTP service remotely (Protocol response, not only openport)',10,9,0,0,300,80,'GET / HTTP/1.0^M^M','HTTP/1.1 200 OK','','',3),(38,'Check FTP Server','Check FTP protocol, not only check port.',10,9,0,0,300,21,'QUIT','221','','',3),(39,'Check SSH Server','Checks port 22 is opened',10,9,0,0,300,22,'','','','',2),(40,'Check Telnet server','Check telnet port',10,9,0,0,300,23,'','','','',2),(41,'Check SMTP server','Check if SMTP port it's open',10,9,0,0,300,25,'','','','',2),(42,'Check POP3 server','Check POP3 port.',10,9,0,0,300,110,'','','','',2); +UNLOCK TABLES; +/*!40000 ALTER TABLE `tnetwork_component` ENABLE KEYS */; + +-- +-- Dumping data for table `tnetwork_component_group` +-- + + +/*!40000 ALTER TABLE `tnetwork_component_group` DISABLE KEYS */; +LOCK TABLES `tnetwork_component_group` WRITE; +INSERT INTO `tnetwork_component_group` VALUES (1,'General group',0),(2,'Cisco MIBs',10),(3,'Nortel MIBS',10),(4,'3COM MIBs',10),(5,'UNIX MIBs',12),(6,'Packetshaper MIBs',10),(7,'Nortel BPS 2000 MIBs',3),(8,'Cisco Catalyst3750 MIBs',2),(9,'Cisco AP120+',2),(10,'Network Management',0),(11,'Microsoft Windows MIB',12),(12,'Operating Systems',0); +UNLOCK TABLES; +/*!40000 ALTER TABLE `tnetwork_component_group` ENABLE KEYS */; + +-- +-- Dumping data for table `torigen` +-- + + +/*!40000 ALTER TABLE `torigen` DISABLE KEYS */; +LOCK TABLES `torigen` WRITE; +INSERT INTO `torigen` VALUES ('Operating System event'),('IDS events'),('Firewall records'),('Database event'),('Application data'),('Logfiles'),('Other data source'),('Pandora FMS Event'),('User report'),('Unknown source'); +UNLOCK TABLES; +/*!40000 ALTER TABLE `torigen` ENABLE KEYS */; + +-- +-- Dumping data for table `ttipo_modulo` +-- + + +/*!40000 ALTER TABLE `ttipo_modulo` DISABLE KEYS */; +LOCK TABLES `ttipo_modulo` WRITE; +INSERT INTO `ttipo_modulo` VALUES (1,'generic_data',0,'Generic module to adquire numeric data','mod_data.gif'),(2,'generic_proc',1,'Generic module to adquire boolean data','mod_proc.gif'),(3,'generic_data_string',0,'Generic module to adquire alphanumeric data','mod_string.gif'),(4,'generic_data_inc',0,'Generic module to adquire numeric incremental data','mod_data_inc.gif'),(6,'remote_icmp_proc',3,'Remote ICMP network agent, boolean data','mod_icmp_proc.gif'),(7,'remote_icmp',2,'Remote ICMP network agent (latency)','mod_icmp_data.gif'),(8,'remote_tcp',2,'Remote TCP network agent, numeric data','mod_tcp_data.gif'),(9,'remote_tcp_proc',3,'Remote TCP network agent, boolean data','mod_tcp_proc.gif'),(10,'remote_tcp_string',2,'Remote TCP network agent, alphanumeric data','mod_tcp_string.gif'),(11,'remote_tcp_inc',2,'Remote TCP network agent, incremental data','mod_tcp_inc.gif'),(15,'remote_snmp',2,'Remote SNMP network agent, numeric data','mod_snmp_data.gif'),(16,'remote_snmp_inc',2,'Remote SNMP network agent, incremental data','mod_snmp_inc.gif'),(17,'remote_snmp_string',2,'Remote SNMP network agent, alphanumeric data','mod_snmp_string.gif'),(18,'remote_snmp_proc',1,'Remote SNMP network agent, boolean data','mod_snmp_proc.gif'); +UNLOCK TABLES; +/*!40000 ALTER TABLE `ttipo_modulo` ENABLE KEYS */; + +-- +-- Dumping data for table `tusuario` +-- + + +/*!40000 ALTER TABLE `tusuario` DISABLE KEYS */; +LOCK TABLES `tusuario` WRITE; +INSERT INTO `tusuario` VALUES ('admin','Default Admin','1da7ee7d45b96d0e1f45ee4ee23da560','Admin Pandora','2007-03-27 18:59:39','admin_pandora@nowhere.net','555-555-555',1),('demo','Demo user','fe01ce2a7fbac8fafaed7c982a04e229','Please don\\'t change anything in this user, so other users can connect with it.\r\n\r\nThanks.','2006-04-20 13:00:05','demo@nowhere.net','+4555435435',0); +UNLOCK TABLES; +/*!40000 ALTER TABLE `tusuario` ENABLE KEYS */; + +-- +-- Dumping data for table `tusuario_perfil` +-- + + +/*!40000 ALTER TABLE `tusuario_perfil` DISABLE KEYS */; +LOCK TABLES `tusuario_perfil` WRITE; +INSERT INTO `tusuario_perfil` VALUES (1,'demo',1,1,'admin'),(2,'admin',5,1,'admin'); +UNLOCK TABLES; +/*!40000 ALTER TABLE `tusuario_perfil` ENABLE KEYS */; + +-- +-- Dumping data for table `tperfil` +-- + + +/*!40000 ALTER TABLE `tperfil` DISABLE KEYS */; +LOCK TABLES `tperfil` WRITE; +INSERT INTO `tperfil` VALUES (1,'Operator (Read)',0,1,0,1,0,0,0,0,0,0),(2,'Operator (Write)',1,1,0,1,0,0,0,0,0,0),(3,'Chief Operator',1,1,1,1,0,0,0,0,0,0),(4,'Group coordinator',1,1,1,1,1,1,1,0,0,0),(5,'Pandora Administrator',1,1,1,1,1,1,1,1,1,1); +UNLOCK TABLES; +/*!40000 ALTER TABLE `tperfil` ENABLE KEYS */; +/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; + +/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; +/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; +/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; +/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; +/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; +/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; +