2015-06-26 14:52:01 +02:00
|
|
|
<?php
|
2022-10-28 15:01:00 +02:00
|
|
|
/**
|
|
|
|
* Planned downtimes view
|
|
|
|
*
|
|
|
|
* @category Community
|
|
|
|
* @package Pandora FMS
|
|
|
|
* @subpackage Tools
|
|
|
|
* @version 1.0.0
|
|
|
|
* @license See below
|
|
|
|
*
|
|
|
|
* ______ ___ _______ _______ ________
|
2023-06-08 12:42:10 +02:00
|
|
|
* | __ \.-----.--.--.--| |.-----.----.-----. | ___| | | __|
|
|
|
|
* | __/| _ | | _ || _ | _| _ | | ___| |__ |
|
2022-10-28 15:01:00 +02:00
|
|
|
* |___| |___._|__|__|_____||_____|__| |___._| |___| |__|_|__|_______|
|
|
|
|
*
|
|
|
|
* ============================================================================
|
2023-06-08 11:53:13 +02:00
|
|
|
* Copyright (c) 2005-2023 Pandora FMS
|
2023-06-08 13:19:01 +02:00
|
|
|
* Please see https://pandorafms.com/community/ for full contribution list
|
2022-10-28 15:01:00 +02:00
|
|
|
* 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 for 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.
|
|
|
|
* ============================================================================
|
|
|
|
*/
|
2015-07-02 15:24:39 +02:00
|
|
|
|
2022-10-28 15:01:00 +02:00
|
|
|
// Begin.
|
2015-06-26 14:52:01 +02:00
|
|
|
global $config;
|
2019-01-30 16:18:44 +01:00
|
|
|
check_login();
|
2019-11-21 18:21:46 +01:00
|
|
|
ui_require_css_file('first_task');
|
2015-06-26 14:52:01 +02:00
|
|
|
?>
|
2021-05-10 11:06:43 +02:00
|
|
|
<?php ui_print_info_message(['no_close' => true, 'message' => __('There are no scheduled downtime defined yet.') ]); ?>
|
2015-06-26 14:52:01 +02:00
|
|
|
|
|
|
|
<div class="new_task">
|
2019-01-30 16:18:44 +01:00
|
|
|
<div class="image_task">
|
2021-05-10 11:06:43 +02:00
|
|
|
<?php echo html_print_image('images/first_task/icono_grande_visualconsole.png', true, ['title' => __('Scehduled Downtime')]); ?>
|
2019-01-30 16:18:44 +01:00
|
|
|
</div>
|
|
|
|
<div class="text_task">
|
2022-10-28 15:01:00 +02:00
|
|
|
<h3> <?php echo __('Create Scheduled Downtime'); ?></h3><p id="description_task">
|
2019-01-30 16:18:44 +01:00
|
|
|
<?php
|
|
|
|
echo __(
|
|
|
|
"%s contains a scheduled downtime management system.
|
2018-05-09 15:16:39 +02:00
|
|
|
This system was designed to deactivate alerts during specific intervals whenever there is down time by deactivating the agent.
|
|
|
|
If an agent is deactivated, it doesn't gather information. During down time, down-time intervals aren't taken into
|
|
|
|
account for most metrics or report types, because agents don't contain any data within those intervals.",
|
2019-01-30 16:18:44 +01:00
|
|
|
get_product_name()
|
|
|
|
);
|
|
|
|
?>
|
|
|
|
</p>
|
2019-10-22 16:00:01 +02:00
|
|
|
<form action="index.php?sec=extensions&sec2=godmode/agentes/planned_downtime.editor" method="post">
|
2022-10-28 15:01:00 +02:00
|
|
|
<?php
|
|
|
|
html_print_submit_button(
|
|
|
|
__('Create Scheduled Downtime'),
|
|
|
|
'button_task'
|
|
|
|
);
|
|
|
|
?>
|
2019-01-30 16:18:44 +01:00
|
|
|
</form>
|
|
|
|
</div>
|
2015-06-26 14:52:01 +02:00
|
|
|
</div>
|