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

44 lines
2.1 KiB
PHP

<?php
// Pandora FMS - https://pandorafms.com
// ==================================================
// Copyright (c) 2005-2023 Pandora FMS
// Please see https://pandorafms.com/community/ for full contribution list
// 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
* @subpackage Clippy
*/
function clippy_module_unknow()
{
$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']['module_unknow'] = [];
$return_tours['tours']['module_unknow']['steps'] = [];
$return_tours['tours']['module_unknow']['steps'][] = [
'init_step_context' => true,
'intro' => '<table>'.'<tr>'.'<td class="context_help_title">'.__('You have unknown modules in this agent.').'</td>'.'</tr>'.'<tr>'.'<td class="context_help_body">'.__('Unknown modules are modules which receive data normally at least in one occassion, but at this time are not receving data. Please check our troubleshoot help page to help you determine why you have unknown modules.').'</td>'.'</tr>'.'</table>',
];
$return_tours['tours']['module_unknow']['conf'] = [];
$return_tours['tours']['module_unknow']['conf']['autostart'] = false;
$return_tours['tours']['module_unknow']['conf']['show_bullets'] = 0;
$return_tours['tours']['module_unknow']['conf']['show_step_numbers'] = 0;
// ==================================================================
return $return_tours;
}