2023-10-16 20:47:47 +02:00
< ? php global $config ; ?>
2023-10-17 09:40:50 +02:00
< div id = " general-tactical-view " >
< div id = " welcome-message " >
< ? php echo $welcome ; ?>
< span class = " subtitle-welcome-message " >< ? php echo __ ( 'This is the latest data in your tactical view' ); ?> </span>
</ div >
2024-03-06 15:53:04 +01:00
< div class = " row " >
< div class = " col-xl-6 " >
< div id = " general-overview " class = " pdd_5px " >
2023-10-17 09:40:50 +02:00
< div class = " container " >
< div class = " title " >
2024-03-01 13:10:07 +01:00
< ? php echo $Overview -> title ; ?>
2023-10-17 09:40:50 +02:00
</ div >
< div class = " content br-t " >
< div class = " row " >
< div class = " col-12 " >
2024-03-06 15:53:04 +01:00
< div class = " row " >
< div class = " col-4 " >
2023-10-17 09:40:50 +02:00
< div class = " padding10 " >
2024-03-06 15:53:04 +01:00
< span class = " subtitle " >
< ? php echo __ ( 'Pandora FMS log size' ); ?>
</ span >
2023-10-17 09:40:50 +02:00
< ? php echo $Overview -> getLogSizeStatus (); ?>
</ div >
2024-03-06 15:53:04 +01:00
</ div >
< div class = " col-4 br-l " >
< div class = " padding10 " >
< span class = " subtitle " >
< ? php echo __ ( 'Server status' ); ?>
</ span >
< ? php echo $Overview -> getServerStatus (); ?>
</ div >
</ div >
< div class = " col-4 br-l " >
< div class = " padding10 " >
< span class = " subtitle " >
< ? php echo __ ( 'System CPU Load' ); ?>
</ span >
< ? php echo $Overview -> getCPULoadGraph (); ?>
</ div >
2023-09-21 17:58:18 +02:00
</ div >
2024-01-26 12:41:32 +01:00
</ div >
2024-03-06 15:53:04 +01:00
< ? php if ( $disableGeneralStatistics === false ) : ?>
< div class = " br-t " >
< div class = " padding10 " >
< span class = " subtitle " >
< ? php echo __ ( 'License usage' ); ?>
</ span >
< ? php echo $Overview -> getLicenseUsageGraph (); ?>
</ div >
</ div >
< ? php endif ; ?>
2023-10-17 09:40:50 +02:00
</ div >
</ div >
</ div >
</ div >
2024-03-06 15:53:04 +01:00
</ div >
2023-11-07 13:18:44 +01:00
< div class = " row flex-nowrap height_100p " >
2023-10-17 09:40:50 +02:00
< div class = " col-7 pdd_5px " >
< div class = " container " >
< div class = " title " >
< ? php echo $MonitoringElements -> title ; ?>
</ div >
2023-11-07 13:18:44 +01:00
< div class = " content br-t height_100p " >
< div class = " row height_50p " >
2023-10-17 09:40:50 +02:00
< div class = " col-6 br-r br-b " >
< div class = " subtitle link padding10 padding2 " >
2023-11-07 13:18:44 +01:00
< ? php echo __ ( 'Status (%)' ); ?> <a href="index.php?sec=view&sec2=operation/agentes/estado_agente"><?php echo __('Info'); ?></a>
2023-10-09 19:04:01 +02:00
</ div >
2023-11-07 13:18:44 +01:00
< ? php echo $MonitoringElements -> getMonitoringStatusGraph (); ?>
2023-10-17 09:40:50 +02:00
</ div >
< div class = " col-6 br-b " >
< div class = " subtitle link padding10 padding2 " >
< ? php echo __ ( 'Top-10 module groups' ); ?> <a href="index.php?sec=view&sec2=extensions/module_groups"><?php echo __('Info'); ?></a>
</ div >
< ? php echo $MonitoringElements -> getModuleGroupGraph (); ?>
2023-10-09 19:04:01 +02:00
</ div >
2023-09-21 17:58:18 +02:00
</ div >
2023-11-07 13:18:44 +01:00
< div class = " row height_50p " >
2023-10-17 09:40:50 +02:00
< div class = " col-6 " >
< div class = " subtitle link padding10 padding2 " >
2023-11-07 13:18:44 +01:00
< ? php echo __ ( 'Top-10 Tags' ); ?> <a href="index.php?sec=gusuarios&sec2=godmode/tag/tag"><?php echo __('Info'); ?></a>
2023-10-17 09:40:50 +02:00
</ div >
2023-11-07 13:18:44 +01:00
< ? php echo $MonitoringElements -> getTagsGraph (); ?>
2023-10-17 09:40:50 +02:00
</ div >
< div class = " col-6 br-l " >
< div class = " subtitle link padding10 padding2 " >
< ? php echo __ ( 'Top-10 Groups' ); ?> <a href="index.php?sec=view&sec2=operation/agentes/group_view"><?php echo __('Info'); ?></a>
</ div >
< ? php echo $MonitoringElements -> getAgentGroupsGraph (); ?>
2023-09-21 17:58:18 +02:00
</ div >
</ div >
</ div >
</ div >
2023-10-17 09:40:50 +02:00
2023-09-21 17:58:18 +02:00
</ div >
2023-10-17 09:40:50 +02:00
< div class = " col-5 pdd_5px " >
< div class = " container " id = " database " >
< div class = " title " >
< ? php echo $Database -> title ; ?>
</ div >
< div class = " content br-t " >
< div class = " row " >
< div class = " col-6 br-r br-b " >
< div class = " subtitle " >
< ? php echo __ ( 'Database status' ); ?>
</ div >
< ? php echo $Database -> getStatus (); ?>
</ div >
< div class = " col-6 br-b " >
< div class = " subtitle " >
< ? php echo __ ( 'Data records' ); ?>
</ div >
< ? php echo $Database -> getDataRecords (); ?>
2023-09-25 13:52:28 +02:00
</ div >
</ div >
2023-10-17 09:40:50 +02:00
< div class = " row " >
< div class = " col-6 " >
< div class = " subtitle " >
< ? php echo __ ( 'String records' ); ?>
</ div >
< ? php echo $Database -> getStringRecords (); ?>
</ div >
< div class = " col-6 br-l " >
< div class = " subtitle " >
< ? php echo __ ( 'Events' ); ?>
</ div >
< ? php echo $Database -> getEvents (); ?>
2023-09-25 13:52:28 +02:00
</ div >
2023-09-21 17:58:18 +02:00
</ div >
2023-10-17 09:40:50 +02:00
< div class = " br-t " >
< div class = " subtitle padding10 padding2 " >
< ? php echo __ ( 'Reads (last 24 hrs)' ); ?>
2023-09-25 13:52:28 +02:00
</ div >
2023-10-17 09:40:50 +02:00
< ? php echo $Database -> getReadsGraph (); ?>
2023-09-25 13:52:28 +02:00
</ div >
2023-10-17 09:40:50 +02:00
< div class = " br-t " >
< div class = " subtitle padding10 padding2 " >
< ? php echo __ ( 'Writes (last 24 hrs)' ); ?>
2023-09-25 13:52:28 +02:00
</ div >
2023-10-17 09:40:50 +02:00
< ? php echo $Database -> getWritesGraph (); ?>
2023-09-21 17:58:18 +02:00
</ div >
</ div >
</ div >
2023-09-25 13:52:28 +02:00
</ div >
</ div >
2024-03-06 15:53:04 +01:00
</ div >
2023-10-17 09:40:50 +02:00
< div class = " col-xl-6 " >
< div class = " container mrgn_5px " >
< div class = " title " >
< ? php echo $NewsBoard -> title ; ?>
</ div >
< ? php echo $NewsBoard -> getNews (); ?>
</ div >
< div class = " row " >
< div class = " col-6 pdd_5px " >
< div class = " container " >
< div class = " title br-b " id = " heatmap-title " >
< ? php echo $Groups -> title ; ?>
</ div >
< div class = " subtitle link padding10 padding2 " >
< ? php echo __ ( 'Status' ); ?> <a href="index.php?sec=view&sec2=operation/agentes/group_view"><?php echo __('Info'); ?></a>
</ div >
< div id = " heatmap-group " >
< ? php echo $Groups -> loading (); ?>
</ div >
2023-09-25 13:52:28 +02:00
</ div >
2023-10-17 09:40:50 +02:00
</ div >
2023-11-07 13:18:44 +01:00
< ? php if ( $disableGeneralStatistics === false ) : ?>
2023-10-17 09:40:50 +02:00
< div class = " col-6 " >
< div class = " container mrgn_5px " id = " logStorage " >
< div class = " title br-b " >
< ? php echo $LogStorage -> title ; ?>
</ div >
2023-09-25 13:52:28 +02:00
< div class = " row " >
< div class = " col-6 br-r br-b " >
< div class = " subtitle " >
2023-10-17 09:40:50 +02:00
< ? php echo __ ( 'Log storage status' ); ?>
2023-09-25 13:52:28 +02:00
</ div >
2023-10-17 09:40:50 +02:00
< ? php echo $LogStorage -> getStatus (); ?>
2023-09-25 13:52:28 +02:00
</ div >
< div class = " col-6 br-b " >
< div class = " subtitle " >
2023-10-17 09:40:50 +02:00
< ? php echo __ ( 'Total sources' ); ?>
2023-09-25 13:52:28 +02:00
</ div >
2023-10-17 09:40:50 +02:00
< ? php echo $LogStorage -> getTotalSources (); ?>
2023-09-25 13:52:28 +02:00
</ div >
</ div >
2023-11-07 13:18:44 +01:00
< div class = " row height_100p " >
2023-10-17 09:40:50 +02:00
< div class = " col-6 br-r " >
2023-09-25 13:52:28 +02:00
< div class = " subtitle " >
2023-10-17 09:40:50 +02:00
< ? php echo __ ( 'Stored data' ); ?>
2023-09-25 13:52:28 +02:00
</ div >
2023-10-17 09:40:50 +02:00
< ? php echo $LogStorage -> getStoredData (); ?>
2023-12-14 11:40:26 +01:00
< span class = " indicative-text " >< ? php echo __ ( 'Documents' ); ?> </span>
2023-09-25 13:52:28 +02:00
</ div >
2023-10-17 09:40:50 +02:00
< div class = " col-6 " >
2023-09-25 13:52:28 +02:00
< div class = " subtitle " >
2023-10-17 09:40:50 +02:00
< ? php echo __ ( 'Age of stored data' ); ?>
2023-09-25 13:52:28 +02:00
</ div >
2023-10-17 09:40:50 +02:00
< ? php echo $LogStorage -> getAgeOfStoredData (); ?>
< span class = " indicative-text " >< ? php echo __ ( 'Days' ); ?> </span>
2023-09-25 13:52:28 +02:00
</ div >
</ div >
2023-10-17 09:40:50 +02:00
</ div >
< div class = " container mrgn_5px " id = " SNMPTraps " >
< div class = " title br-b " >
< ? php echo $SnmpTraps -> title ; ?>
2023-09-21 17:58:18 +02:00
</ div >
2023-10-17 09:40:50 +02:00
< div class = " row " >
< div class = " col-6 br-r " >
< div class = " subtitle " >
< ? php echo __ ( 'Trap queues' ); ?>
</ div >
< ? php echo $SnmpTraps -> getQueues (); ?>
</ div >
< div class = " col-6 " >
< div class = " subtitle " >
< ? php echo __ ( 'Total sources' ); ?>
</ div >
< ? php echo $SnmpTraps -> getTotalSources (); ?>
2023-09-21 17:58:18 +02:00
</ div >
</ div >
</ div >
</ div >
2023-11-07 13:18:44 +01:00
< ? php endif ; ?>
2023-09-21 17:58:18 +02:00
</ div >
</ div >
</ div >
2023-10-17 09:40:50 +02:00
< div class = " row " >
< div class = " <?php echo (( $Events->checkAcl () === true)) ? 'col-md-3 pdd_5px' : 'col-12 pdd_5px'; ?> " >
< div class = " container " id = " Alerts " >
< div class = " title br-b " >
< ? php echo $Alerts -> title ; ?>
2023-09-21 17:58:18 +02:00
</ div >
2023-10-17 09:40:50 +02:00
< div class = " row br-b " >
< div class = " col-6 " >
< div class = " subtitle " >
< ? php echo __ ( 'Currently triggered' ); ?>
2023-10-09 16:42:39 +02:00
</ div >
2024-04-15 17:13:22 +02:00
< a href = " index.php?sec=galertas&sec2=godmode/alerts/alert_list&status_alert=fired&standby=1 " >< ? php echo $Alerts -> getCurrentlyTriggered (); ?> </a>
2023-10-09 16:42:39 +02:00
</ div >
2023-10-17 09:40:50 +02:00
< div class = " col-6 br-l " >
< div class = " subtitle " >
< ? php echo __ ( 'Active alerts' ); ?>
2023-10-09 16:42:39 +02:00
</ div >
2023-11-08 13:15:05 +01:00
< a href = " index.php?sec=galertas&sec2=godmode/alerts/alert_list&status_alert=all_enabled " >< ? php echo $Alerts -> getActiveAlerts (); ?> </a>
2023-10-09 16:42:39 +02:00
</ div >
</ div >
2023-10-17 09:40:50 +02:00
< ? php if ( $Alerts -> checkAclUserList () === true ) : ?>
< div id = " list-users " >
< div class = " subtitle link padding10 padding2 " >
< b >< ? php echo __ ( 'Logged in users (24 hrs)' ); ?> </b> <a href="index.php?sec=gusuarios&sec2=godmode/users/user_list"><?php echo __('More details'); ?></a>
</ div >
< ? php echo $Alerts -> getDataTableUsers (); ?>
</ div >
< ? php endif ; ?>
</ div >
</ div >
< ? php if ( $Events -> checkAcl () === true ) : ?>
< div class = " col-md-9 pdd_5px " >
< div class = " container overflow_hidden " id = " Events " >
2023-10-09 16:42:39 +02:00
< div class = " title br-b " >
2023-10-17 09:40:50 +02:00
< ? php echo $Events -> title ; ?>
2023-10-09 16:42:39 +02:00
</ div >
2023-11-07 13:18:44 +01:00
< div class = " row " id = " auto-rescaling " >
< div class = " col-8 br-r trigger-100 " >
2023-10-17 09:40:50 +02:00
< div class = " subtitle link padding10 padding2 " >
2024-03-12 13:28:14 +01:00
< ? php echo __ ( 'Number of events per hour (' ) . $config [ 'event_view_hr' ] . ' hrs)' ; ?> </b> <a href="index.php?sec=eventos&sec2=operation/events/events&filter[event_view_hr]=<?php echo $config['event_view_hr']; ?>&filter[tag_with]=WyIwIl0=&filter[tag_without]=WyIwIl0="><?php echo __('Info'); ?></a>
2023-10-17 09:40:50 +02:00
</ div >
< div id = " events-last-24 " >< ? php echo $Events -> loading (); ?> </div>
2023-11-07 13:18:44 +01:00
< div class = " row br-t h100p observer " >
2023-10-17 09:40:50 +02:00
< div class = " col-4 br-r " >
< div class = " subtitle padding10 padding2 " >
< ? php echo __ ( 'Criticality' ); ?> </b>
</ div >
< div id = " events-criticality " >< ? php echo $Events -> loading (); ?> </div>
</ div >
< div class = " col-4 br-r " >
< div class = " subtitle padding10 padding2 " >
2023-11-07 13:18:44 +01:00
< ? php echo __ ( 'Status (%)' ); ?> </b>
2023-10-17 09:40:50 +02:00
</ div >
< div id = " events-status-validate " >< ? php echo $Events -> loading (); ?> </div>
</ div >
< div class = " col-4 " >
< div class = " subtitle padding10 padding2 " >
< ? php echo __ ( 'Pending validation' ); ?> </b>
</ div >
< div id = " events-status-pending-validate " >< ? php echo $Events -> loading (); ?> </div>
</ div >
2023-10-09 16:42:39 +02:00
</ div >
</ div >
2023-11-07 13:18:44 +01:00
< div class = " col-4 trigger-100 " >
2023-10-17 09:40:50 +02:00
< div class = " subtitle link padding10 padding2 " >
2024-03-12 13:28:14 +01:00
< ? php echo __ ( 'Active events (' ) . $config [ 'event_view_hr' ] . ' hrs)' ; ?> </b> <a href="index.php?sec=eventos&sec2=operation/events/events"><?php echo __('Info'); ?></a>
2023-09-25 13:52:28 +02:00
</ div >
2023-10-17 09:40:50 +02:00
< ? php echo $Events -> getDataTableEvents (); ?>
2023-09-25 13:52:28 +02:00
</ div >
2023-10-09 16:42:39 +02:00
</ div >
2023-09-25 13:52:28 +02:00
</ div >
2023-10-09 16:42:39 +02:00
</ div >
2023-10-17 09:40:50 +02:00
< ? php endif ; ?>
2023-09-21 17:58:18 +02:00
</ div >
2023-10-17 09:40:50 +02:00
< div class = " row " >
< div class = " col-xl-6 pdd_5px " >
< div class = " container " id = " Agents " >
2023-10-09 16:42:39 +02:00
< div class = " title br-b " >
2023-10-17 09:40:50 +02:00
< ? php echo $Agents -> title ; ?>
2023-10-09 16:42:39 +02:00
</ div >
< div class = " row " >
2023-10-17 09:40:50 +02:00
< div class = " col-6 br-r " >
< div class = " row br-b " >
< div class = " col-6 br-r " >
< div class = " subtitle " >
< ? php echo __ ( 'Total agents' ); ?>
2023-10-09 16:42:39 +02:00
</ div >
2023-10-17 09:40:50 +02:00
< ? php echo $Agents -> getTotalAgents (); ?>
2023-10-09 16:42:39 +02:00
</ div >
2023-10-17 09:40:50 +02:00
< div class = " col-6 " >
< div class = " subtitle " >
< ? php echo __ ( 'Alerts (24hrs)' ); ?>
2023-10-09 16:42:39 +02:00
</ div >
2023-10-17 09:40:50 +02:00
< ? php echo $Agents -> getAlerts (); ?>
2023-09-28 16:10:57 +02:00
</ div >
</ div >
2023-10-09 16:42:39 +02:00
< div class = " subtitle link padding10 padding2 " >
2023-10-17 09:40:50 +02:00
< ? php echo __ ( 'Top 20 groups' ); ?> </b> <a href="index.php?sec=view&sec2=operation/agentes/estado_agente"><?php echo __('More details'); ?></a>
2023-10-09 16:42:39 +02:00
</ div >
2023-10-17 09:40:50 +02:00
< ? php echo $Agents -> getDataTableGroups (); ?>
2023-09-28 16:10:57 +02:00
</ div >
2023-10-17 09:40:50 +02:00
< div class = " col-6 " >
< div class = " subtitle padding10 padding2 " >
< ? php echo __ ( 'Operating system' ); ?> </b>
2023-09-28 16:10:57 +02:00
</ div >
2023-10-17 09:40:50 +02:00
< ? php echo $Agents -> getOperatingSystemGraph (); ?>
< div class = " subtitle padding10 padding2 br-t " >
2023-11-07 13:18:44 +01:00
< ? php echo __ ( 'Status (%)' ); ?> </b>
2023-09-28 16:10:57 +02:00
</ div >
2023-10-17 09:40:50 +02:00
< ? php echo $Agents -> getStatusGraph (); ?>
2023-09-28 16:10:57 +02:00
</ div >
</ div >
</ div >
</ div >
2023-10-17 09:40:50 +02:00
< div class = " col-xl-6 " >
2023-11-07 13:18:44 +01:00
< ? php if ( $disableGeneralStatistics === false ) : ?>
< div class = " container mrgn_5px " >
< div class = " title br-b " >
< ? php echo $Configurations -> title ; ?>
</ div >
< div class = " row br-b flex-nowrap " >
< a href = " index.php?sec=view&sec2=operation/agentes/group_view " class = " col-3 flex flex-column center pdd_20px br-r " >
< ? php echo $Configurations -> getTotalGroups (); ?>
2023-10-17 12:49:53 +02:00
</ a >
2023-11-07 13:18:44 +01:00
< a href = " index.php?sec=view&sec2=extensions/agents_modules " class = " col-3 flex flex-column center pdd_20px br-r " >
< ? php echo $Configurations -> getTotalModules (); ?>
</ a >
< ? php if ( enterprise_installed () === true ) : ?>
< a href = " index.php?sec=gmodules&sec2=enterprise/godmode/policies/policies " class = " col-3 flex flex-column center pdd_20px br-r " >
< ? php echo $Configurations -> getTotalPolicies (); ?>
</ a >
< ? php endif ; ?>
< a href = " index.php?sec=gservers&sec2=godmode/servers/plugin " class = " col-3 flex flex-column center pdd_20px " >
< ? php echo $Configurations -> getTotalRemotePlugins (); ?>
</ a >
</ div >
< div class = " row flex-nowrap br-b " >
< a href = " index.php?sec=templates&sec2=godmode/modules/manage_module_templates " class = " col-4 flex flex-column center pdd_20px br-r " >
< ? php echo $Configurations -> getTotalModuleTemplate (); ?>
</ a >
2024-04-15 18:56:25 +02:00
< a href = " index.php?sec=view&sec2=operation/agentes/status_monitor&refr=0&ag_group=0&ag_freestring=&module_option=1&ag_modulename=&moduletype=&datatype=0&status=5&sort_field=&sort=none " class = " col-4 flex flex-column center pdd_20px br-r " >
2023-11-07 13:18:44 +01:00
< ? php echo $Configurations -> getNotInitModules (); ?>
</ a >
< a href = " index.php?sec=view&sec2=operation/agentes/estado_agente&status=3 " class = " col-4 flex flex-column center pdd_20px br-r " >
< ? php echo $Configurations -> getTotalUnknowAgents (); ?>
</ a >
2024-04-15 18:43:13 +02:00
< a href = " index.php?sec=eventos&sec2=operation/events/events&filter[event_view_hr]=24&filter[tag_with]=WyIwIl0=&filter[tag_without]=WyIwIl0= " class = " col-4 flex flex-column center pdd_20px " >
2023-11-07 13:18:44 +01:00
< ? php echo $Configurations -> getTotalEvents (); ?>
</ a >
</ div >
2023-10-09 16:42:39 +02:00
</ div >
2023-11-07 13:18:44 +01:00
< ? php endif ; ?>
2023-10-17 09:40:50 +02:00
< ? php if ( $ScheduledDowntime -> checkAcl () === true ) : ?>
< div class = " container mrgn_5px " >
< div class = " title br-b " >
< ? php echo $ScheduledDowntime -> title ; ?>
</ div >
< ? php echo $ScheduledDowntime -> list (); ?>
</ div >
< ? php endif ; ?>
</ div >
2023-09-28 16:10:57 +02:00
</ div >
2023-10-02 16:44:53 +02:00
</ div >
< ? php
echo $javascript ;