Discovery Tasks first tasks and some minor fixes
Former-commit-id: 4a37dc99f1b1a95217e9be207526d750133a14a6
This commit is contained in:
parent
a5ad61f340
commit
912f0baace
|
@ -15,17 +15,17 @@ global $config;
|
||||||
check_login();
|
check_login();
|
||||||
ui_require_css_file('firts_task');
|
ui_require_css_file('firts_task');
|
||||||
?>
|
?>
|
||||||
<?php ui_print_info_message(['no_close' => true, 'message' => __('There are no recon task defined yet.') ]); ?>
|
<?php ui_print_info_message(['no_close' => true, 'message' => __('There are no discovery tasks defined yet.') ]); ?>
|
||||||
|
|
||||||
<div class="new_task">
|
<div class="new_task">
|
||||||
<div class="image_task">
|
<div class="image_task">
|
||||||
<?php echo html_print_image('images/firts_task/icono_grande_reconserver.png', true, ['title' => __('Discovery server')]); ?>
|
<?php echo html_print_image('images/firts_task/icono_grande_reconserver.png', true, ['title' => __('Discovery server')]); ?>
|
||||||
</div>
|
</div>
|
||||||
<div class="text_task">
|
<div class="text_task">
|
||||||
<h3> <?php echo __('Create Recon Task'); ?> <p id="description_task">
|
<h3> <?php echo __('Create Discovery Task'); ?><p id="description_task">
|
||||||
<?php
|
<?php
|
||||||
echo __(
|
echo __(
|
||||||
'The Recon Task definition of Pandora FMS is used to find new elements in the network.
|
'Discovery Task are 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
|
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),
|
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>
|
<strong id="fuerte">SNMP</strong> (detecting the topology of networks and their interfaces), and other <strong id="fuerte"> customized </strong>
|
||||||
|
@ -33,8 +33,8 @@ ui_require_css_file('firts_task');
|
||||||
);
|
);
|
||||||
?>
|
?>
|
||||||
</p>
|
</p>
|
||||||
<form action="index.php?sec=gservers&sec2=godmode/servers/manage_recontask_form&create" method="post">
|
<form action="index.php?sec=gservers&sec2=godmode/servers/discovery" method="post">
|
||||||
<input type="submit" class="button_task" value="<?php echo __('Create Recon Task'); ?>" />
|
<input type="submit" class="button_task" value="<?php echo __('Discover'); ?>" />
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -168,7 +168,6 @@ class DiscoveryTaskList extends Wizard
|
||||||
} else {
|
} else {
|
||||||
$recon_task = db_get_all_rows_sql('SELECT * FROM trecon_task');
|
$recon_task = db_get_all_rows_sql('SELECT * FROM trecon_task');
|
||||||
if ($recon_task === false) {
|
if ($recon_task === false) {
|
||||||
ui_print_page_header(__('Recon View'), 'images/op_recon.png', false, '', false);
|
|
||||||
include_once $config['homedir'].'/general/firts_task/recon_view.php';
|
include_once $config['homedir'].'/general/firts_task/recon_view.php';
|
||||||
return false;
|
return false;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue