';
echo '';
return $output;
}
@@ -2898,10 +3620,11 @@ function reporting_get_stats_summary($data, $graph_width, $graph_height)
* It construct a table object with all the events happened in a group
* during a period of time.
*
- * @param int Group id to get the report.
- * @param int Period of time to get the report.
- * @param int Beginning date of the report
- * @param int Flag to return or echo the report table (echo by default).
+ * @param integer $id_group Group id to get the report.
+ * @param integer $period Period of time to get the report.
+ * @param integer $date Beginning date of the report.
+ * @param boolean $return Flag to return or echo the
+ * report table (echo by default).
*
* @return object A table object
*/
@@ -2934,7 +3657,7 @@ function reporting_event_reporting($id_group, $period, $date=0, $return=false)
}
$data[1] = $event['evento'];
- $data[2] = $event['id_usuario'] != '0' ? $event['id_usuario'] : '';
+ $data[2] = ($event['id_usuario'] != '0') ? $event['id_usuario'] : '';
$data[3] = $event['timestamp'];
array_push($table->data, $data);
}
@@ -2950,8 +3673,9 @@ function reporting_event_reporting($id_group, $period, $date=0, $return=false)
/**
* Get a table report from a alerts fired array.
*
- * @param array Alerts fired array.
- * @see function get_alerts_fired ()
+ * @param array $alerts_fired Alerts fired array.
+ *
+ * @see function get_alerts_fired ()
*
* @return object A table object with a report of the fired alerts.
*/
@@ -2966,7 +3690,7 @@ function reporting_get_fired_alerts_table($alerts_fired)
$alert_module = alerts_get_alert_agent_module($id_alert);
$template = alerts_get_alert_template($id_alert);
- // Add alerts fired to $agents_fired_alerts indexed by id_agent
+ // Add alerts fired to $agents_fired_alerts indexed by id_agent.
$id_agent = db_get_value(
'id_agente',
'tagente_modulo',
@@ -3012,8 +3736,9 @@ function reporting_get_fired_alerts_table($alerts_fired)
/**
* Get a report table with all the monitors down.
*
- * @param array An array with all the monitors down
- * @see function modules_get_monitors_down()
+ * @param array $monitors_down An array with all the monitors down.
+ *
+ * @see Function modules_get_monitors_down().
*
* @return object A table object with a monitors down report.
*/
@@ -3027,7 +3752,7 @@ function reporting_get_monitors_down_table($monitors_down)
$agents = [];
if ($monitors_down) {
foreach ($monitors_down as $monitor) {
- // Add monitors fired to $agents_fired_alerts indexed by id_agent
+ // Add monitors fired to $agents_fired_alerts indexed by id_agent.
$id_agent = $monitor['id_agente'];
if (!isset($agents[$id_agent])) {
$agents[$id_agent] = [];
@@ -3067,8 +3792,8 @@ function reporting_get_monitors_down_table($monitors_down)
*
* It shows the number of agents and no more things right now.
*
- * @param int Group to get the report
- * @param bool Flag to return or echo the report (by default).
+ * @param integer $id_group Group to get the report.
+ * @param boolean $return Flag to return or echo the report (by default).
*
* @return HTML string with group report
*/
@@ -3088,9 +3813,10 @@ function reporting_print_group_reporting($id_group, $return=false)
/**
* Get a report table of the fired alerts group by agents.
*
- * @param int Agent id to generate the report.
- * @param int Period of time of the report.
- * @param int Beginning date of the report in UNIX time (current date by default).
+ * @param integer $id_agent Agent id to generate the report.
+ * @param integer $period Period of time of the report.
+ * @param integer $date Beginning date of the report in
+ * UNIX time (current date by default).
*
* @return object A table object with the alert reporting..
*/
@@ -3123,6 +3849,7 @@ function reporting_get_agent_alerts_table($id_agent, $period=0, $date=0)
switch ($template['type']) {
case 'regex':
+ default:
if ($template['matches_value']) {
$data[2] = '≃ "'.$template['value'].'"';
} else {
@@ -3133,23 +3860,19 @@ function reporting_get_agent_alerts_table($id_agent, $period=0, $date=0)
case 'equal':
case 'not_equal':
$data[2] = $template['value'];
-
break;
case 'max-min':
$data[2] = __('Min.').': '.$template['min_value'].' ';
$data[2] .= __('Max.').': '.$template['max_value'].' ';
-
break;
case 'max':
$data[2] = $template['max_value'];
-
break;
case 'min':
$data[2] = $template['min_value'];
-
break;
}
@@ -3167,9 +3890,10 @@ function reporting_get_agent_alerts_table($id_agent, $period=0, $date=0)
/**
* Get a report of monitors in an agent.
*
- * @param int Agent id to get the report
- * @param int Period of time of the report.
- * @param int Beginning date of the report in UNIX time (current date by default).
+ * @param integer $id_agent Agent id to get the report.
+ * @param integer $period Period of time of the report.
+ * @param integer $date Beginning date of the report in UNIX time
+ * (current date by default).
*
* @return object A table object with the report.
*/
@@ -3187,7 +3911,11 @@ function reporting_get_agent_monitors_table($id_agent, $period=0, $date=0)
}
foreach ($monitors as $monitor) {
- $downs = modules_get_monitor_downs_in_period($monitor['id_agente_modulo'], $period, $date);
+ $downs = modules_get_monitor_downs_in_period(
+ $monitor['id_agente_modulo'],
+ $period,
+ $date
+ );
if (! $downs) {
continue;
}
@@ -3199,7 +3927,11 @@ function reporting_get_agent_monitors_table($id_agent, $period=0, $date=0)
$data[0] = $monitor['nombre'];
}
- $data[1] = modules_get_last_down_timestamp_in_period($monitor['id_agente_modulo'], $period, $date);
+ $data[1] = modules_get_last_down_timestamp_in_period(
+ $monitor['id_agente_modulo'],
+ $period,
+ $date
+ );
array_push($table->data, $data);
}
@@ -3210,9 +3942,10 @@ function reporting_get_agent_monitors_table($id_agent, $period=0, $date=0)
/**
* Get a report of all the modules in an agent.
*
- * @param int Agent id to get the report.
- * @param int Period of time of the report
- * @param int Beginning date of the report in UNIX time (current date by default).
+ * @param integer $id_agent Agent id to get the report.
+ * @param integer $period Period of time of the report.
+ * @param integer $date Beginning date of the report in UNIX time
+ * (current date by default).
*
* @return object
*/
@@ -3244,19 +3977,24 @@ function reporting_get_agent_modules_table($id_agent, $period=0, $date=0)
/**
* Get a detailed report of an agent
*
- * @param int Agent to get the report.
- * @param int Period of time of the desired report.
- * @param int Beginning date of the report in UNIX time (current date by default).
- * @param bool Flag to return or echo the report (by default).
+ * @param integer $id_agent Agent to get the report.
+ * @param integer $period Period of time of the desired report.
+ * @param integer $date Beginning date of the report in UNIX time
+ * (current date by default).
+ * @param boolean $return Flag to return or echo the report (by default).
*
* @return string
*/
-function reporting_get_agent_detailed($id_agent, $period=0, $date=0, $return=false)
-{
+function reporting_get_agent_detailed(
+ $id_agent,
+ $period=0,
+ $date=0,
+ $return=false
+) {
$output = '';
$n_a_string = __('N/A(*)');
- // Show modules in agent
+ // Show modules in agent.
$output .= '
';
$output .= '
'.__('Agent').' - '.agents_get_alias($id_agent).'
';
$output .= '
'.__('Modules').'';
@@ -3264,17 +4002,17 @@ function reporting_get_agent_detailed($id_agent, $period=0, $date=0, $return=fal
$table_modules->width = '99%';
$output .= html_print_table($table_modules, true);
- // Show alerts in agent
+ // Show alerts in agent.
$table_alerts = reporting_get_agent_alerts_table($id_agent, $period, $date);
$table_alerts->width = '99%';
- if (sizeof($table_alerts->data)) {
+ if (count($table_alerts->data)) {
$output .= '
'.__('Alerts').'
';
$output .= html_print_table($table_alerts, true);
}
- // Show monitor status in agent (if any)
+ // Show monitor status in agent (if any).
$table_monitors = reporting_get_agent_monitors_table($id_agent, $period, $date);
- if (sizeof($table_monitors->data) == 0) {
+ if (count($table_monitors->data) == 0) {
$output .= '
';
if (! $return) {
echo $output;
@@ -3467,12 +4205,12 @@ function reporting_get_agents_by_status($data, $graph_width=250, $graph_height=1
if (!defined('METACONSOLE')) {
$agents_data = '
Id of the user who fires the response: _current_user_
Custom fields
diff --git a/pandora_console/include/javascript/pandora.js b/pandora_console/include/javascript/pandora.js
index 37a9987812..c30736cd8b 100644
--- a/pandora_console/include/javascript/pandora.js
+++ b/pandora_console/include/javascript/pandora.js
@@ -503,6 +503,14 @@ function module_changed_by_multiple_modules(event, id_module, selected) {
selection_mode = "common";
}
+ var tags_selected = [];
+
+ var tags_to_search = $("#tags").val();
+ if (tags_to_search != null) {
+ if (tags_to_search[0] != -1) {
+ tags_selected = tags_to_search;
+ }
+ }
jQuery.post(
"ajax.php",
{
@@ -510,7 +518,8 @@ function module_changed_by_multiple_modules(event, id_module, selected) {
get_agents_json_for_multiple_modules: 1,
status_module: status_module,
"module_name[]": idModules,
- selection_mode: selection_mode
+ selection_mode: selection_mode,
+ tags: tags_selected
},
function(data) {
$("#agents").append(
diff --git a/pandora_console/include/styles/pandora.css b/pandora_console/include/styles/pandora.css
index 70a9c4920e..7cc134c76a 100644
--- a/pandora_console/include/styles/pandora.css
+++ b/pandora_console/include/styles/pandora.css
@@ -1,24 +1,30 @@
-/*
-Author: The Pandora FMS team
-Name: Default theme
-Description: The default Pandora FMS theme layout
-
-// Pandora FMS - http://pandorafms.com
-// ==========================================================
-// Copyright (c) 2004-2019 Artica Soluciones Tecnológicas S.L
-
-// 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; 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.
-// You should have received a copy of the GNU General Public License
-// along with this program; if not, write to the Free Software
-// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-*/
+/**
+ * Extension to manage a list of gateways and the node address where they should
+ * point to.
+ *
+ * @category Extensions
+ * @package Pandora FMS
+ * @subpackage Community
+ * @version 1.0.0
+ * @license See below
+ *
+ * ______ ___ _______ _______ ________
+ * | __ \.-----.--.--.--| |.-----.----.-----. | ___| | | __|
+ * | __/| _ | | _ || _ | _| _ | | ___| |__ |
+ * |___| |___._|__|__|_____||_____|__| |___._| |___| |__|_|__|_______|
+ *
+ * ============================================================================
+ * Copyright (c) 2005-2019 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.
+ * ============================================================================
+ */
/* Tree view styles */
/*@import url(tree.css);
@@ -2053,82 +2059,58 @@ div#logo_text3 {
/* TABLAS */
/* Cells divs to set individual styles with the table objects */
-div.cellBold {
- width: 100%;
- height: 100%;
+td.cellBold {
font-weight: bold;
}
-div.cellRight {
- width: 100%;
- height: 100%;
+td.cellRight {
text-align: right;
}
-div.cellCenter {
- width: 100%;
- height: 100%;
+td.cellCenter {
text-align: center;
}
-div.cellWhite {
- width: 100%;
- height: 100%;
+td.cellWhite {
background: #fff;
color: #111;
}
-div.cellNormal {
- width: 100%;
- height: 100%;
+td.cellNormal {
background: #6eb432;
color: #fff;
}
-div.cellCritical {
- width: 100%;
- height: 100%;
+td.cellCritical {
background: #f85858;
color: #fff;
}
-div.cellWarning {
- width: 100%;
- height: 100%;
+td.cellWarning {
background: #ffea59;
color: #111;
}
-div.cellUnknown {
- width: 100%;
- height: 100%;
+td.cellUnknown {
background: #aaaaaa;
color: #ffffff;
}
-div.cellNotInit {
- width: 100%;
- height: 100%;
+td.cellNotInit {
background: #3ba0ff;
color: #ffffff;
}
-div.cellAlert {
- width: 100%;
- height: 100%;
+td.cellAlert {
background: #ff8800;
color: #111;
}
-div.cellBorder1 {
- width: 100%;
- height: 100%;
+td.cellBorder1 {
border: 1px solid #666;
}
-div.cellBig {
- width: 100%;
- height: 100%;
+td.cellBig {
font-size: 18px;
}
@@ -4561,4 +4543,4 @@ input:checked + .slider:before {
.no-close .ui-dialog-titlebar-close {
display: none;
}
-/* jQuery dialog */
+/* --- END - JQUERY-UI --- */
diff --git a/pandora_console/include/styles/pandoraPDF.css b/pandora_console/include/styles/pandoraPDF.css
new file mode 100644
index 0000000000..37d527c30b
--- /dev/null
+++ b/pandora_console/include/styles/pandoraPDF.css
@@ -0,0 +1,78 @@
+/**
+ * Extension to manage a list of gateways and the node address where they should
+ * point to.
+ *
+ * @category Extensions
+ * @package Pandora FMS
+ * @subpackage Community
+ * @version 1.0.0
+ * @license See below
+ *
+ * ______ ___ _______ _______ ________
+ * | __ \.-----.--.--.--| |.-----.----.-----. | ___| | | __|
+ * | __/| _ | | _ || _ | _| _ | | ___| |__ |
+ * |___| |___._|__|__|_____||_____|__| |___._| |___| |__|_|__|_______|
+ *
+ * ============================================================================
+ * Copyright (c) 2005-2019 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.
+ * ============================================================================
+ */
+table.header_table {
+ width: 100%;
+}
+
+table.header_table thead tr th,
+table.header_table tbody tr td {
+ padding: 10px;
+}
+
+thead.header_tr tr {
+ background: #e6e6e6;
+}
+
+thead.header_tr tr th {
+ font-weight: normal;
+ text-align: right;
+}
+
+thead.header_tr tr th.th_first {
+ font-weight: bold;
+ text-align: left;
+}
+
+thead.header_tr tr th.th_description {
+ background-color: #f5f5f5;
+ color: #1c1c1c;
+ text-align: justify;
+}
+
+table.table_beauty {
+ border-collapse: collapse;
+ width: 100%;
+}
+
+table.table_beauty tbody tr td {
+ padding: 5px;
+ border: 0.1pt solid #acacac;
+}
+
+table.databox {
+ margin-bottom: 20px;
+}
+
+th.title_table_pdf {
+ background-color: #acacac;
+ padding: 15px;
+}
+
+table.table_agent_module tr td {
+ padding: 5px;
+}
diff --git a/pandora_console/index.php b/pandora_console/index.php
index ad4b93465a..321b5956dc 100755
--- a/pandora_console/index.php
+++ b/pandora_console/index.php
@@ -1363,4 +1363,3 @@ require 'include/php_to_js_values.php';
if (__PAN_XHPROF__ === 1) {
pandora_xhprof_display_result('node_index');
}
-
diff --git a/pandora_console/install.php b/pandora_console/install.php
index be416f5b40..862e7088e8 100644
--- a/pandora_console/install.php
+++ b/pandora_console/install.php
@@ -129,7 +129,7 @@
$status_modulo],
+ [
+ 'status' => $status_modulo,
+ 'tags' => $tags_selected,
+ ],
'AW'
);
diff --git a/pandora_console/operation/events/events.build_table.php b/pandora_console/operation/events/events.build_table.php
index 8ed0f10eed..a9e319c82a 100644
--- a/pandora_console/operation/events/events.build_table.php
+++ b/pandora_console/operation/events/events.build_table.php
@@ -983,7 +983,11 @@ if ($group_rep == 2) {
html_print_button(__('Execute event response'), 'submit_event_response', false, 'execute_event_response(true);', 'class="sub next"');
echo "".html_print_image('images/spinner.gif', true).'';
echo '';
- echo ''.__('A maximum of 10 event custom responses can be selected').'';
+ echo '';
+ echo __(
+ 'A maximum of %s event custom responses can be selected',
+ $config['max_execution_event_response']
+ ).'';
echo '
';
}
}
@@ -1012,7 +1016,7 @@ if ($group_rep == 2) {
var total_checked = $(".chk_val:checked").length;
// Limit number of events to apply custom responses to for performance reasons
- if (total_checked > 10) {
+ if (total_checked > ) {
$('#max_custom_event_resp_msg').show();
return;
}
@@ -1022,18 +1026,22 @@ if ($group_rep == 2) {
$('#response_loading_dialog').show(function() {
$(".chk_val").each(function() {
-
if ($(this).is(":checked")) {
- //var server_id = $('#hidden-server_id_'+).
event_id = $(this).val();
server_id = $('#hidden-server_id_'+event_id).val();
-
- response['target'] = get_response_target(event_id, response_id, server_id);
-
+ response['target'] = get_response_target(
+ event_id,
+ response_id,
+ server_id
+ );
if (total_checked-1 === counter) end=1;
-
- show_massive_response_dialog(event_id, response_id, response, counter, end);
-
+ show_massive_response_dialog(
+ event_id,
+ response_id,
+ response,
+ counter,
+ end
+ );
counter++;
}
});
@@ -1087,4 +1095,3 @@ if ($group_rep == 2) {
echo '
';
}
-
diff --git a/pandora_console/operation/users/user_edit.php b/pandora_console/operation/users/user_edit.php
index fd609143b9..ccf10a4b00 100644
--- a/pandora_console/operation/users/user_edit.php
+++ b/pandora_console/operation/users/user_edit.php
@@ -441,10 +441,13 @@ $table->data[] = $data;
// Double auth.
$double_auth_enabled = (bool) db_get_value('id', 'tuser_double_auth', 'id_user', $config['id_user']);
-$data = [];
-$data[0] = ''.__('Double authentication').'';
-$data[0] .= $jump;
-$data[0] .= ''.html_print_checkbox('double_auth', 1, $double_auth_enabled, true).'';
+$data = array();
+if ($config['double_auth_enabled']) {
+ $data[0] = ''.__('Double authentication').'';
+ $data[0] .= $jump;
+ $data[0] .= ''.html_print_checkbox('double_auth', 1, $double_auth_enabled, true).'';
+}
+
if ($double_auth_enabled) {
$data[0] .= $jump;
$data[0] .= html_print_button(__('Show information'), 'show_info', false, 'javascript:show_double_auth_info();', '', true);
diff --git a/pandora_console/pandora_console.redhat.spec b/pandora_console/pandora_console.redhat.spec
index 4653843f6a..53649e07d3 100644
--- a/pandora_console/pandora_console.redhat.spec
+++ b/pandora_console/pandora_console.redhat.spec
@@ -3,7 +3,7 @@
#
%define name pandorafms_console
%define version 7.0NG.731
-%define release 190219
+%define release 190221
# User and Group under which Apache is running
%define httpd_name httpd
diff --git a/pandora_console/pandora_console.spec b/pandora_console/pandora_console.spec
index a5f4fb2163..0026c39ccf 100644
--- a/pandora_console/pandora_console.spec
+++ b/pandora_console/pandora_console.spec
@@ -3,7 +3,7 @@
#
%define name pandorafms_console
%define version 7.0NG.731
-%define release 190219
+%define release 190221
%define httpd_name httpd
# User and Group under which Apache is running
%define httpd_name apache2
diff --git a/pandora_server/DEBIAN/control b/pandora_server/DEBIAN/control
index e307f4aa2b..49a1b8ff7f 100644
--- a/pandora_server/DEBIAN/control
+++ b/pandora_server/DEBIAN/control
@@ -1,5 +1,5 @@
package: pandorafms-server
-Version: 7.0NG.731-190219
+Version: 7.0NG.731-190221
Architecture: all
Priority: optional
Section: admin
diff --git a/pandora_server/DEBIAN/make_deb_package.sh b/pandora_server/DEBIAN/make_deb_package.sh
index c4305947c6..7783757a9b 100644
--- a/pandora_server/DEBIAN/make_deb_package.sh
+++ b/pandora_server/DEBIAN/make_deb_package.sh
@@ -14,7 +14,7 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
-pandora_version="7.0NG.731-190219"
+pandora_version="7.0NG.731-190221"
package_cpan=0
package_pandora=1
diff --git a/pandora_server/lib/PandoraFMS/Config.pm b/pandora_server/lib/PandoraFMS/Config.pm
index a3469c8f4c..26a15a80a1 100644
--- a/pandora_server/lib/PandoraFMS/Config.pm
+++ b/pandora_server/lib/PandoraFMS/Config.pm
@@ -45,7 +45,7 @@ our @EXPORT = qw(
# version: Defines actual version of Pandora Server for this module only
my $pandora_version = "7.0NG.731";
-my $pandora_build = "190219";
+my $pandora_build = "190221";
our $VERSION = $pandora_version." ".$pandora_build;
# Setup hash
diff --git a/pandora_server/lib/PandoraFMS/Core.pm b/pandora_server/lib/PandoraFMS/Core.pm
index 4682c38820..2d3bd8b527 100644
--- a/pandora_server/lib/PandoraFMS/Core.pm
+++ b/pandora_server/lib/PandoraFMS/Core.pm
@@ -3418,7 +3418,16 @@ sub pandora_evaluate_snmp_alerts ($$$$$$$$$) {
$alert->{'oid'} = decode_entities($alert->{'oid'});
my $oid = $alert->{'oid'};
if ($oid ne '') {
- next if (index ($trap_oid, $oid) == -1 && index ($trap_oid_text, $oid) == -1);
+ my $term = substr($oid, -1);
+ # Strict match.
+ if ($term eq '$') {
+ chop($oid);
+ next if ($trap_oid ne $oid && $trap_oid_text ne $oid);
+ }
+ # Partial match.
+ else {
+ next if (index ($trap_oid, $oid) == -1 && index ($trap_oid_text, $oid) == -1);
+ }
$alert_data .= "OID: $oid ";
}
diff --git a/pandora_server/lib/PandoraFMS/PluginTools.pm b/pandora_server/lib/PandoraFMS/PluginTools.pm
index 06ba620049..af2c01ffef 100644
--- a/pandora_server/lib/PandoraFMS/PluginTools.pm
+++ b/pandora_server/lib/PandoraFMS/PluginTools.pm
@@ -32,7 +32,7 @@ our @ISA = qw(Exporter);
# version: Defines actual version of Pandora Server for this module only
my $pandora_version = "7.0NG.731";
-my $pandora_build = "190219";
+my $pandora_build = "190221";
our $VERSION = $pandora_version." ".$pandora_build;
our %EXPORT_TAGS = ( 'all' => [ qw() ] );
diff --git a/pandora_server/pandora_server.redhat.spec b/pandora_server/pandora_server.redhat.spec
index 0e83289792..edbec0e764 100644
--- a/pandora_server/pandora_server.redhat.spec
+++ b/pandora_server/pandora_server.redhat.spec
@@ -3,7 +3,7 @@
#
%define name pandorafms_server
%define version 7.0NG.731
-%define release 190219
+%define release 190221
Summary: Pandora FMS Server
Name: %{name}
diff --git a/pandora_server/pandora_server.spec b/pandora_server/pandora_server.spec
index 3696930e4d..1981838514 100644
--- a/pandora_server/pandora_server.spec
+++ b/pandora_server/pandora_server.spec
@@ -3,7 +3,7 @@
#
%define name pandorafms_server
%define version 7.0NG.731
-%define release 190219
+%define release 190221
Summary: Pandora FMS Server
Name: %{name}
diff --git a/pandora_server/pandora_server_installer b/pandora_server/pandora_server_installer
index 6ef203a875..d6f5c866f8 100755
--- a/pandora_server/pandora_server_installer
+++ b/pandora_server/pandora_server_installer
@@ -9,7 +9,7 @@
# **********************************************************************
PI_VERSION="7.0NG.731"
-PI_BUILD="190219"
+PI_BUILD="190221"
MODE=$1
if [ $# -gt 1 ]; then
diff --git a/pandora_server/util/pandora_db.pl b/pandora_server/util/pandora_db.pl
index ab35080dc9..fece0dc080 100644
--- a/pandora_server/util/pandora_db.pl
+++ b/pandora_server/util/pandora_db.pl
@@ -34,7 +34,7 @@ use PandoraFMS::Config;
use PandoraFMS::DB;
# version: define current version
-my $version = "7.0NG.731 PS190219";
+my $version = "7.0NG.731 PS190221";
# Pandora server configuration
my %conf;
diff --git a/pandora_server/util/pandora_manage.pl b/pandora_server/util/pandora_manage.pl
index aaafd6978c..9bbf4896cd 100644
--- a/pandora_server/util/pandora_manage.pl
+++ b/pandora_server/util/pandora_manage.pl
@@ -36,7 +36,7 @@ use Encode::Locale;
Encode::Locale::decode_argv;
# version: define current version
-my $version = "7.0NG.731 PS190219";
+my $version = "7.0NG.731 PS190221";
# save program name for logging
my $progname = basename($0);