mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-27 07:44:35 +02:00
2012-04-25 Sancho Lerena <slerena@artica.es>
* general/error_emptyconfig.php, general/error_authconfig.php, general/error_dbconfig.php: minimal changes on text to fit the error window message. * godmode/modules/manage_network_templates_form.php: Fixed description. * godmode/modules/manage_network_components.php: minimal layout changes. * pandoradb_data.sql: New "default" values for network components, tags, network (group) templates, ant agent custom fields. * operation/agentes/estado_monitores.php: More size for the description in the agent main view. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6173 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
f16b3e48e5
commit
16f3379b81
@ -1,3 +1,20 @@
|
|||||||
|
2012-04-25 Sancho Lerena <slerena@artica.es>
|
||||||
|
|
||||||
|
* general/error_emptyconfig.php,
|
||||||
|
general/error_authconfig.php,
|
||||||
|
general/error_dbconfig.php: minimal changes on text to fit the error
|
||||||
|
window message.
|
||||||
|
|
||||||
|
* godmode/modules/manage_network_templates_form.php: Fixed description.
|
||||||
|
|
||||||
|
* godmode/modules/manage_network_components.php: minimal layout changes.
|
||||||
|
|
||||||
|
* pandoradb_data.sql: New "default" values for network components, tags,
|
||||||
|
network (group) templates, ant agent custom fields.
|
||||||
|
|
||||||
|
* operation/agentes/estado_monitores.php: More size for the description
|
||||||
|
in the agent main view.
|
||||||
|
|
||||||
2012-04-25 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
|
2012-04-25 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
|
||||||
|
|
||||||
* include/styles/dialog.css
|
* include/styles/dialog.css
|
||||||
|
@ -44,16 +44,16 @@
|
|||||||
<tr><td align="left">
|
<tr><td align="left">
|
||||||
<a href="index.php"><img src="images/pandora_login.png" border="0" height="100px" alt="Pandora FMS"></a>
|
<a href="index.php"><img src="images/pandora_login.png" border="0" height="100px" alt="Pandora FMS"></a>
|
||||||
</td><td valign="bottom">
|
</td><td valign="bottom">
|
||||||
Cannot connect to the database, please check your database setup in the <b>include/config.php</b> file or read the documentation on how to setup Pandora FMS.<i><br /><br />
|
Cannot connect to the database, please check your database setup in the <b>include/config.php</b> file.<i><br/><br/>
|
||||||
Probably one or more of your user, database or hostname values are incorrect or
|
Probably your database, hostname, user or password values are incorrect or
|
||||||
the database server is not running.</i><br /><br /><span class="error">
|
the database server is not running.</i><br /><br /><span style='line-height: 18px' class="error">
|
||||||
<b>DB ERROR:</b>
|
<b>DB ERROR:</b>
|
||||||
<?php
|
<?php
|
||||||
echo db_get_last_error();
|
echo db_get_last_error();
|
||||||
?></span>
|
?></span>
|
||||||
</div>
|
</div>
|
||||||
<div class="msg">
|
<div class="msg">
|
||||||
If you have modified auth system, problem could be because Pandora cannot override authorization variables from the config database. Remove them from your database by executing:<br><br><pre>DELETE FROM tconfig WHERE token = "auth";</pre>
|
If you have modified auth system, this problem could be because Pandora cannot override authorization variables from the config database. Remove them from your database by executing:<br><pre>DELETE FROM tconfig WHERE token = "auth";</pre>
|
||||||
</div>
|
</div>
|
||||||
</td></tr>
|
</td></tr>
|
||||||
</table>
|
</table>
|
||||||
|
@ -43,7 +43,7 @@
|
|||||||
<tr><td align="left">
|
<tr><td align="left">
|
||||||
<a href="index.php"><img src="images/pandora_login.png" border="0" height="100px" alt="Pandora FMS"></a>
|
<a href="index.php"><img src="images/pandora_login.png" border="0" height="100px" alt="Pandora FMS"></a>
|
||||||
</td><td valign="bottom">
|
</td><td valign="bottom">
|
||||||
Cannot connect to the database, please check your database setup in the <b>include/config.php</b> file or read the documentation on how to setup Pandora FMS.<i><br><br>
|
Cannot connect to the database, please check your database setup in the <b>include/config.php</b> file.<i><br><br>
|
||||||
Probably one or more of your user, database or hostname values are incorrect or
|
Probably one or more of your user, database or hostname values are incorrect or
|
||||||
the database server is not running.</i><br /><br /><span class="error">
|
the database server is not running.</i><br /><br /><span class="error">
|
||||||
<b>DB ERROR:</b><?php echo db_get_last_error(); ?></span>
|
<b>DB ERROR:</b><?php echo db_get_last_error(); ?></span>
|
||||||
|
@ -44,7 +44,7 @@
|
|||||||
</td><td valign="bottom">
|
</td><td valign="bottom">
|
||||||
<br><br>
|
<br><br>
|
||||||
Cannot load configuration variables from database. Please check your database setup in the
|
Cannot load configuration variables from database. Please check your database setup in the
|
||||||
<b>include/config.php</b> file or read the documentation on how to setup Pandora FMS.<i><br><br>
|
<b>include/config.php</b> file.<i><br><br>
|
||||||
Most likely your database schema has been created but there are is no data in it, you have a problem with the database access credentials or your schema is out of date.
|
Most likely your database schema has been created but there are is no data in it, you have a problem with the database access credentials or your schema is out of date.
|
||||||
<br><br>Pandora FMS Console cannot find <i>include/config.php</i> or this file has invalid
|
<br><br>Pandora FMS Console cannot find <i>include/config.php</i> or this file has invalid
|
||||||
permissions and HTTP server cannot read it. Please read documentation to fix this problem.</i>
|
permissions and HTTP server cannot read it. Please read documentation to fix this problem.</i>
|
||||||
|
@ -357,11 +357,10 @@ if ($components === false)
|
|||||||
|
|
||||||
unset ($table);
|
unset ($table);
|
||||||
|
|
||||||
$table->width = '98%';
|
$table->width = '100%';
|
||||||
$table->head = array ();
|
$table->head = array ();
|
||||||
$table->head[0] = __('Module name');
|
$table->head[0] = __('Module name');
|
||||||
$table->head[1] = __('Type');
|
$table->head[1] = __('Type');
|
||||||
$table->head[2] = __('Interval');
|
|
||||||
$table->head[3] = __('Description');
|
$table->head[3] = __('Description');
|
||||||
$table->head[4] = __('Group');
|
$table->head[4] = __('Group');
|
||||||
$table->head[5] = __('Max/Min');
|
$table->head[5] = __('Max/Min');
|
||||||
@ -383,15 +382,14 @@ foreach ($components as $component) {
|
|||||||
$data[0] .= io_safe_output($component['name']);
|
$data[0] .= io_safe_output($component['name']);
|
||||||
$data[0] .= '</a>';
|
$data[0] .= '</a>';
|
||||||
$data[1] = ui_print_moduletype_icon ($component['type'], true);
|
$data[1] = ui_print_moduletype_icon ($component['type'], true);
|
||||||
$data[2] = $component['module_interval'] ? $component['module_interval'] : __('N/A ');
|
$data[3] = "<span style='font-size: 8px'>". mb_strimwidth (io_safe_output($component['description']), 0, 60, "...") . "</span>";
|
||||||
$data[3] = mb_strimwidth (io_safe_output($component['description']), 0, 30, "...");
|
|
||||||
$data[4] = network_components_get_group_name ($component['id_group']);
|
$data[4] = network_components_get_group_name ($component['id_group']);
|
||||||
$data[5] = $component['max']." / ".$component['min'];
|
$data[5] = $component['max']." / ".$component['min'];
|
||||||
|
|
||||||
$data[6] = '<a style="display: inline; float: left" href="' . $url . '&search_id_group=' . $search_id_group .
|
$data[6] = '<a style="display: inline; float: left" href="' . $url . '&search_id_group=' . $search_id_group .
|
||||||
'search_string=' . $search_string . '&duplicate_network_component=1&source_id=' . $component['id_nc'] . '">' .
|
'search_string=' . $search_string . '&duplicate_network_component=1&source_id=' . $component['id_nc'] . '">' .
|
||||||
html_print_image('images/copy.png', true, array('alt' => __('Duplicate'), 'title' => __('Duplicate'))) . '</a>';
|
html_print_image('images/copy.png', true, array('alt' => __('Duplicate'), 'title' => __('Duplicate'))) . '</a>';
|
||||||
$data[6] .= ' <a href="' . $url . '&delete_component=1&id=' . $component['id_nc'] . '&search_id_group=' . $search_id_group .
|
$data[6] .= '<a href="' . $url . '&delete_component=1&id=' . $component['id_nc'] . '&search_id_group=' . $search_id_group .
|
||||||
'search_string=' . $search_string .
|
'search_string=' . $search_string .
|
||||||
'" onclick="if (! confirm (\''.__('Are you sure?').'\')) return false" >' .
|
'" onclick="if (! confirm (\''.__('Are you sure?').'\')) return false" >' .
|
||||||
html_print_image('images/cross.png', true, array('alt' => __('Delete'), 'title' => __('Delete'))) . '</a>' .
|
html_print_image('images/cross.png', true, array('alt' => __('Delete'), 'title' => __('Delete'))) . '</a>' .
|
||||||
|
@ -203,7 +203,7 @@ if ($id_np > 0) {
|
|||||||
$data = array ();
|
$data = array ();
|
||||||
$data[0] = $row["name"];
|
$data[0] = $row["name"];
|
||||||
$data[1] = html_print_image("images/".modules_show_icon_type($row["type"]), true, array("border" => '0'));
|
$data[1] = html_print_image("images/".modules_show_icon_type($row["type"]), true, array("border" => '0'));
|
||||||
$data[2] = mb_strimwidth($row["description"],0,30,"...");
|
$data[2] = mb_strimwidth(io_safe_output($row["description"]),0,150,"...");
|
||||||
$data[3] = network_components_get_group_name ($row["group"]);
|
$data[3] = network_components_get_group_name ($row["group"]);
|
||||||
$data[4] = html_print_checkbox ("components[]", $row["component_id"], false, true);
|
$data[4] = html_print_checkbox ("components[]", $row["component_id"], false, true);
|
||||||
array_push ($table->data, $data);
|
array_push ($table->data, $data);
|
||||||
|
@ -327,7 +327,7 @@ foreach ($modules as $module) {
|
|||||||
$data[3] .= ' <a class="tag_details" href="ajax.php?page=operation/agentes/estado_monitores&get_tag_tooltip=1&id_agente_modulo='.$module['id_agente_modulo'].'">' .
|
$data[3] .= ' <a class="tag_details" href="ajax.php?page=operation/agentes/estado_monitores&get_tag_tooltip=1&id_agente_modulo='.$module['id_agente_modulo'].'">' .
|
||||||
html_print_image("images/tag_red.png", true, array("id" => 'tag-details-'.$module['id_agente_modulo'], "class" => "img_help")) . '</a> ';
|
html_print_image("images/tag_red.png", true, array("id" => 'tag-details-'.$module['id_agente_modulo'], "class" => "img_help")) . '</a> ';
|
||||||
}
|
}
|
||||||
$data[4] = ui_print_string_substr ($module["descripcion"], 40, true, 9);
|
$data[4] = ui_print_string_substr ($module["descripcion"], 60, true, 8);
|
||||||
|
|
||||||
modules_get_status($module['id_agente_modulo'], $module['estado'], $module['datos'], $status, $title);
|
modules_get_status($module['id_agente_modulo'], $module['estado'], $module['datos'], $status, $title);
|
||||||
|
|
||||||
|
@ -47,8 +47,8 @@ INSERT INTO `tconfig` (`token`, `value`) VALUES
|
|||||||
('days_compact','90'),
|
('days_compact','90'),
|
||||||
('graph_res','5'),
|
('graph_res','5'),
|
||||||
('step_compact','1'),
|
('step_compact','1'),
|
||||||
('db_scheme_version','4.0.1'),
|
('db_scheme_version','5.0'),
|
||||||
('db_scheme_build','PD111213'),
|
('db_scheme_build','PD120425'),
|
||||||
('show_unknown','0'),
|
('show_unknown','0'),
|
||||||
('show_lastalerts','1'),
|
('show_lastalerts','1'),
|
||||||
('style','pandora'),
|
('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`
|
-- 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());
|
(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');
|
INSERT INTO tmodule VALUES (1,'Agent module');
|
||||||
@ -323,9 +323,37 @@ INSERT INTO `tnetwork_component` (`id_nc`, `name`, `description`, `id_group`, `t
|
|||||||
|
|
||||||
-- WMI components
|
-- 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 (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 (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);
|
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`
|
-- 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 (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 (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 (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 (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 (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);
|
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 (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` (`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` (`id_np`, `name`, `description`) VALUES
|
||||||
INSERT INTO `tnetwork_profile_component` (`id_nc`, `id_np`) VALUES (25,1);
|
(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` (`id_nc`, `id_np`) VALUES (27,1);
|
|
||||||
INSERT INTO `tnetwork_profile_component` (`id_nc`, `id_np`) VALUES (28,1);
|
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);
|
||||||
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);
|
|
||||||
|
|
||||||
|
|
||||||
-- GIS Data
|
-- 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 `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`
|
-- Table `ttimezone`
|
||||||
-- -----------------------------------------------------
|
-- -----------------------------------------------------
|
||||||
|
Loading…
x
Reference in New Issue
Block a user