diff --git a/pandora_agents/unix/pandora_agent b/pandora_agents/unix/pandora_agent index dd9a985b2a..93182e14f0 100755 --- a/pandora_agents/unix/pandora_agent +++ b/pandora_agents/unix/pandora_agent @@ -1015,7 +1015,7 @@ my $Sem = undef; my $ThreadSem = undef; use constant AGENT_VERSION => '7.0NG.758.1'; -use constant AGENT_BUILD => '211123'; +use constant AGENT_BUILD => '211124'; # Agent log default file size maximum and instances use constant DEFAULT_MAX_LOG_SIZE => 600000; diff --git a/pandora_agents/unix/pandora_agent_installer b/pandora_agents/unix/pandora_agent_installer index 4b9eb3b45f..ff4c5d907b 100755 --- a/pandora_agents/unix/pandora_agent_installer +++ b/pandora_agents/unix/pandora_agent_installer @@ -10,7 +10,7 @@ # ********************************************************************** PI_VERSION="7.0NG.758.1" -PI_BUILD="211123" +PI_BUILD="211124" OS_NAME=`uname -s` FORCE=0 diff --git a/pandora_agents/win32/installer/pandora.mpi b/pandora_agents/win32/installer/pandora.mpi index 482887f788..fa1085d1f9 100644 --- a/pandora_agents/win32/installer/pandora.mpi +++ b/pandora_agents/win32/installer/pandora.mpi @@ -186,7 +186,7 @@ UpgradeApplicationID {} Version -{211123} +{211124} ViewReadme {Yes} diff --git a/pandora_agents/win32/pandora.cc b/pandora_agents/win32/pandora.cc index 70b96f6105..5672b0027c 100644 --- a/pandora_agents/win32/pandora.cc +++ b/pandora_agents/win32/pandora.cc @@ -30,7 +30,7 @@ using namespace Pandora; using namespace Pandora_Strutils; #define PATH_SIZE _MAX_PATH+1 -#define PANDORA_VERSION ("7.0NG.758.1 Build 211123") +#define PANDORA_VERSION ("7.0NG.758.1 Build 211124") string pandora_path; string pandora_dir; diff --git a/pandora_agents/win32/versioninfo.rc b/pandora_agents/win32/versioninfo.rc index 01329528c1..2173a630bb 100644 --- a/pandora_agents/win32/versioninfo.rc +++ b/pandora_agents/win32/versioninfo.rc @@ -11,7 +11,7 @@ BEGIN VALUE "LegalCopyright", "Artica ST" VALUE "OriginalFilename", "PandoraAgent.exe" VALUE "ProductName", "Pandora FMS Windows Agent" - VALUE "ProductVersion", "(7.0NG.758.1(Build 211123))" + VALUE "ProductVersion", "(7.0NG.758.1(Build 211124))" VALUE "FileVersion", "1.0.0.0" END END diff --git a/pandora_console/include/config_process.php b/pandora_console/include/config_process.php index 7ef7781787..81d3f45bd2 100644 --- a/pandora_console/include/config_process.php +++ b/pandora_console/include/config_process.php @@ -20,7 +20,7 @@ /** * Pandora build version and version */ -$build_version = 'PC211123'; +$build_version = 'PC211124'; $pandora_version = 'v7.0NG.758.1'; // Do not overwrite default timezone set if defined. diff --git a/pandora_console/include/functions_graph.php b/pandora_console/include/functions_graph.php index 70aceab133..f561705896 100644 --- a/pandora_console/include/functions_graph.php +++ b/pandora_console/include/functions_graph.php @@ -1574,7 +1574,9 @@ function graphic_combined_module( $date_array['final_date'] = $params['date']; $date_array['start_date'] = ($params['date'] - $params['period']); - $server_name = metaconsole_get_server_by_id($modules[0]['server']); + if (is_metaconsole()) { + $server_name = metaconsole_get_server_by_id($modules[0]['server']); + } if ($params_combined['projection']) { $output_projection = forecast_projection_graph( diff --git a/pandora_console/install.php b/pandora_console/install.php index 58daf611e0..8be5d1da62 100644 --- a/pandora_console/install.php +++ b/pandora_console/install.php @@ -129,7 +129,7 @@
'.__('Title').': '.$help_macros.'
'; @@ -303,8 +321,26 @@ $table->data[2][2] .= ''.__('Description').': '.$help_macros.'
'; -$table->data[3][0] .= ''.__('Resolution').':
'; + +$table->data[3][0] .= ''.__('Description').': '.$help_macros.'
'; +$table->data[4][0] .= ''.__('File name').':
'; -$table->data[4][0] .= html_print_input_file('userfile', true); -$table->data[5][0] = ''.__('Attachment description').':
'; -$table->data[5][0] .= html_print_textarea( +$table->data[5][0] = ''.__('File name').':
'; +$table->data[5][0] .= html_print_input_file('userfile', true); +$table->data[6][0] = ''.__('Attachment description').':
'; +$table->data[6][0] .= html_print_textarea( 'file_description', 3, 20, @@ -345,3 +381,32 @@ if ($update) { } echo '