Add new firts task and change text in other
This commit is contained in:
parent
06b56d80c8
commit
806962f2e5
|
@ -0,0 +1,26 @@
|
|||
<?php
|
||||
global $config;
|
||||
check_login ();
|
||||
ui_require_css_file ('firts_task');
|
||||
?>
|
||||
<?php
|
||||
|
||||
ui_print_info_message ( array('no_close'=>true, 'message'=> __('There are no custom fields defined yet.') ) );
|
||||
?>
|
||||
|
||||
<div class="new_task">
|
||||
<div class="image_task">
|
||||
<?php echo html_print_image('images/firts_task/icono_grande_reconserver.png', true, array("title" => __('Custom Graphs')));?>
|
||||
</div>
|
||||
<div class="text_task">
|
||||
<h3> <?php echo __('Create Custom Fields'); ?></h3>
|
||||
<p id="description_task"> <?php echo __('The Recon Task definition of Pandora FMS is used to find new elements in the network.
|
||||
If it detects any item, it will add that item to the monitoring, and if that item it is already being monitored, then it will
|
||||
ignore it or will update its information.There are three types of detection: Based on <strong id="fuerte"> ICMP </strong>(pings),
|
||||
<strong id="fuerte">SNMP</strong> (detecting the topology of networks and their interfaces), and other <strong id="fuerte"> customized </strong>
|
||||
type. You can define your own customized recon script.'); ?></p>
|
||||
<form action="index.php?sec=gagente&sec2=godmode/agentes/configure_field" method="post">
|
||||
<input type="submit" class="button_task" value="<?php echo __('Create Custom Fields'); ?>" />
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
|
@ -10,16 +10,18 @@ ui_print_info_message ( array('no_close'=>true, 'message'=> __('There are no in
|
|||
|
||||
<div class="new_task">
|
||||
<div class="image_task">
|
||||
<?php echo html_print_image('images/firts_task/icono_grande_custom_reporting.png', true, array("title" => __('Incidents')));?>
|
||||
<?php echo html_print_image('images/firts_task/icono_grande_incidencia.png', true, array("title" => __('Incidents')));?>
|
||||
</div>
|
||||
<div class="text_task">
|
||||
<h3> <?php echo __('Create Incidents'); ?></h3>
|
||||
<p id="description_task"> <?php echo __('The Recon Task definition of Pandora FMS is used to find new elements in the network.
|
||||
If it detects any item, it will add that item to the monitoring, and if that item it is already being monitored, then it will
|
||||
ignore it or will update its information.There are three types of detection: Based on <strong id="fuerte"> ICMP </strong>(pings),
|
||||
<strong id="fuerte">SNMP</strong> (detecting the topology of networks and their interfaces), and other <strong id="fuerte"> customized </strong>
|
||||
type. You can define your own customized recon script.'); ?></p>
|
||||
<form action="index.php?sec=gservers&sec2=godmode/servers/manage_recontask_form&create" method="post">
|
||||
<p id="description_task"> <?php echo __("Besides receiving and processing data to monitor systems or applications,
|
||||
you're also required to monitor possible incidents which might take place on these systems within the system monitoring process.
|
||||
For it, the Pandora FMS team has designed an incident manager within which any user is able to open incidents,
|
||||
explaining what's happened on the network and to update them with comments and files any time in case there is a need to do so.
|
||||
This system allows the users to work as a team, along with different roles and work-flow systems which allows an incident to be
|
||||
moved from one group to another, and that members from different groups and different people could work on the same incident, sharing information and files.
|
||||
"); ?></p>
|
||||
<form action="index.php?sec=workspace&sec2=operation/incidents/incident_detail&insert_form=1" method="post">
|
||||
<input type="submit" class="button_task" value="<?php echo __('Create Incidents'); ?>" />
|
||||
</form>
|
||||
</div>
|
||||
|
|
|
@ -19,9 +19,13 @@ $networkmap_types = networkmap_get_types($strict_user);
|
|||
<p id="description_task"> <?php echo __("There is also an open-source version of the network map.
|
||||
This functionality allows to graphically display the nodes and relationships, agents, modules and groups available to the user.
|
||||
There are three types of network maps:
|
||||
<li><ul>Topology Map</ul>
|
||||
<ul>Group Map</ul>
|
||||
<ul>Policy Map</ul></li> "); ?></p>
|
||||
");
|
||||
echo "<li>" . __("Topology Map") . "</li>
|
||||
<li>" . __("Group Map") . "</li>
|
||||
<li>" . __("Radial Map (User without strict user)") . "</li>
|
||||
<li>" . __("Dinamic Map") . "</li>
|
||||
<li>" . __("Policy Map (Only Enterprise version)") . "</li>";
|
||||
?> </p>
|
||||
<form id="networkmap_action" method="post" action="index.php?sec=network&sec2=operation/agentes/networkmap&action=create">
|
||||
<?php echo html_print_select($networkmap_types, 'tab', 'topology', '', '', 0);
|
||||
html_print_input_hidden('add_networkmap', 1);
|
||||
|
|
|
@ -11,12 +11,11 @@ ui_require_css_file ('firts_task');
|
|||
</div>
|
||||
<div class="text_task">
|
||||
<h3> <?php echo __('Create Planned Downtime'); ?></h3>
|
||||
<p id="description_task"> <?php echo __('The Recon Task definition of Pandora FMS is used to find new elements in the network.
|
||||
If it detects any item, it will add that item to the monitoring, and if that item it is already being monitored, then it will
|
||||
ignore it or will update its information.There are three types of detection: Based on <strong id="fuerte"> ICMP </strong>(pings),
|
||||
<strong id="fuerte">SNMP</strong> (detecting the topology of networks and their interfaces), and other <strong id="fuerte"> customized </strong>
|
||||
type. You can define your own customized recon script.'); ?></p>
|
||||
<form action="index.php?sec=gservers&sec2=godmode/servers/manage_recontask_form&create" method="post">
|
||||
<p id="description_task"> <?php echo __("Pandora FMS contains a scheduled downtime management system.
|
||||
This system was designed to deactivate the alerts in the intervals whenever there is down time by deactivating the agent.
|
||||
If an agent is deactivated, it doesn't collect information. In a down time, the down-time intervals aren't taken into
|
||||
account for most of the metrics or types of reports, because the agents don't contain any data within those intervals. "); ?></p>
|
||||
<form action="index.php?sec=estado&sec2=godmode/agentes/planned_downtime.editor" method="post">
|
||||
<input type="submit" class="button_task" value="<?php echo __('Create Planned Downtime'); ?>" />
|
||||
</form>
|
||||
</div>
|
||||
|
|
|
@ -3,21 +3,19 @@ global $config;
|
|||
check_login ();
|
||||
ui_require_css_file ('firts_task');
|
||||
?>
|
||||
<?php ui_print_info_message ( array('no_close'=>true, 'message'=> __('There are no recon task defined yet.') ) ); ?>
|
||||
<?php ui_print_info_message ( array('no_close'=>true, 'message'=> __('There are no tags defined yet.') ) ); ?>
|
||||
|
||||
<div class="new_task">
|
||||
<div class="image_task">
|
||||
<?php echo html_print_image('images/firts_task/icono_grande_reconserver.png', true, array("alt" => __('Recon server')));?>
|
||||
<?php echo html_print_image('images/firts_task/icono_grande_gestiondetags.png', true, array("alt" => __('Recon server')));?>
|
||||
</div>
|
||||
<div class="text_task">
|
||||
<h3> <?php echo __('Create Recon Task'); ?></h3>
|
||||
<p id="description_task"> <?php echo __('The Recon Task definition of Pandora FMS is used to find new elements in the network.
|
||||
If it detects any item, it will add that item to the monitoring, and if that item it is already being monitored, then it will
|
||||
ignore it or will update its information.There are three types of detection: Based on <strong id="fuerte"> ICMP </strong>(pings),
|
||||
<strong id="fuerte">SNMP</strong> (detecting the topology of networks and their interfaces), and other <strong id="fuerte"> customized </strong>
|
||||
type. You can define your own customized recon script.'); ?></p>
|
||||
<form action="index.php?sec=gservers&sec2=godmode/servers/manage_recontask_form&create" method="post">
|
||||
<input type="submit" class="button_task" value="<?php echo __('Create Recon Task'); ?>" />
|
||||
<h3> <?php echo __('Create Tags'); ?></h3>
|
||||
<p id="description_task"> <?php echo __("From Pandora FMS versions 5 and above, the access to modules can be configured by a tags system.
|
||||
Tags are configured on the system and be assigned to the chosen modules.
|
||||
The user's access can be limited to modules with certain tags in this way. "); ?></p>
|
||||
<form action="index.php?sec=gmodules&sec2=godmode/tag/edit_tag&action=new" method="post">
|
||||
<input type="submit" class="button_task" value="<?php echo __('Create Tags'); ?>" />
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -103,7 +103,8 @@ if ($fields) {
|
|||
$table->data = array ();
|
||||
}
|
||||
else {
|
||||
ui_print_info_message ( array('no_close'=>true, 'message'=> __('No fields defined') ) );
|
||||
require_once ($config['homedir'] . "/general/firts_task/custom_fields.php");
|
||||
return;
|
||||
}
|
||||
|
||||
if ($fields === false) $fields = array();
|
||||
|
|
|
@ -117,52 +117,53 @@ else {
|
|||
$result = tags_search_tag(false, $filter);
|
||||
}
|
||||
|
||||
// Form to add new tags or search tags
|
||||
if (!defined('METACONSOLE')) {
|
||||
echo "<table border=0 cellpadding=4 cellspacing=4 class='databox data' width=100%>";
|
||||
echo "<tr>";
|
||||
echo "<td>";
|
||||
echo '<b>' . __("Name") . "/" . __("Description") . '</b>';
|
||||
echo "</td>";
|
||||
echo "<td align=center>";
|
||||
echo '<form method=post action="index.php?sec='.$sec.'&sec2=godmode/tag/tag&delete_tag=0">';
|
||||
html_print_input_hidden ("search_tag", "1");
|
||||
html_print_input_text ('tag_name', $tag_name, '', 30, 255, false);
|
||||
echo " ";
|
||||
html_print_submit_button (__('Filter'), 'filter_button', false, 'class="sub search"');
|
||||
echo "</form>";
|
||||
echo "</td>";
|
||||
echo "</tr>";
|
||||
echo "</table>";
|
||||
}
|
||||
else {
|
||||
|
||||
$filters = '<form method=post class="filters_form" action="index.php?sec='.$sec.'&sec2=godmode/tag/tag&delete_tag=0">';
|
||||
$filters .= "<table border=0 cellpadding=0 cellspacing=0 class=databox_filters width=70%>";
|
||||
$filters .= "<tr>";
|
||||
$filters .= "<td>";
|
||||
$filters .= __("Name") . "/" . __("Description");
|
||||
$filters .= " ";
|
||||
$filters .= html_print_input_hidden ("search_tag", "1",true);
|
||||
$filters .= html_print_input_text ('tag_name', $tag_name, '', 30, 255, true);
|
||||
$filters .= "</td>";
|
||||
$filters .= "<td>";
|
||||
$filters .= html_print_submit_button (__('Filter'), 'filter_button', false, 'class="sub search"',true);
|
||||
$filters .= "</td>";
|
||||
$filters .= "</tr>";
|
||||
$filters .= "</table>";
|
||||
$filters .= "</form>";
|
||||
ui_toggle($filters, __("Show Options"));
|
||||
}
|
||||
|
||||
// Prepare pagination
|
||||
ui_pagination ($total_tags, $url);
|
||||
|
||||
// Display tags previously filtered or not
|
||||
$rowPair = true;
|
||||
$iterator = 0;
|
||||
|
||||
if (!empty($result)) {
|
||||
// Form to add new tags or search tags
|
||||
if (!defined('METACONSOLE')) {
|
||||
echo "<table border=0 cellpadding=4 cellspacing=4 class='databox data' width=100%>";
|
||||
echo "<tr>";
|
||||
echo "<td>";
|
||||
echo '<b>' . __("Name") . "/" . __("Description") . '</b>';
|
||||
echo "</td>";
|
||||
echo "<td align=center>";
|
||||
echo '<form method=post action="index.php?sec='.$sec.'&sec2=godmode/tag/tag&delete_tag=0">';
|
||||
html_print_input_hidden ("search_tag", "1");
|
||||
html_print_input_text ('tag_name', $tag_name, '', 30, 255, false);
|
||||
echo " ";
|
||||
html_print_submit_button (__('Filter'), 'filter_button', false, 'class="sub search"');
|
||||
echo "</form>";
|
||||
echo "</td>";
|
||||
echo "</tr>";
|
||||
echo "</table>";
|
||||
}
|
||||
else {
|
||||
|
||||
$filters = '<form method=post class="filters_form" action="index.php?sec='.$sec.'&sec2=godmode/tag/tag&delete_tag=0">';
|
||||
$filters .= "<table border=0 cellpadding=0 cellspacing=0 class=databox_filters width=70%>";
|
||||
$filters .= "<tr>";
|
||||
$filters .= "<td>";
|
||||
$filters .= __("Name") . "/" . __("Description");
|
||||
$filters .= " ";
|
||||
$filters .= html_print_input_hidden ("search_tag", "1",true);
|
||||
$filters .= html_print_input_text ('tag_name', $tag_name, '', 30, 255, true);
|
||||
$filters .= "</td>";
|
||||
$filters .= "<td>";
|
||||
$filters .= html_print_submit_button (__('Filter'), 'filter_button', false, 'class="sub search"',true);
|
||||
$filters .= "</td>";
|
||||
$filters .= "</tr>";
|
||||
$filters .= "</table>";
|
||||
$filters .= "</form>";
|
||||
ui_toggle($filters, __("Show Options"));
|
||||
}
|
||||
|
||||
// Prepare pagination
|
||||
ui_pagination ($total_tags, $url);
|
||||
|
||||
// Display tags previously filtered or not
|
||||
$rowPair = true;
|
||||
$iterator = 0;
|
||||
|
||||
|
||||
|
||||
$table = new stdClass();
|
||||
$table->width = '100%';
|
||||
|
@ -241,7 +242,10 @@ if (!empty($result)) {
|
|||
|
||||
html_print_table ($table);
|
||||
}
|
||||
|
||||
else{
|
||||
require_once ($config['homedir'] . "/general/firts_task/tags.php");
|
||||
return;
|
||||
}
|
||||
echo "<table border=0 cellpadding=0 cellspacing=0 width=100%>";
|
||||
echo "<tr>";
|
||||
echo "<td align=right>";
|
||||
|
|
Loading…
Reference in New Issue