mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
Merge remote-tracking branch 'origin/develop' into 2784-Pantalla_por_dispositivos_filtrado_por_custom_fields
This commit is contained in:
commit
7a7fcaa6a8
@ -1,5 +1,5 @@
|
|||||||
package: pandorafms-agent-unix
|
package: pandorafms-agent-unix
|
||||||
Version: 7.0NG.728-181102
|
Version: 7.0NG.728-181105
|
||||||
Architecture: all
|
Architecture: all
|
||||||
Priority: optional
|
Priority: optional
|
||||||
Section: admin
|
Section: admin
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
# GNU General Public License for more details.
|
# GNU General Public License for more details.
|
||||||
|
|
||||||
pandora_version="7.0NG.728-181102"
|
pandora_version="7.0NG.728-181105"
|
||||||
|
|
||||||
echo "Test if you has the tools for to make the packages."
|
echo "Test if you has the tools for to make the packages."
|
||||||
whereis dpkg-deb | cut -d":" -f2 | grep dpkg-deb > /dev/null
|
whereis dpkg-deb | cut -d":" -f2 | grep dpkg-deb > /dev/null
|
||||||
|
@ -42,7 +42,7 @@ my $Sem = undef;
|
|||||||
my $ThreadSem = undef;
|
my $ThreadSem = undef;
|
||||||
|
|
||||||
use constant AGENT_VERSION => '7.0NG.728';
|
use constant AGENT_VERSION => '7.0NG.728';
|
||||||
use constant AGENT_BUILD => '181102';
|
use constant AGENT_BUILD => '181105';
|
||||||
|
|
||||||
# Agent log default file size maximum and instances
|
# Agent log default file size maximum and instances
|
||||||
use constant DEFAULT_MAX_LOG_SIZE => 600000;
|
use constant DEFAULT_MAX_LOG_SIZE => 600000;
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
#
|
#
|
||||||
%define name pandorafms_agent_unix
|
%define name pandorafms_agent_unix
|
||||||
%define version 7.0NG.728
|
%define version 7.0NG.728
|
||||||
%define release 181102
|
%define release 181105
|
||||||
|
|
||||||
Summary: Pandora FMS Linux agent, PERL version
|
Summary: Pandora FMS Linux agent, PERL version
|
||||||
Name: %{name}
|
Name: %{name}
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
#
|
#
|
||||||
%define name pandorafms_agent_unix
|
%define name pandorafms_agent_unix
|
||||||
%define version 7.0NG.728
|
%define version 7.0NG.728
|
||||||
%define release 181102
|
%define release 181105
|
||||||
|
|
||||||
Summary: Pandora FMS Linux agent, PERL version
|
Summary: Pandora FMS Linux agent, PERL version
|
||||||
Name: %{name}
|
Name: %{name}
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
# **********************************************************************
|
# **********************************************************************
|
||||||
|
|
||||||
PI_VERSION="7.0NG.728"
|
PI_VERSION="7.0NG.728"
|
||||||
PI_BUILD="181102"
|
PI_BUILD="181105"
|
||||||
OS_NAME=`uname -s`
|
OS_NAME=`uname -s`
|
||||||
|
|
||||||
FORCE=0
|
FORCE=0
|
||||||
|
@ -186,7 +186,7 @@ UpgradeApplicationID
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
Version
|
Version
|
||||||
{181102}
|
{181105}
|
||||||
|
|
||||||
ViewReadme
|
ViewReadme
|
||||||
{Yes}
|
{Yes}
|
||||||
|
@ -30,7 +30,7 @@ using namespace Pandora;
|
|||||||
using namespace Pandora_Strutils;
|
using namespace Pandora_Strutils;
|
||||||
|
|
||||||
#define PATH_SIZE _MAX_PATH+1
|
#define PATH_SIZE _MAX_PATH+1
|
||||||
#define PANDORA_VERSION ("7.0NG.728(Build 181102)")
|
#define PANDORA_VERSION ("7.0NG.728(Build 181105)")
|
||||||
|
|
||||||
string pandora_path;
|
string pandora_path;
|
||||||
string pandora_dir;
|
string pandora_dir;
|
||||||
|
@ -11,7 +11,7 @@ BEGIN
|
|||||||
VALUE "LegalCopyright", "Artica ST"
|
VALUE "LegalCopyright", "Artica ST"
|
||||||
VALUE "OriginalFilename", "PandoraAgent.exe"
|
VALUE "OriginalFilename", "PandoraAgent.exe"
|
||||||
VALUE "ProductName", "Pandora FMS Windows Agent"
|
VALUE "ProductName", "Pandora FMS Windows Agent"
|
||||||
VALUE "ProductVersion", "(7.0NG.728(Build 181102))"
|
VALUE "ProductVersion", "(7.0NG.728(Build 181105))"
|
||||||
VALUE "FileVersion", "1.0.0.0"
|
VALUE "FileVersion", "1.0.0.0"
|
||||||
END
|
END
|
||||||
END
|
END
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
package: pandorafms-console
|
package: pandorafms-console
|
||||||
Version: 7.0NG.728-181102
|
Version: 7.0NG.728-181105
|
||||||
Architecture: all
|
Architecture: all
|
||||||
Priority: optional
|
Priority: optional
|
||||||
Section: admin
|
Section: admin
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
# GNU General Public License for more details.
|
# GNU General Public License for more details.
|
||||||
|
|
||||||
pandora_version="7.0NG.728-181102"
|
pandora_version="7.0NG.728-181105"
|
||||||
|
|
||||||
package_pear=0
|
package_pear=0
|
||||||
package_pandora=1
|
package_pandora=1
|
||||||
|
@ -481,15 +481,14 @@ if ($agents !== false) {
|
|||||||
|
|
||||||
if($agent["id_os"] == 100){
|
if($agent["id_os"] == 100){
|
||||||
$cluster = db_get_row_sql('select id from tcluster where id_agent = '.$agent['id_agente']);
|
$cluster = db_get_row_sql('select id from tcluster where id_agent = '.$agent['id_agente']);
|
||||||
echo '<a href="index.php?sec=reporting&sec2=enterprise/godmode/reporting/cluster_builder&id_cluster='.$cluster['id'].'&step=1&update=1">'.$agent['nombre'].'</a>';
|
echo '<a href="index.php?sec=reporting&sec2=enterprise/godmode/reporting/cluster_builder&id_cluster='.$cluster['id'].'&step=1&update=1">'.$agent['alias'].'</a>';
|
||||||
|
|
||||||
}else{
|
}else{
|
||||||
echo "<a alt =".$agent["nombre"]." href='index.php?sec=gagente&
|
echo "<a alt =".$agent["nombre"]." href='index.php?sec=gagente&
|
||||||
sec2=godmode/agentes/configurar_agente&tab=$main_tab&
|
sec2=godmode/agentes/configurar_agente&tab=$main_tab&
|
||||||
id_agente=" . $agent["id_agente"] . "'>" .
|
id_agente=" . $agent["id_agente"] . "'>" .
|
||||||
'<span style="font-size: 7pt" title="' . $agent["nombre"] . '">'.$agent["alias"].'</span>' .
|
'<span style="font-size: 7pt" title="' . $agent["nombre"] . '">'.$agent["alias"].'</span>' .
|
||||||
"</a>";
|
"</a>";
|
||||||
}
|
}
|
||||||
echo "</strong>";
|
echo "</strong>";
|
||||||
|
|
||||||
$in_planned_downtime = db_get_sql('SELECT executed FROM tplanned_downtime
|
$in_planned_downtime = db_get_sql('SELECT executed FROM tplanned_downtime
|
||||||
|
@ -175,6 +175,7 @@ if ($update) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$table = new stdClass();
|
||||||
$table->id = 'delete_table';
|
$table->id = 'delete_table';
|
||||||
$table->class = 'databox filters';
|
$table->class = 'databox filters';
|
||||||
$table->width = '100%';
|
$table->width = '100%';
|
||||||
@ -235,7 +236,7 @@ switch ($config["dbtype"]) {
|
|||||||
if ($module_types === false)
|
if ($module_types === false)
|
||||||
$module_types = array ();
|
$module_types = array ();
|
||||||
|
|
||||||
$types = '';
|
$types = array();
|
||||||
foreach ($module_types as $type) {
|
foreach ($module_types as $type) {
|
||||||
$types[$type['id_tipo']] = $type['description'];
|
$types[$type['id_tipo']] = $type['description'];
|
||||||
}
|
}
|
||||||
@ -248,22 +249,18 @@ $snmp_versions['3'] = 'v. 3';
|
|||||||
$table->width = '100%';
|
$table->width = '100%';
|
||||||
$table->data = array ();
|
$table->data = array ();
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
$table->data['selection_mode'][0] = __('Selection mode');
|
$table->data['selection_mode'][0] = __('Selection mode');
|
||||||
$table->data['selection_mode'][1] = '<span style="width:110px;display:inline-block;">'.__('Select modules first ') . '</span>' .
|
$table->data['selection_mode'][1] = '<span style="width:110px;display:inline-block;">'.__('Select modules first ') . '</span>' .
|
||||||
html_print_radio_button_extended ("selection_mode", 'modules', '', $selection_mode, false, '', 'style="margin-right: 40px;"', true).'<br>';
|
html_print_radio_button_extended ("selection_mode", 'modules', '', $selection_mode, false, '', 'style="margin-right: 40px;"', true).'<br>';
|
||||||
$table->data['selection_mode'][1] .= '<span style="width:110px;display:inline-block;">'.__('Select agents first ') . '</span>' .
|
$table->data['selection_mode'][1] .= '<span style="width:110px;display:inline-block;">'.__('Select agents first ') . '</span>' .
|
||||||
html_print_radio_button_extended ("selection_mode", 'agents', '', $selection_mode, false, '', 'style="margin-right: 40px;"', true);
|
html_print_radio_button_extended ("selection_mode", 'agents', '', $selection_mode, false, '', 'style="margin-right: 40px;"', true);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
$table->rowclass['form_modules_1'] = 'select_modules_row';
|
$table->rowclass['form_modules_1'] = 'select_modules_row';
|
||||||
$table->data['form_modules_1'][0] = __('Module type');
|
$table->data['form_modules_1'][0] = __('Module type');
|
||||||
$table->data['form_modules_1'][0] .= '<span id="module_loading" class="invisible">';
|
$table->data['form_modules_1'][0] .= '<span id="module_loading" class="invisible">';
|
||||||
$table->data['form_modules_1'][0] .= html_print_image('images/spinner.png', true);
|
$table->data['form_modules_1'][0] .= html_print_image('images/spinner.png', true);
|
||||||
$table->data['form_modules_1'][0] .= '</span>';
|
$table->data['form_modules_1'][0] .= '</span>';
|
||||||
|
|
||||||
$types[0] = __('All');
|
$types[0] = __('All');
|
||||||
$table->colspan['form_modules_1'][1] = 2;
|
$table->colspan['form_modules_1'][1] = 2;
|
||||||
$table->data['form_modules_1'][1] = html_print_select ($types,
|
$table->data['form_modules_1'][1] = html_print_select ($types,
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
/**
|
/**
|
||||||
* Pandora build version and version
|
* Pandora build version and version
|
||||||
*/
|
*/
|
||||||
$build_version = 'PC181102';
|
$build_version = 'PC181105';
|
||||||
$pandora_version = 'v7.0NG.728';
|
$pandora_version = 'v7.0NG.728';
|
||||||
|
|
||||||
// Do not overwrite default timezone set if defined.
|
// Do not overwrite default timezone set if defined.
|
||||||
|
@ -4808,4 +4808,13 @@ tr:last-child > td > a.down_arrow, tr:first-child > td > a.up_arrow {
|
|||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
float: left;
|
float: left;
|
||||||
margin-right: 5px;
|
margin-right: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Message list popup */
|
||||||
|
div#dialog_messages table th {
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
div#dialog_messages table th:last-child {
|
||||||
|
text-align: right;
|
||||||
}
|
}
|
@ -71,7 +71,7 @@
|
|||||||
<div style='height: 10px'>
|
<div style='height: 10px'>
|
||||||
<?php
|
<?php
|
||||||
$version = '7.0NG.728';
|
$version = '7.0NG.728';
|
||||||
$build = '181102';
|
$build = '181105';
|
||||||
$banner = "v$version Build $build";
|
$banner = "v$version Build $build";
|
||||||
|
|
||||||
error_reporting(0);
|
error_reporting(0);
|
||||||
|
@ -639,7 +639,7 @@ switch ($tab) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$data['nodes'] = $count - 1; //PandoraFMS node is not an agent
|
$data['nodes'] = ($network_map['id_group'] == 0) ? $count - 1 : $count; //PandoraFMS node is not an agent
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -111,7 +111,7 @@ else {
|
|||||||
$table->align[1] = "left";
|
$table->align[1] = "left";
|
||||||
$table->align[2] = "left";
|
$table->align[2] = "left";
|
||||||
$table->align[3] = "left";
|
$table->align[3] = "left";
|
||||||
$table->align[4] = "left";
|
$table->align[4] = "right";
|
||||||
|
|
||||||
$table->size[0] = "20px";
|
$table->size[0] = "20px";
|
||||||
$table->size[1] = "100px";
|
$table->size[1] = "100px";
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
#
|
#
|
||||||
%define name pandorafms_console
|
%define name pandorafms_console
|
||||||
%define version 7.0NG.728
|
%define version 7.0NG.728
|
||||||
%define release 181102
|
%define release 181105
|
||||||
|
|
||||||
# User and Group under which Apache is running
|
# User and Group under which Apache is running
|
||||||
%define httpd_name httpd
|
%define httpd_name httpd
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
#
|
#
|
||||||
%define name pandorafms_console
|
%define name pandorafms_console
|
||||||
%define version 7.0NG.728
|
%define version 7.0NG.728
|
||||||
%define release 181102
|
%define release 181105
|
||||||
%define httpd_name httpd
|
%define httpd_name httpd
|
||||||
# User and Group under which Apache is running
|
# User and Group under which Apache is running
|
||||||
%define httpd_name apache2
|
%define httpd_name apache2
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
package: pandorafms-server
|
package: pandorafms-server
|
||||||
Version: 7.0NG.728-181102
|
Version: 7.0NG.728-181105
|
||||||
Architecture: all
|
Architecture: all
|
||||||
Priority: optional
|
Priority: optional
|
||||||
Section: admin
|
Section: admin
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
# GNU General Public License for more details.
|
# GNU General Public License for more details.
|
||||||
|
|
||||||
pandora_version="7.0NG.728-181102"
|
pandora_version="7.0NG.728-181105"
|
||||||
|
|
||||||
package_cpan=0
|
package_cpan=0
|
||||||
package_pandora=1
|
package_pandora=1
|
||||||
|
@ -45,7 +45,7 @@ our @EXPORT = qw(
|
|||||||
|
|
||||||
# version: Defines actual version of Pandora Server for this module only
|
# version: Defines actual version of Pandora Server for this module only
|
||||||
my $pandora_version = "7.0NG.728";
|
my $pandora_version = "7.0NG.728";
|
||||||
my $pandora_build = "181102";
|
my $pandora_build = "181105";
|
||||||
our $VERSION = $pandora_version." ".$pandora_build;
|
our $VERSION = $pandora_version." ".$pandora_build;
|
||||||
|
|
||||||
# Setup hash
|
# Setup hash
|
||||||
|
@ -32,7 +32,7 @@ our @ISA = qw(Exporter);
|
|||||||
|
|
||||||
# version: Defines actual version of Pandora Server for this module only
|
# version: Defines actual version of Pandora Server for this module only
|
||||||
my $pandora_version = "7.0NG.728";
|
my $pandora_version = "7.0NG.728";
|
||||||
my $pandora_build = "181102";
|
my $pandora_build = "181105";
|
||||||
our $VERSION = $pandora_version." ".$pandora_build;
|
our $VERSION = $pandora_version." ".$pandora_build;
|
||||||
|
|
||||||
our %EXPORT_TAGS = ( 'all' => [ qw() ] );
|
our %EXPORT_TAGS = ( 'all' => [ qw() ] );
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
#
|
#
|
||||||
%define name pandorafms_server
|
%define name pandorafms_server
|
||||||
%define version 7.0NG.728
|
%define version 7.0NG.728
|
||||||
%define release 181102
|
%define release 181105
|
||||||
|
|
||||||
Summary: Pandora FMS Server
|
Summary: Pandora FMS Server
|
||||||
Name: %{name}
|
Name: %{name}
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
#
|
#
|
||||||
%define name pandorafms_server
|
%define name pandorafms_server
|
||||||
%define version 7.0NG.728
|
%define version 7.0NG.728
|
||||||
%define release 181102
|
%define release 181105
|
||||||
|
|
||||||
Summary: Pandora FMS Server
|
Summary: Pandora FMS Server
|
||||||
Name: %{name}
|
Name: %{name}
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
# **********************************************************************
|
# **********************************************************************
|
||||||
|
|
||||||
PI_VERSION="7.0NG.728"
|
PI_VERSION="7.0NG.728"
|
||||||
PI_BUILD="181102"
|
PI_BUILD="181105"
|
||||||
|
|
||||||
MODE=$1
|
MODE=$1
|
||||||
if [ $# -gt 1 ]; then
|
if [ $# -gt 1 ]; then
|
||||||
|
@ -34,7 +34,7 @@ use PandoraFMS::Config;
|
|||||||
use PandoraFMS::DB;
|
use PandoraFMS::DB;
|
||||||
|
|
||||||
# version: define current version
|
# version: define current version
|
||||||
my $version = "7.0NG.728 PS181102";
|
my $version = "7.0NG.728 PS181105";
|
||||||
|
|
||||||
# Pandora server configuration
|
# Pandora server configuration
|
||||||
my %conf;
|
my %conf;
|
||||||
|
@ -36,7 +36,7 @@ use Encode::Locale;
|
|||||||
Encode::Locale::decode_argv;
|
Encode::Locale::decode_argv;
|
||||||
|
|
||||||
# version: define current version
|
# version: define current version
|
||||||
my $version = "7.0NG.728 PS181102";
|
my $version = "7.0NG.728 PS181105";
|
||||||
|
|
||||||
# save program name for logging
|
# save program name for logging
|
||||||
my $progname = basename($0);
|
my $progname = basename($0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user