49 lines
1.5 KiB
PHP
Executable File
49 lines
1.5 KiB
PHP
Executable File
<?php
|
|
|
|
// Pandora FMS - http://pandorafms.com
|
|
// ==================================================
|
|
// Copyright (c) 2005-2010 Artica Soluciones Tecnologicas
|
|
// Please see http://pandorafms.org for full contribution list
|
|
|
|
// 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.
|
|
|
|
|
|
// Load global vars
|
|
global $config;
|
|
|
|
require_once ($config["homedir"] . '/include/functions_graph.php');
|
|
|
|
check_login ();
|
|
|
|
if (! check_acl ($config['id_user'], 0, "IR") == 1) {
|
|
db_pandora_audit("ACL Violation", "Trying to access Incident section");
|
|
require ("general/noaccess.php");
|
|
exit;
|
|
}
|
|
ui_print_page_header (__('Statistics'), "images/book_edit.png", false, "", false, "");
|
|
|
|
echo '<table width="90%">
|
|
<tr><td valign="top"><h3>'.__('Incidents by status').'</h3>';
|
|
echo graph_incidents_status2 ();
|
|
|
|
echo '<td valign="top"><h3>'.__('Incidents by priority').'</h3>';
|
|
echo grafico_incidente_prioridad2 ();
|
|
|
|
echo '<tr><td><h3>'.__('Incidents by group').'</h3>';
|
|
echo graphic_incident_group2();
|
|
|
|
echo '<td><h3>'.__('Incidents by user').'</h3>';
|
|
echo graphic_incident_user2();
|
|
|
|
echo '<tr><td><h3>'.__('Incidents by source').'</h3>';
|
|
echo graphic_incident_source2();
|
|
|
|
echo '</table>';
|
|
?>
|