diff --git a/pandora_console/godmode/reporting/cluster_view.php b/pandora_console/godmode/reporting/cluster_view.php
index 3bfa7881ee..d76e1a241e 100644
--- a/pandora_console/godmode/reporting/cluster_view.php
+++ b/pandora_console/godmode/reporting/cluster_view.php
@@ -67,9 +67,9 @@ echo "
";
$cluster_module_central = db_process_sql('select id_agente_modulo from tagente_modulo where id_agente = (select id_agent from tcluster where id = '.$id_cluster.') and nombre = "Cluster status"');
- $cluster_module_status = modules_get_agentmodule_last_status($cluster_module_central[0]['id_agente_modulo']);
+ $cluster_module_central_status = modules_get_agentmodule_last_status($cluster_module_central[0]['id_agente_modulo']);
- switch ($cluster_module_status) {
+ switch ($cluster_module_central_status) {
case 1:
echo "
@@ -241,7 +241,14 @@ echo "
";
$last_run_difference .= $last_run_difference_seconds.' second/s ago';
echo "".__('LAST UPDATE')."
";
- echo "".$last_run_difference."
";
+
+ if($cluster_module_central_status == 4){
+ echo "".__('Not init')."
";
+ }else{
+ echo "".$last_run_difference."
";
+ }
+
+
echo "";