diff --git a/extras/deploy-scripts/pandora_deploy_community.sh b/extras/deploy-scripts/pandora_deploy_community.sh
index a49cc294bf..6433324056 100644
--- a/extras/deploy-scripts/pandora_deploy_community.sh
+++ b/extras/deploy-scripts/pandora_deploy_community.sh
@@ -528,23 +528,6 @@ ServerTokens Prod
EO_CONFIG_F
-# Add ws proxy options to apache.
-cat >> /etc/httpd/conf.modules.d/00-proxy.conf << 'EO_HTTPD_MOD'
-LoadModule proxy_wstunnel_module modules/mod_proxy_wstunnel.so
-
-EO_HTTPD_MOD
-
-cat >> /etc/httpd/conf.d/wstunnel.conf << 'EO_HTTPD_WSTUNNEL'
-ProxyRequests Off
-
- Require all granted
-
-
-ProxyPass /ws ws://127.0.0.1:8080
-ProxyPassReverse /ws ws://127.0.0.1:8080
-
-EO_HTTPD_WSTUNNEL
-
# Temporal quitar htaccess
sed -i -e "s/php_flag engine off//g" $PANDORA_CONSOLE/images/.htaccess
sed -i -e "s/php_flag engine off//g" $PANDORA_CONSOLE/attachment/.htaccess
@@ -691,16 +674,6 @@ EO_LRA
chmod 0644 /etc/logrotate.d/pandora_server
chmod 0644 /etc/logrotate.d/pandora_agent
-# Add websocket engine start script.
-mv /var/www/html/pandora_console/pandora_websocket_engine /etc/init.d/
-chmod +x /etc/init.d/pandora_websocket_engine
-
-# Start Websocket engine
-/etc/init.d/pandora_websocket_engine start &>> $LOGFILE
-
-# Configure websocket to be started at start.
-systemctl enable pandora_websocket_engine &>> $LOGFILE
-
# Enable pandora ha service
systemctl enable pandora_server --now &>> $LOGFILE
execute_cmd "systemctl start pandora_server" "Starting Pandora FMS Server"
diff --git a/extras/deploy-scripts/pandora_deploy_community_el8.sh b/extras/deploy-scripts/pandora_deploy_community_el8.sh
index 9917f99631..e6af38ecde 100644
--- a/extras/deploy-scripts/pandora_deploy_community_el8.sh
+++ b/extras/deploy-scripts/pandora_deploy_community_el8.sh
@@ -639,23 +639,6 @@ ServerTokens Prod
EO_CONFIG_F
-# Add ws proxy options to apache.
-cat >> /etc/httpd/conf.modules.d/00-proxy.conf << 'EO_HTTPD_MOD'
-LoadModule proxy_wstunnel_module modules/mod_proxy_wstunnel.so
-
-EO_HTTPD_MOD
-
-cat >> /etc/httpd/conf.d/wstunnel.conf << 'EO_HTTPD_WSTUNNEL'
-ProxyRequests Off
-
- Require all granted
-
-
-ProxyPass /ws ws://127.0.0.1:8080
-ProxyPassReverse /ws ws://127.0.0.1:8080
-
-EO_HTTPD_WSTUNNEL
-
# Temporal quitar htaccess
sed -i -e "s/php_flag engine off//g" $PANDORA_CONSOLE/images/.htaccess
sed -i -e "s/php_flag engine off//g" $PANDORA_CONSOLE/attachment/.htaccess
@@ -813,16 +796,6 @@ EO_LRA
chmod 0644 /etc/logrotate.d/pandora_server
chmod 0644 /etc/logrotate.d/pandora_agent
-# Add websocket engine start script.
-mv /var/www/html/pandora_console/pandora_websocket_engine /etc/init.d/ &>> "$LOGFILE"
-chmod +x /etc/init.d/pandora_websocket_engine &>> "$LOGFILE"
-
-# Start Websocket engine
-/etc/init.d/pandora_websocket_engine start &>> "$LOGFILE"
-
-# Configure websocket to be started at start.
-systemctl enable pandora_websocket_engine &>> "$LOGFILE"
-
# Enable pandora ha service
systemctl enable pandora_server --now &>> "$LOGFILE"
execute_cmd "/etc/init.d/pandora_server start" "Starting Pandora FMS Server"
diff --git a/extras/deploy-scripts/pandora_deploy_community_ubuntu_2204.sh b/extras/deploy-scripts/pandora_deploy_community_ubuntu_2204.sh
index 4f541b4125..1d8d554314 100644
--- a/extras/deploy-scripts/pandora_deploy_community_ubuntu_2204.sh
+++ b/extras/deploy-scripts/pandora_deploy_community_ubuntu_2204.sh
@@ -648,17 +648,6 @@ ServerTokens Prod
EO_CONFIG_F
-#Enable quickshell proxy
-cat >> /etc/apache2/mods-enabled/00-proxy.conf << 'EO_HTTPD_WSTUNNEL'
-ProxyRequests Off
-
- Require all granted
-
-
-ProxyPass /ws ws://127.0.0.1:8080
-ProxyPassReverse /ws ws://127.0.0.1:8080
-EO_HTTPD_WSTUNNEL
-
# Fixing console permissions
chmod 600 $PANDORA_CONSOLE/include/config.php &>> "$LOGFILE"
chown -R www-data:www-data $PANDORA_CONSOLE &>> "$LOGFILE"
@@ -813,16 +802,6 @@ EO_LRA
chmod 0644 /etc/logrotate.d/pandora_server
chmod 0644 /etc/logrotate.d/pandora_agent
-# Add websocket engine start script.
-mv /var/www/html/pandora_console/pandora_websocket_engine /etc/init.d/ &>> "$LOGFILE"
-chmod +x /etc/init.d/pandora_websocket_engine &>> "$LOGFILE"
-
-# Start Websocket engine
-/etc/init.d/pandora_websocket_engine start &>> "$LOGFILE"
-
-# Configure websocket to be started at start.
-systemctl enable pandora_websocket_engine &>> "$LOGFILE"
-
# Enable pandora ha service
execute_cmd "/etc/init.d/pandora_server start" "Starting Pandora FMS Server"
systemctl enable pandora_server &>> "$LOGFILE"
diff --git a/pandora_console/include/functions_events.php b/pandora_console/include/functions_events.php
index be880a3655..2353279c65 100644
--- a/pandora_console/include/functions_events.php
+++ b/pandora_console/include/functions_events.php
@@ -2713,6 +2713,7 @@ function events_print_type_img(
$icon = 'images/module_warning.png';
break;
+ case 'unknown':
case 'going_unknown':
$icon = 'images/module_unknown.png';
break;
@@ -2741,7 +2742,6 @@ function events_print_type_img(
$icon = 'images/configuration@svg.svg';
break;
- case 'unknown':
default:
$style .= ' invert_filter';
$icon = 'images/event.svg';
@@ -2993,6 +2993,9 @@ function events_print_type_description($type, $return=false)
break;
case 'unknown':
+ $output .= __('Unknown');
+ break;
+
default:
$output .= __('Unknown type:').': '.$type;
break;
@@ -5861,6 +5864,7 @@ function events_get_instructions($event, $max_text_length=300)
}
switch ($event['event_type']) {
+ case 'unknown':
case 'going_unknown':
if ($event['unknown_instructions'] != '') {
$value = str_replace(
diff --git a/pandora_console/include/styles/events.css b/pandora_console/include/styles/events.css
index 88ee563947..ddce2bf4b5 100644
--- a/pandora_console/include/styles/events.css
+++ b/pandora_console/include/styles/events.css
@@ -584,3 +584,20 @@ div.container-filter-buttons {
#button-start-search {
width: 115px;
}
+
+.events-refresh-pure {
+ position: fixed;
+ z-index: 1;
+ top: 10px;
+ right: 10px;
+ width: 450px;
+ height: 70px;
+ display: flex;
+ flex-direction: row;
+ flex-wrap: wrap;
+ justify-content: space-evenly;
+ align-items: center;
+ background-color: #f2f6f7;
+ border-radius: 15px;
+ padding: 0px 10px;
+}
diff --git a/pandora_console/include/styles/pandora_black.css b/pandora_console/include/styles/pandora_black.css
index bec4bb7ea8..8c4112065c 100644
--- a/pandora_console/include/styles/pandora_black.css
+++ b/pandora_console/include/styles/pandora_black.css
@@ -1916,6 +1916,10 @@ div#dashboard-controls-slides
color: var(--text-color) !important;
}
+div.events-refresh-pure {
+ background-color: #333;
+}
+
.empty-view-buttons {
border-color: #94a1bb14;
}
diff --git a/pandora_console/operation/events/events.php b/pandora_console/operation/events/events.php
index 420c3eb375..7c5f1b1210 100644
--- a/pandora_console/operation/events/events.php
+++ b/pandora_console/operation/events/events.php
@@ -1673,13 +1673,10 @@ $url .= '';
if ($pure) {
// Fullscreen.
// Floating menu - Start.
- echo '
';
-
- echo '';
// Floating menu - End.
@@ -3867,4 +3854,9 @@ function show_events_graph(){
}
});
}
+
+$(document).ready(function () {
+ var controls = document.querySelector('.events-refresh-pure');
+ autoHideElement(controls, 1000);
+});
diff --git a/pandora_server/util/pandora_manage.pl b/pandora_server/util/pandora_manage.pl
index 5469c50f29..dec9a6b9f8 100755
--- a/pandora_server/util/pandora_manage.pl
+++ b/pandora_server/util/pandora_manage.pl
@@ -7916,7 +7916,7 @@ sub pandora_manage_main ($$$) {
'values' => [
'unknown','alert_fired','alert_recovered','alert_ceased',
'alert_manual_validation','recon_host_detected','system',
- 'error','new_agent','going_up_warning','going_up_critical','going_down_warning',
+ 'error','new_agent','going_up_warning','going_up_critical','going_down_warning','going_unknown',
'going_down_normal','going_down_critical','going_up_normal','configuration_change'
]
},