pandorafms/pandora_console/include/help/clippy/servers_down.php

44 lines
2.0 KiB
PHP
Raw Normal View History

2015-02-03 09:47:17 +01:00
<?php
2023-06-08 13:19:01 +02:00
// Pandora FMS - https://pandorafms.com
2015-02-03 09:47:17 +01: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
2015-02-03 09:47:17 +01:00
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public License
// as published by the Free Software Foundation; 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.
/**
* @package Include
2015-02-03 09:47:17 +01:00
* @subpackage Clippy
*/
function clippy_servers_down()
{
$return_tours = [];
$return_tours['first_step_by_default'] = true;
$return_tours['help_context'] = true;
$return_tours['tours'] = [];
// ==================================================================
// Help tour about the monitoring with a ping (step 3)
// ------------------------------------------------------------------
$return_tours['tours']['servers_down'] = [];
$return_tours['tours']['servers_down']['steps'] = [];
$return_tours['tours']['servers_down']['steps'][] = [
'init_step_context' => true,
'intro' => '<table>'.'<tr>'.'<td class="context_help_title">'.__('All servers down').'</td>'.'</tr>'.'<tr>'.'<td class="context_help_body">'.__('Can you up all servers. You go to terminal in linux and execute the next command: "sudo /etc/init.d/pandora_server restart". It\'s possible need introduce root pass.').'</td>'.'</tr>'.'</table>',
];
$return_tours['tours']['servers_down']['conf'] = [];
$return_tours['tours']['servers_down']['conf']['autostart'] = true;
$return_tours['tours']['servers_down']['conf']['show_bullets'] = 0;
$return_tours['tours']['servers_down']['conf']['show_step_numbers'] = 0;
// ==================================================================
return $return_tours;
2015-02-03 09:47:17 +01:00
}