mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 08:45:12 +02:00
Merge remote-tracking branch 'origin/develop' into ent-3924-eHorus-settings
This commit is contained in:
commit
e993dcc3a5
@ -1,5 +1,5 @@
|
|||||||
package: pandorafms-agent-unix
|
package: pandorafms-agent-unix
|
||||||
Version: 7.0NG.735-190527
|
Version: 7.0NG.735-190528
|
||||||
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.735-190527"
|
pandora_version="7.0NG.735-190528"
|
||||||
|
|
||||||
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.735';
|
use constant AGENT_VERSION => '7.0NG.735';
|
||||||
use constant AGENT_BUILD => '190527';
|
use constant AGENT_BUILD => '190528';
|
||||||
|
|
||||||
# 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.735
|
%define version 7.0NG.735
|
||||||
%define release 190527
|
%define release 190528
|
||||||
|
|
||||||
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.735
|
%define version 7.0NG.735
|
||||||
%define release 190527
|
%define release 190528
|
||||||
|
|
||||||
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.735"
|
PI_VERSION="7.0NG.735"
|
||||||
PI_BUILD="190527"
|
PI_BUILD="190528"
|
||||||
OS_NAME=`uname -s`
|
OS_NAME=`uname -s`
|
||||||
|
|
||||||
FORCE=0
|
FORCE=0
|
||||||
|
@ -186,7 +186,7 @@ UpgradeApplicationID
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
Version
|
Version
|
||||||
{190527}
|
{190528}
|
||||||
|
|
||||||
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.735(Build 190527)")
|
#define PANDORA_VERSION ("7.0NG.735(Build 190528)")
|
||||||
|
|
||||||
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.735(Build 190527))"
|
VALUE "ProductVersion", "(7.0NG.735(Build 190528))"
|
||||||
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.735-190527
|
Version: 7.0NG.735-190528
|
||||||
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.735-190527"
|
pandora_version="7.0NG.735-190528"
|
||||||
|
|
||||||
package_pear=0
|
package_pear=0
|
||||||
package_pandora=1
|
package_pandora=1
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
/**
|
/**
|
||||||
* Pandora build version and version
|
* Pandora build version and version
|
||||||
*/
|
*/
|
||||||
$build_version = 'PC190527';
|
$build_version = 'PC190528';
|
||||||
$pandora_version = 'v7.0NG.735';
|
$pandora_version = 'v7.0NG.735';
|
||||||
|
|
||||||
// Do not overwrite default timezone set if defined.
|
// Do not overwrite default timezone set if defined.
|
||||||
|
@ -5560,7 +5560,6 @@ function reporting_advanced_sla(
|
|||||||
} else if ($agentmodule_info['id_tipo_modulo'] == '100') {
|
} else if ($agentmodule_info['id_tipo_modulo'] == '100') {
|
||||||
$max_value = 0.9;
|
$max_value = 0.9;
|
||||||
$min_value = 0;
|
$min_value = 0;
|
||||||
$inverse_interval = 1;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -3640,14 +3640,15 @@ table.events_show_more_table tr:nth-child(odd) td {
|
|||||||
background-color: #ffffff;
|
background-color: #ffffff;
|
||||||
}
|
}
|
||||||
table.events_show_more_table tr:nth-child(even) td {
|
table.events_show_more_table tr:nth-child(even) td {
|
||||||
background-color: #f5f5f5;
|
background-color: #f9f9f9;
|
||||||
border-top: 1px solid #cacaca;
|
border-top: 1px solid #e0e0e0;
|
||||||
border-bottom: 1px solid #cacaca;
|
border-bottom: 1px solid #e0e0e0;
|
||||||
}
|
}
|
||||||
|
|
||||||
table.events_show_more_table tr td {
|
table.events_show_more_table tr td {
|
||||||
height: 22px;
|
height: 33px;
|
||||||
padding: 4px;
|
max-height: 33px;
|
||||||
|
min-height: 33px;
|
||||||
}
|
}
|
||||||
|
|
||||||
table.events_show_more_table tr td:first-child {
|
table.events_show_more_table tr td:first-child {
|
||||||
@ -5829,7 +5830,7 @@ a#qr_code_agent_view {
|
|||||||
|
|
||||||
.module_graph_menu_content,
|
.module_graph_menu_content,
|
||||||
.module_graph_menu_header {
|
.module_graph_menu_header {
|
||||||
width: 92%;
|
width: 95%;
|
||||||
border: 1px solid #e2e2e2;
|
border: 1px solid #e2e2e2;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
1105
pandora_console/install.php
Normal file
1105
pandora_console/install.php
Normal file
File diff suppressed because it is too large
Load Diff
@ -499,7 +499,7 @@ if (!empty($network_interfaces)) {
|
|||||||
$params_json = json_encode($params);
|
$params_json = json_encode($params);
|
||||||
$params_encoded = base64_encode($params_json);
|
$params_encoded = base64_encode($params_json);
|
||||||
$win_handle = dechex(crc32($interface['status_module_id'].$interface_name));
|
$win_handle = dechex(crc32($interface['status_module_id'].$interface_name));
|
||||||
$graph_link = "<a href=\"javascript:winopeng('operation/agentes/interface_traffic_graph_win.php?params=$params_encoded','$win_handle')\">".html_print_image('images/chart_curve.png', true, ['title' => __('Interface traffic')]).'</a>';
|
$graph_link = "<a href=\"javascript:winopeng_var('operation/agentes/interface_traffic_graph_win.php?params=$params_encoded','$win_handle', 1000, 650)\">".html_print_image('images/chart_curve.png', true, ['title' => __('Interface traffic')]).'</a>';
|
||||||
} else {
|
} else {
|
||||||
$graph_link = '';
|
$graph_link = '';
|
||||||
}
|
}
|
||||||
|
@ -214,7 +214,7 @@ if ($date > $now) {
|
|||||||
|
|
||||||
$data = [];
|
$data = [];
|
||||||
$data[0] = __('Show percentil');
|
$data[0] = __('Show percentil');
|
||||||
$data[1] = html_print_checkbox('show_percentil', 1, (bool) $show_percentil, true);
|
$data[1] = html_print_checkbox_switch('show_percentil', 1, (bool) $show_percentil, true);
|
||||||
$table->data[] = $data;
|
$table->data[] = $data;
|
||||||
$table->rowclass[] = '';
|
$table->rowclass[] = '';
|
||||||
|
|
||||||
@ -225,7 +225,7 @@ if ($date > $now) {
|
|||||||
'images/tip.png',
|
'images/tip.png',
|
||||||
true
|
true
|
||||||
);
|
);
|
||||||
$data[1] = html_print_checkbox('fullscale', 1, (bool) $fullscale, true);
|
$data[1] = html_print_checkbox_switch('fullscale', 1, (bool) $fullscale, true);
|
||||||
$table->data[] = $data;
|
$table->data[] = $data;
|
||||||
$table->rowclass[] = '';
|
$table->rowclass[] = '';
|
||||||
|
|
||||||
|
@ -304,7 +304,7 @@ $alias = db_get_value('alias', 'tagente', 'id_agente', $id_agent);
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$data[1] = html_print_checkbox(
|
$data[1] = html_print_checkbox_switch(
|
||||||
'draw_events',
|
'draw_events',
|
||||||
1,
|
1,
|
||||||
(bool) $draw_events,
|
(bool) $draw_events,
|
||||||
@ -323,14 +323,14 @@ $alias = db_get_value('alias', 'tagente', 'id_agente', $id_agent);
|
|||||||
|
|
||||||
$data = [];
|
$data = [];
|
||||||
$data[0] = __('Show alerts');
|
$data[0] = __('Show alerts');
|
||||||
$data[1] = html_print_checkbox('draw_alerts', 1, (bool) $draw_alerts, true);
|
$data[1] = html_print_checkbox_switch('draw_alerts', 1, (bool) $draw_alerts, true);
|
||||||
$table->data[] = $data;
|
$table->data[] = $data;
|
||||||
$table->rowclass[] = '';
|
$table->rowclass[] = '';
|
||||||
|
|
||||||
/*
|
/*
|
||||||
$data = array();
|
$data = array();
|
||||||
$data[0] = __('Show event graph');
|
$data[0] = __('Show event graph');
|
||||||
$data[1] = html_print_checkbox ("show_events_graph", 1, (bool) $show_events_graph, true);
|
$data[1] = html_print_checkbox_switch ("show_events_graph", 1, (bool) $show_events_graph, true);
|
||||||
$table->data[] = $data;
|
$table->data[] = $data;
|
||||||
$table->rowclass[] = '';
|
$table->rowclass[] = '';
|
||||||
*/
|
*/
|
||||||
@ -340,25 +340,25 @@ $alias = db_get_value('alias', 'tagente', 'id_agente', $id_agent);
|
|||||||
case 'sparse':
|
case 'sparse':
|
||||||
$data = [];
|
$data = [];
|
||||||
$data[0] = __('Show percentil');
|
$data[0] = __('Show percentil');
|
||||||
$data[1] = html_print_checkbox('show_percentil', 1, (bool) $show_percentil, true);
|
$data[1] = html_print_checkbox_switch('show_percentil', 1, (bool) $show_percentil, true);
|
||||||
$table->data[] = $data;
|
$table->data[] = $data;
|
||||||
$table->rowclass[] = '';
|
$table->rowclass[] = '';
|
||||||
|
|
||||||
$data = [];
|
$data = [];
|
||||||
$data[0] = __('Time compare (Overlapped)');
|
$data[0] = __('Time compare (Overlapped)');
|
||||||
$data[1] = html_print_checkbox('time_compare_overlapped', 1, (bool) $time_compare_overlapped, true);
|
$data[1] = html_print_checkbox_switch('time_compare_overlapped', 1, (bool) $time_compare_overlapped, true);
|
||||||
$table->data[] = $data;
|
$table->data[] = $data;
|
||||||
$table->rowclass[] = '';
|
$table->rowclass[] = '';
|
||||||
|
|
||||||
$data = [];
|
$data = [];
|
||||||
$data[0] = __('Time compare (Separated)');
|
$data[0] = __('Time compare (Separated)');
|
||||||
$data[1] = html_print_checkbox('time_compare_separated', 1, (bool) $time_compare_separated, true);
|
$data[1] = html_print_checkbox_switch('time_compare_separated', 1, (bool) $time_compare_separated, true);
|
||||||
$table->data[] = $data;
|
$table->data[] = $data;
|
||||||
$table->rowclass[] = '';
|
$table->rowclass[] = '';
|
||||||
|
|
||||||
$data = [];
|
$data = [];
|
||||||
$data[0] = __('Show unknown graph');
|
$data[0] = __('Show unknown graph');
|
||||||
$data[1] = html_print_checkbox('unknown_graph', 1, (bool) $unknown_graph, true);
|
$data[1] = html_print_checkbox_switch('unknown_graph', 1, (bool) $unknown_graph, true);
|
||||||
$table->data[] = $data;
|
$table->data[] = $data;
|
||||||
$table->rowclass[] = '';
|
$table->rowclass[] = '';
|
||||||
break;
|
break;
|
||||||
@ -366,7 +366,7 @@ $alias = db_get_value('alias', 'tagente', 'id_agente', $id_agent);
|
|||||||
|
|
||||||
$data = [];
|
$data = [];
|
||||||
$data[0] = __('Show full scale graph (TIP)');
|
$data[0] = __('Show full scale graph (TIP)');
|
||||||
$data[1] = html_print_checkbox(
|
$data[1] = html_print_checkbox_switch(
|
||||||
'fullscale',
|
'fullscale',
|
||||||
1,
|
1,
|
||||||
(bool) $fullscale,
|
(bool) $fullscale,
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
#
|
#
|
||||||
%define name pandorafms_console
|
%define name pandorafms_console
|
||||||
%define version 7.0NG.735
|
%define version 7.0NG.735
|
||||||
%define release 190527
|
%define release 190528
|
||||||
|
|
||||||
# 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.735
|
%define version 7.0NG.735
|
||||||
%define release 190527
|
%define release 190528
|
||||||
|
|
||||||
# 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.735
|
%define version 7.0NG.735
|
||||||
%define release 190527
|
%define release 190528
|
||||||
%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.735-190527
|
Version: 7.0NG.735-190528
|
||||||
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.735-190527"
|
pandora_version="7.0NG.735-190528"
|
||||||
|
|
||||||
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.735";
|
my $pandora_version = "7.0NG.735";
|
||||||
my $pandora_build = "190527";
|
my $pandora_build = "190528";
|
||||||
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.735";
|
my $pandora_version = "7.0NG.735";
|
||||||
my $pandora_build = "190527";
|
my $pandora_build = "190528";
|
||||||
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.735
|
%define version 7.0NG.735
|
||||||
%define release 190527
|
%define release 190528
|
||||||
|
|
||||||
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.735
|
%define version 7.0NG.735
|
||||||
%define release 190527
|
%define release 190528
|
||||||
|
|
||||||
Summary: Pandora FMS Server
|
Summary: Pandora FMS Server
|
||||||
Name: %{name}
|
Name: %{name}
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
# **********************************************************************
|
# **********************************************************************
|
||||||
|
|
||||||
PI_VERSION="7.0NG.735"
|
PI_VERSION="7.0NG.735"
|
||||||
PI_BUILD="190527"
|
PI_BUILD="190528"
|
||||||
|
|
||||||
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.735 PS190527";
|
my $version = "7.0NG.735 PS190528";
|
||||||
|
|
||||||
# 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.735 PS190527";
|
my $version = "7.0NG.735 PS190528";
|
||||||
|
|
||||||
# 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