|
|
|
@ -47,8 +47,8 @@ INSERT INTO `tconfig` (`token`, `value`) VALUES
|
|
|
|
|
('days_compact','90'),
|
|
|
|
|
('graph_res','5'),
|
|
|
|
|
('step_compact','1'),
|
|
|
|
|
('db_scheme_version','4.0.1'),
|
|
|
|
|
('db_scheme_build','PD111213'),
|
|
|
|
|
('db_scheme_version','5.0'),
|
|
|
|
|
('db_scheme_build','PD120425'),
|
|
|
|
|
('show_unknown','0'),
|
|
|
|
|
('show_lastalerts','1'),
|
|
|
|
|
('style','pandora'),
|
|
|
|
@ -276,7 +276,7 @@ INSERT INTO `tperfil` VALUES (1,'Operator (Read)',0,1,0,1,0,0,0,0,0
|
|
|
|
|
-- Dumping data for table `tnews`
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
INSERT INTO `tnews` VALUES (1,'admin','Welcome to Pandora FMS 4.0!','This is the new Pandora FMS Console. A lot of new features have been added since last version. Please read the documentation about it, and feel free to test any option.\r\n\r\nThe Pandora FMS Team.',NOW()),
|
|
|
|
|
INSERT INTO `tnews` VALUES (1,'admin','Welcome to Pandora FMS 5.0!','This is the new Pandora FMS Console. A lot of new features have been added since last version. Please read the documentation about it, and feel free to test any option.\r\n\r\nThe Pandora FMS Team.',NOW()),
|
|
|
|
|
(2,'admin','New Pandora FMS Agent Features','Feel free to test our new features for both Windows and Linux agents: Proxy and Broker modes.',NOW());
|
|
|
|
|
|
|
|
|
|
INSERT INTO tmodule VALUES (1,'Agent module');
|
|
|
|
@ -323,9 +323,37 @@ INSERT INTO `tnetwork_component` (`id_nc`, `name`, `description`, `id_group`, `t
|
|
|
|
|
|
|
|
|
|
-- WMI components
|
|
|
|
|
INSERT INTO `tnetwork_component` (`id_nc`, `name`, `description`, `id_group`, `type`, `max`, `min`, `module_interval`, `tcp_port`, `tcp_send`, `tcp_rcv`, `snmp_community`, `snmp_oid`, `id_module_group`, `id_modulo`, `plugin_user`, `max_timeout`) VALUES (200, 'CPU load', 'CPU0 load average', 14, 1, 100, 0, 300, 1, '', '', '', 'SELECT LoadPercentage from Win32_Processor WHERE DeviceID = "CPU0"', 1, 6, 'Administrator', 10);
|
|
|
|
|
|
|
|
|
|
INSERT INTO `tnetwork_component` (`id_nc`, `name`, `description`, `id_group`, `type`, `max`, `min`, `module_interval`, `tcp_port`, `tcp_send`, `tcp_rcv`, `snmp_community`, `snmp_oid`, `id_module_group`, `id_modulo`, `plugin_user`, `max_timeout`) VALUES (201, 'Free RAM', 'Available RAM memory in bytes', 14, 1, 0, 0, 300, 0, '', '', '', 'SELECT AvailableBytes from Win32_PerfRawData_PerfOS_Memory', 1, 6, 'Administrator', 10);
|
|
|
|
|
|
|
|
|
|
INSERT INTO `tnetwork_component` (`id_nc`, `name`, `description`, `id_group`, `type`, `max`, `min`, `module_interval`, `tcp_port`, `tcp_send`, `tcp_rcv`, `snmp_community`, `snmp_oid`, `id_module_group`, `id_modulo`, `plugin_user`, `max_timeout`) VALUES (202, 'Windows version', 'Operating system version', 14, 3, 0, 0, 300, 1, '', '', '', 'SELECT Caption FROM Win32_OperatingSystem', 1, 6, 'Administrator', 10);
|
|
|
|
|
|
|
|
|
|
-- Some other SNMP Components added in 4.0.2
|
|
|
|
|
|
|
|
|
|
INSERT INTO `tnetwork_component` (`id_nc`, `name`, `description`, `id_group`, `type`, `max`, `min`, `module_interval`, `tcp_port`, `tcp_send`, `tcp_rcv`, `snmp_community`, `snmp_oid`, `id_module_group`, `id_modulo`, `id_plugin`, `plugin_user`, `plugin_pass`, `plugin_parameter`, `max_timeout`, `history_data`, `min_warning`, `max_warning`, `str_warning`, `min_critical`, `max_critical`, `str_critical`, `min_ff_event`, `custom_string_1`, `custom_string_2`, `custom_string_3`, `custom_integer_1`, `custom_integer_2`, `post_process`) VALUES (533,'memAvailReal','The amount of free&
|
|
|
|
|
#x20;real memory, in kilobytes.',5,15,0,0,0,0,'1','','public','1.3.6.1.4.1.2021.4.6.0',4,2,0,'','',
|
|
|
|
|
'',0,1,10000.00,40000.00,'',0.00,10000.00,'',0,'','','',0,0,0.0000000000000);
|
|
|
|
|
|
|
|
|
|
INSERT INTO `tnetwork_component` (`id_nc`, `name`, `description`, `id_group`, `type`, `max`, `min`, `module_interval`, `tcp_port`, `tcp_send`, `tcp_rcv`, `snmp_community`, `snmp_oid`, `id_module_group`, `id_modulo`, `id_plugin`, `plugin_user`, `plugin_pass`, `plugin_parameter`, `max_timeout`, `history_data`, `min_warning`, `max_warning`, `str_warning`, `min_critical`, `max_critical`, `str_critical`, `min_ff_event`, `custom_string_1`, `custom_string_2`, `custom_string_3`, `custom_integer_1`, `custom_integer_2`, `post_process`) VALUES (534,'memAvailSwap','The amount&
|
|
|
|
|
#x20;of free swap memory, in kilobytes.',5,15,0,0,0,0,'1','','public','1.3.6.1.4.1.2021.4
|
|
|
|
|
.4.0',4,2,0,'','','',0,1,0.00,0.00,'',0.00,0.00,'',0,'','','',0,0,0.0000000000000);
|
|
|
|
|
|
|
|
|
|
INSERT INTO `tnetwork_component` (`id_nc`, `name`, `description`, `id_group`, `type`, `max`, `min`, `module_interval`, `tcp_port`, `tcp_send`, `tcp_rcv`, `snmp_community`, `snmp_oid`, `id_module_group`, `id_modulo`, `id_plugin`, `plugin_user`, `plugin_pass`, `plugin_parameter`, `max_timeout`, `history_data`, `min_warning`, `max_warning`, `str_warning`, `min_critical`, `max_critical`, `str_critical`, `min_ff_event`, `custom_string_1`, `custom_string_2`, `custom_string_3`, `custom_integer_1`, `custom_integer_2`, `post_process`) VALUES (535,'ssCpuIdle','The percentages of idle CPU time.',5,15,0,0,0,0,'1','','public','1.3.6.1.4.1.2021.11.11.0',4,2,0,'',''
|
|
|
|
|
,'',0,1,0.00,0.00,'',0.00,0.00,'',0,'','','',0,0,0.0000000000000);
|
|
|
|
|
|
|
|
|
|
INSERT INTO `tnetwork_component` (`id_nc`, `name`, `description`, `id_group`, `type`, `max`, `min`, `module_interval`, `tcp_port`, `tcp_send`, `tcp_rcv`, `snmp_community`, `snmp_oid`, `id_module_group`, `id_modulo`, `id_plugin`, `plugin_user`, `plugin_pass`, `plugin_parameter`, `max_timeout`, `history_data`, `min_warning`, `max_warning`, `str_warning`, `min_critical`, `max_critical`, `str_critical`, `min_ff_event`, `custom_string_1`, `custom_string_2`, `custom_string_3`, `custom_integer_1`, `custom_integer_2`, `post_process`) VALUES (536,'SNMP-LoadInt.5','The 5-minute system load average.',5,15,0,0,0,0,'1','','public','1.3.6.1.4.1.2021.10.1.5.2',4,2,0,'',''
|
|
|
|
|
,'',0,1,0.00,0.00,'',0.00,0.00,'',0,'','','',0,0,0.0000000000000);
|
|
|
|
|
INSERT INTO `tnetwork_component` (`id_nc`, `name`, `description`, `id_group`, `type`, `max`, `min`, `module_interval`, `tcp_port`, `tcp_send`, `tcp_rcv`, `snmp_community`, `snmp_oid`, `id_module_group`, `id_modulo`, `id_plugin`, `plugin_user`, `plugin_pass`, `plugin_parameter`, `max_timeout`, `history_data`, `min_warning`, `max_warning`, `str_warning`, `min_critical`, `max_critical`, `str_critical`, `min_ff_event`, `custom_string_1`, `custom_string_2`, `custom_string_3`, `custom_integer_1`, `custom_integer_2`, `post_process`) VALUES (537,'SNMP-LoadInt.1','The 1-minute system load average. ',5,15,0,0,0,0,'1','','public','1.3.6.1.4.1.2021.10.1.5.1',4,2,0,'','','',0,1,0.00,0.00,'',0.00,
|
|
|
|
|
0.00,'',0,'','','',0,0,0.0000000000000);
|
|
|
|
|
|
|
|
|
|
INSERT INTO `tnetwork_component` (`id_nc`, `name`, `description`, `id_group`, `type`, `max`, `min`, `module_interval`, `tcp_port`, `tcp_send`, `tcp_rcv`, `snmp_community`, `snmp_oid`, `id_module_group`, `id_modulo`, `id_plugin`, `plugin_user`, `plugin_pass`, `plugin_parameter`, `max_timeout`, `history_data`, `min_warning`, `max_warning`, `str_warning`, `min_critical`, `max_critical`, `str_critical`, `min_ff_event`, `custom_string_1`, `custom_string_2`, `custom_string_3`, `custom_integer_1`, `custom_integer_2`, `post_process`) VALUES (538,'SNMP-LoadInt.15','The 15-minute system load average. ',5,15,0,0,0,0,'1','','public','1.3.6.1.4.1.2021.10.1.5.3',4,2,0,'','','',0,1,0.00,0.00,'',0.00,0.00,'',
|
|
|
|
|
0,'','','',0,0,0.0000000000000);
|
|
|
|
|
|
|
|
|
|
INSERT INTO `tnetwork_component` (`id_nc`, `name`, `description`, `id_group`, `type`, `max`, `min`, `module_interval`, `tcp_port`, `tcp_send`, `tcp_rcv`, `snmp_community`, `snmp_oid`, `id_module_group`, `id_modulo`, `id_plugin`, `plugin_user`, `plugin_pass`, `plugin_parameter`, `max_timeout`, `history_data`, `min_warning`, `max_warning`, `str_warning`, `min_critical`, `max_critical`, `str_critical`, `min_ff_event`, `custom_string_1`, `custom_string_2`, `custom_string_3`, `custom_integer_1`, `custom_integer_2`, `post_process`) VALUES (539,'Total cache memory','Total Cached Memory',5,15,0,0,0,0,'1','','public','.1.3.6.1.4.1.2021.4.15.0'
|
|
|
|
|
,4,2,0,'','','',0,1,0.00,0.00,'',0.00,0.00,'',0,'','','',0,0,0.0000000000000);
|
|
|
|
|
|
|
|
|
|
INSERT INTO `tnetwork_component` (`id_nc`, `name`, `description`, `id_group`, `type`, `max`, `min`, `module_interval`, `tcp_port`, `tcp_send`, `tcp_rcv`, `snmp_community`, `snmp_oid`, `id_module_group`, `id_modulo`, `id_plugin`, `plugin_user`, `plugin_pass`, `plugin_parameter`, `max_timeout`, `history_data`, `min_warning`, `max_warning`, `str_warning`, `min_critical`, `max_critical`, `str_critical`, `min_ff_event`, `custom_string_1`, `custom_string_2`, `custom_string_3`, `custom_integer_1`, `custom_integer_2`, `post_process`) VALUES (540,'CPU Raw Interrupts','CPU Raw interrupts information from the NetSNMP agent.',5,16,0,0,0,0,'1','','public','.1.3.6.1.4.1.2021.11.59.0'
|
|
|
|
|
,4,2,0,'','','',0,1,0.00,0.00,'',0.00,0.00,'',0,'','','',0,0,0.0000000000000);
|
|
|
|
|
|
|
|
|
|
--
|
|
|
|
|
-- Dumping data for table `tnetwork_component_group`
|
|
|
|
@ -333,11 +361,11 @@ INSERT INTO `tnetwork_component` (`id_nc`, `name`, `description`, `id_group`, `t
|
|
|
|
|
|
|
|
|
|
INSERT INTO `tnetwork_component_group` (`id_sg`, `name`, `parent`) VALUES (1,'General group',0);
|
|
|
|
|
INSERT INTO `tnetwork_component_group` (`id_sg`, `name`, `parent`) VALUES (2,'Cisco MIBs',10);
|
|
|
|
|
INSERT INTO `tnetwork_component_group` (`id_sg`, `name`, `parent`) VALUES (5,'UNIX MIBs',12);
|
|
|
|
|
INSERT INTO `tnetwork_component_group` (`id_sg`, `name`, `parent`) VALUES (5,'NetSNMP UNIX Systems',12);
|
|
|
|
|
INSERT INTO `tnetwork_component_group` (`id_sg`, `name`, `parent`) VALUES (10,'Network Management',0);
|
|
|
|
|
INSERT INTO `tnetwork_component_group` (`id_sg`, `name`, `parent`) VALUES (11,'Microsoft Windows MIB',12);
|
|
|
|
|
INSERT INTO `tnetwork_component_group` (`id_sg`, `name`, `parent`) VALUES (12,'Operating Systems',0);
|
|
|
|
|
INSERT INTO `tnetwork_component_group` (`id_sg`, `name`, `parent`) VALUES (13,'UCD Mibs (Linux, UCD-SNMP)',12);
|
|
|
|
|
INSERT INTO `tnetwork_component_group` (`id_sg`, `name`, `parent`) VALUES (13,'UCD Mibs (Unix systems)',12);
|
|
|
|
|
INSERT INTO `tnetwork_component_group` (`id_sg`, `name`, `parent`) VALUES (14,'WMI',12);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -350,51 +378,11 @@ INSERT INTO `tnetwork_profile` (`id_np`, `name`, `description`) VALUES (4,'Full
|
|
|
|
|
INSERT INTO `tnetwork_profile` (`id_np`, `name`, `description`) VALUES (5,'Linux Server','Full Monitoring of a Linux server services.');
|
|
|
|
|
INSERT INTO `tnetwork_profile` (`id_np`, `name`, `description`) VALUES (6,'Basic WMI monitoring','Basic monitoring of a Windows host.');
|
|
|
|
|
|
|
|
|
|
INSERT INTO `tnetwork_profile_component` (`id_nc`, `id_np`) VALUES (24,1);
|
|
|
|
|
INSERT INTO `tnetwork_profile_component` (`id_nc`, `id_np`) VALUES (25,1);
|
|
|
|
|
INSERT INTO `tnetwork_profile_component` (`id_nc`, `id_np`) VALUES (27,1);
|
|
|
|
|
INSERT INTO `tnetwork_profile_component` (`id_nc`, `id_np`) VALUES (28,1);
|
|
|
|
|
INSERT INTO `tnetwork_profile_component` (`id_nc`, `id_np`) VALUES (30,1);
|
|
|
|
|
INSERT INTO `tnetwork_profile_component` (`id_nc`, `id_np`) VALUES (31,1);
|
|
|
|
|
INSERT INTO `tnetwork_profile_component` (`id_nc`, `id_np`) VALUES (34,1);
|
|
|
|
|
INSERT INTO `tnetwork_profile_component` (`id_nc`, `id_np`) VALUES (39,1);
|
|
|
|
|
INSERT INTO `tnetwork_profile_component` (`id_nc`, `id_np`) VALUES (34,2);
|
|
|
|
|
INSERT INTO `tnetwork_profile_component` (`id_nc`, `id_np`) VALUES (34,3);
|
|
|
|
|
INSERT INTO `tnetwork_profile_component` (`id_nc`, `id_np`) VALUES (37,3);
|
|
|
|
|
INSERT INTO `tnetwork_profile_component` (`id_nc`, `id_np`) VALUES (39,3);
|
|
|
|
|
INSERT INTO `tnetwork_profile_component` (`id_nc`, `id_np`) VALUES (38,3);
|
|
|
|
|
INSERT INTO `tnetwork_profile_component` (`id_nc`, `id_np`) VALUES (24,3);
|
|
|
|
|
INSERT INTO `tnetwork_profile_component` (`id_nc`, `id_np`) VALUES (3,4);
|
|
|
|
|
INSERT INTO `tnetwork_profile_component` (`id_nc`, `id_np`) VALUES (24,4);
|
|
|
|
|
INSERT INTO `tnetwork_profile_component` (`id_nc`, `id_np`) VALUES (25,4);
|
|
|
|
|
INSERT INTO `tnetwork_profile_component` (`id_nc`, `id_np`) VALUES (26,4);
|
|
|
|
|
INSERT INTO `tnetwork_profile_component` (`id_nc`, `id_np`) VALUES (27,4);
|
|
|
|
|
INSERT INTO `tnetwork_profile_component` (`id_nc`, `id_np`) VALUES (28,4);
|
|
|
|
|
INSERT INTO `tnetwork_profile_component` (`id_nc`, `id_np`) VALUES (29,4);
|
|
|
|
|
INSERT INTO `tnetwork_profile_component` (`id_nc`, `id_np`) VALUES (30,4);
|
|
|
|
|
INSERT INTO `tnetwork_profile_component` (`id_nc`, `id_np`) VALUES (31,4);
|
|
|
|
|
INSERT INTO `tnetwork_profile_component` (`id_nc`, `id_np`) VALUES (32,4);
|
|
|
|
|
INSERT INTO `tnetwork_profile_component` (`id_nc`, `id_np`) VALUES (45,4);
|
|
|
|
|
INSERT INTO `tnetwork_profile_component` (`id_nc`, `id_np`) VALUES (46,4);
|
|
|
|
|
INSERT INTO `tnetwork_profile_component` (`id_nc`, `id_np`) VALUES (47,4);
|
|
|
|
|
INSERT INTO `tnetwork_profile_component` (`id_nc`, `id_np`) VALUES (48,4);
|
|
|
|
|
INSERT INTO `tnetwork_profile_component` (`id_nc`, `id_np`) VALUES (3,5);
|
|
|
|
|
INSERT INTO `tnetwork_profile_component` (`id_nc`, `id_np`) VALUES (50,5);
|
|
|
|
|
INSERT INTO `tnetwork_profile_component` (`id_nc`, `id_np`) VALUES (53,5);
|
|
|
|
|
INSERT INTO `tnetwork_profile_component` (`id_nc`, `id_np`) VALUES (24,5);
|
|
|
|
|
INSERT INTO `tnetwork_profile_component` (`id_nc`, `id_np`) VALUES (30,5);
|
|
|
|
|
INSERT INTO `tnetwork_profile_component` (`id_nc`, `id_np`) VALUES (27,5);
|
|
|
|
|
INSERT INTO `tnetwork_profile_component` (`id_nc`, `id_np`) VALUES (34,5);
|
|
|
|
|
INSERT INTO `tnetwork_profile_component` (`id_nc`, `id_np`) VALUES (1,5);
|
|
|
|
|
INSERT INTO `tnetwork_profile_component` (`id_nc`, `id_np`) VALUES (2,5);
|
|
|
|
|
INSERT INTO `tnetwork_profile_component` (`id_nc`, `id_np`) VALUES (49,5);
|
|
|
|
|
INSERT INTO `tnetwork_profile_component` (`id_nc`, `id_np`) VALUES (4,5);
|
|
|
|
|
INSERT INTO `tnetwork_profile_component` (`id_nc`, `id_np`) VALUES (51,5);
|
|
|
|
|
INSERT INTO `tnetwork_profile_component` (`id_nc`, `id_np`) VALUES (52,5);
|
|
|
|
|
INSERT INTO `tnetwork_profile_component` (`id_nc`, `id_np`) VALUES (39,5);
|
|
|
|
|
INSERT INTO `tnetwork_profile_component` (`id_nc`, `id_np`) VALUES (200,6);
|
|
|
|
|
INSERT INTO `tnetwork_profile_component` (`id_nc`, `id_np`) VALUES (201,6);
|
|
|
|
|
INSERT INTO `tnetwork_profile_component` (`id_nc`, `id_np`) VALUES (202,6);
|
|
|
|
|
INSERT INTO `tnetwork_profile` (`id_np`, `name`, `description`) VALUES
|
|
|
|
|
(7,'Linux Server with SNMP','Group of "basic" modules for SNMP monitoring of Linux remote devices. This includes basic conectivity checks and a full range of System');
|
|
|
|
|
|
|
|
|
|
INSERT INTO `tnetwork_profile_component` VALUES (24,1),(25,1),(27,1),(28,1),(30,1),(31,1),(34,1),(39,1),(34,2),(34,3),(37,3),(39,3),(38,3),(24,3),(3,4),(24,4),(25,4),(26,4),(27,4),(28,4),(29,4),(30,4),(31,4),(32,4),(45,4),(46,4),(47,4),(48,4),(3,5),(50,5),(53,5),(24,5),(30,5),(27,5),(34,5),(1,5),(2,5),(49,5),(4,5),(51,5),(52,5),(39,5),(200,6),(201,6),(202,6),(540,7),(533,7),(534,7),(537,7),(538,7),(536,7),(535,7),(539,7),(1,7),(4,7),(34,7),(30,7),(27,7),(24,7);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-- GIS Data
|
|
|
|
@ -432,6 +420,11 @@ INSERT INTO `trecon_script` VALUES
|
|
|
|
|
|
|
|
|
|
INSERT INTO `tplugin` (`id`, `name`, `description`, `max_timeout`, `execute`, `net_dst_opt`, `net_port_opt`, `user_opt`, `pass_opt`, `plugin_type`) VALUES (1,'IPMI Plugin','Plugin to get IPMI monitors from a IPMI Device.',0,'/usr/share/pandora_server/util/plugin/ipmi-plugin.pl','-h','','-u','-p',0),(2,'DNS Plugin','This plugin is used to check if a specific domain return a specific IP address, and to check how time (milisecs) takes the DNS to answer. Use IP address parameter to specify the IP of your domain. Use these custom parameters for the other parameters:

-d domain to check (for example pandorafms.com)
-s DNS Server to check  (for example 8.8.8.8)

Optional parameters:

-t Do a DNS time response check instead DNS resolve test

',15,'/usr/share/pandora_server/util/plugin/dns_plugin.sh','-i','','','',0),(3,'UDP port check','Check a remote UDP port (by using NMAP). Use IP address and Port options.',5,'/usr/share/pandora_server/util/plugin/udp_nmap_plugin.sh','-t','-p','','',0),(4,'SMTP Check','This plugin is used to send a mail to a SMTP server and check if works. Parameters in the plugin 
IP Addres - SMTP Server IP address
User - AUTH login  
Pass - AUTH password
Port - SMTP port (optional)

Optional parameters 

 -d Destination email
 -f Email of the sender
 -a Autentication system, could be LOGIN, PLAIN, CRAM-MD5 or DIGEST-MD


',10,'/usr/share/pandora_server/util/plugin/SMTP_check.pl','-h','-o','-u','-p',0);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
INSERT INTO `tagent_custom_fields` VALUES (1,'Serial Number',0),(2,'Department',0),(3,'Additional ID',0);
|
|
|
|
|
|
|
|
|
|
INSERT INTO `ttag` VALUES (1,'network','Network equipment','http://artica.es'),(2,'critical','Critical modules',''),(3,'dmz','DMZ Network Zone',''),(4,'performance','Performance anda capacity modules',''),(5,'configuration','','');
|
|
|
|
|
|
|
|
|
|
-- -----------------------------------------------------
|
|
|
|
|
-- Table `ttimezone`
|
|
|
|
|
-- -----------------------------------------------------
|
|
|
|
|