mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 17:25:26 +02:00
Merge remote-tracking branch 'origin/develop' into ent-5575-wizard-de-modulos-y-recon-by-steps
Conflicts: pandora_console/extras/mr/37.sql pandora_console/extras/pandoradb_migrate_6.0_to_7.0.mysql.sql
This commit is contained in:
commit
36daf76cc5
@ -1,5 +1,5 @@
|
|||||||
package: pandorafms-agent-unix
|
package: pandorafms-agent-unix
|
||||||
Version: 7.0NG.744-200408
|
Version: 7.0NG.744-200414
|
||||||
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.744-200408"
|
pandora_version="7.0NG.744-200414"
|
||||||
|
|
||||||
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
|
||||||
|
@ -55,7 +55,7 @@ my $Sem = undef;
|
|||||||
my $ThreadSem = undef;
|
my $ThreadSem = undef;
|
||||||
|
|
||||||
use constant AGENT_VERSION => '7.0NG.744';
|
use constant AGENT_VERSION => '7.0NG.744';
|
||||||
use constant AGENT_BUILD => '200408';
|
use constant AGENT_BUILD => '200414';
|
||||||
|
|
||||||
# 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.744
|
%define version 7.0NG.744
|
||||||
%define release 200408
|
%define release 200414
|
||||||
|
|
||||||
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.744
|
%define version 7.0NG.744
|
||||||
%define release 200408
|
%define release 200414
|
||||||
|
|
||||||
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.744"
|
PI_VERSION="7.0NG.744"
|
||||||
PI_BUILD="200408"
|
PI_BUILD="200414"
|
||||||
OS_NAME=`uname -s`
|
OS_NAME=`uname -s`
|
||||||
|
|
||||||
FORCE=0
|
FORCE=0
|
||||||
|
@ -186,7 +186,7 @@ UpgradeApplicationID
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
Version
|
Version
|
||||||
{200408}
|
{200414}
|
||||||
|
|
||||||
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.744(Build 200408)")
|
#define PANDORA_VERSION ("7.0NG.744(Build 200414)")
|
||||||
|
|
||||||
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.744(Build 200408))"
|
VALUE "ProductVersion", "(7.0NG.744(Build 200414))"
|
||||||
VALUE "FileVersion", "1.0.0.0"
|
VALUE "FileVersion", "1.0.0.0"
|
||||||
END
|
END
|
||||||
END
|
END
|
||||||
|
@ -1,2 +1,8 @@
|
|||||||
# pandora disable listing
|
# pandora disable listing
|
||||||
Options -Indexes
|
Options -Indexes
|
||||||
|
|
||||||
|
<Files ~ "\.log$">
|
||||||
|
Order Allow,Deny
|
||||||
|
Deny from All
|
||||||
|
</Files>
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
package: pandorafms-console
|
package: pandorafms-console
|
||||||
Version: 7.0NG.744-200408
|
Version: 7.0NG.744-200414
|
||||||
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.744-200408"
|
pandora_version="7.0NG.744-200414"
|
||||||
|
|
||||||
package_pear=0
|
package_pear=0
|
||||||
package_pandora=1
|
package_pandora=1
|
||||||
|
@ -57,6 +57,10 @@ ALTER TABLE `talert_templates` ADD COLUMN `disable_event` tinyint(1) DEFAULT 0;
|
|||||||
ALTER TABLE `tevent_alert` ADD COLUMN `disable_event` tinyint(1) DEFAULT 0;
|
ALTER TABLE `tevent_alert` ADD COLUMN `disable_event` tinyint(1) DEFAULT 0;
|
||||||
ALTER TABLE `talert_snmp` ADD COLUMN `disable_event` tinyint(1) DEFAULT 0;
|
ALTER TABLE `talert_snmp` ADD COLUMN `disable_event` tinyint(1) DEFAULT 0;
|
||||||
|
|
||||||
|
UPDATE twidget SET description='Show a visual console' WHERE class_name='MapsMadeByUser';
|
||||||
|
UPDATE twidget SET description='Clock' WHERE class_name='ClockWidget';
|
||||||
|
UPDATE twidget SET description='Group status' WHERE class_name='SystemGroupStatusWidget';
|
||||||
|
|
||||||
INSERT IGNORE INTO `tpen` VALUES (9,'cisco','Cisco System'),(11,'hp','Hewlett Packard'),(2021,'general_snmp','U.C. Davis, ECE Dept. Tom'),(2636,'juniper','Juniper Networks'),(3375,'f5','F5 Labs'),(8072,'general_snmp','Net SNMP'),(12356,'fortinet','Fortinet');
|
INSERT IGNORE INTO `tpen` VALUES (9,'cisco','Cisco System'),(11,'hp','Hewlett Packard'),(2021,'general_snmp','U.C. Davis, ECE Dept. Tom'),(2636,'juniper','Juniper Networks'),(3375,'f5','F5 Labs'),(8072,'general_snmp','Net SNMP'),(12356,'fortinet','Fortinet');
|
||||||
|
|
||||||
SET @template_name = 'Network Management';
|
SET @template_name = 'Network Management';
|
||||||
@ -159,3 +163,5 @@ SET @template_description = 'Windows antivirus monitoring template (WMI)';
|
|||||||
|
|
||||||
INSERT INTO tnetwork_profile (id_np, name, description) SELECT * FROM (SELECT '' id_np, @template_name name, @template_description description) AS tmp WHERE NOT EXISTS (SELECT id_np FROM tnetwork_profile WHERE name = @template_name);
|
INSERT INTO tnetwork_profile (id_np, name, description) SELECT * FROM (SELECT '' id_np, @template_name name, @template_description description) AS tmp WHERE NOT EXISTS (SELECT id_np FROM tnetwork_profile WHERE name = @template_name);
|
||||||
INSERT INTO tnetwork_profile_component (id_nc, id_np) SELECT * FROM (SELECT c.id_nc id_nc, p.id_np id_np FROM tnetwork_profile p, tnetwork_component c, tnetwork_component_group g WHERE g.id_sg = c.id_group AND p.name = @template_name AND (g.name = 'Norton' OR g.name = 'Panda' OR g.name = 'McAfee' OR g.name = 'Bitdefender' OR g.name = 'BullGuard' OR g.name = 'AVG' OR g.name = 'Kaspersky')) AS tmp WHERE NOT EXISTS (SELECT pc.id_np FROM tnetwork_profile p, tnetwork_profile_component pc WHERE p.id_np = pc.id_np AND p.name = @template_name);
|
INSERT INTO tnetwork_profile_component (id_nc, id_np) SELECT * FROM (SELECT c.id_nc id_nc, p.id_np id_np FROM tnetwork_profile p, tnetwork_component c, tnetwork_component_group g WHERE g.id_sg = c.id_group AND p.name = @template_name AND (g.name = 'Norton' OR g.name = 'Panda' OR g.name = 'McAfee' OR g.name = 'Bitdefender' OR g.name = 'BullGuard' OR g.name = 'AVG' OR g.name = 'Kaspersky')) AS tmp WHERE NOT EXISTS (SELECT pc.id_np FROM tnetwork_profile p, tnetwork_profile_component pc WHERE p.id_np = pc.id_np AND p.name = @template_name);
|
||||||
|
|
||||||
|
COMMIT;
|
||||||
|
@ -2712,3 +2712,12 @@ SET @template_description = 'Windows antivirus monitoring template (WMI)';
|
|||||||
|
|
||||||
INSERT INTO tnetwork_profile (id_np, name, description) SELECT * FROM (SELECT '' id_np, @template_name name, @template_description description) AS tmp WHERE NOT EXISTS (SELECT id_np FROM tnetwork_profile WHERE name = @template_name);
|
INSERT INTO tnetwork_profile (id_np, name, description) SELECT * FROM (SELECT '' id_np, @template_name name, @template_description description) AS tmp WHERE NOT EXISTS (SELECT id_np FROM tnetwork_profile WHERE name = @template_name);
|
||||||
INSERT INTO tnetwork_profile_component (id_nc, id_np) SELECT * FROM (SELECT c.id_nc id_nc, p.id_np id_np FROM tnetwork_profile p, tnetwork_component c, tnetwork_component_group g WHERE g.id_sg = c.id_group AND p.name = @template_name AND (g.name = 'Norton' OR g.name = 'Panda' OR g.name = 'McAfee' OR g.name = 'Bitdefender' OR g.name = 'BullGuard' OR g.name = 'AVG' OR g.name = 'Kaspersky')) AS tmp WHERE NOT EXISTS (SELECT pc.id_np FROM tnetwork_profile p, tnetwork_profile_component pc WHERE p.id_np = pc.id_np AND p.name = @template_name);
|
INSERT INTO tnetwork_profile_component (id_nc, id_np) SELECT * FROM (SELECT c.id_nc id_nc, p.id_np id_np FROM tnetwork_profile p, tnetwork_component c, tnetwork_component_group g WHERE g.id_sg = c.id_group AND p.name = @template_name AND (g.name = 'Norton' OR g.name = 'Panda' OR g.name = 'McAfee' OR g.name = 'Bitdefender' OR g.name = 'BullGuard' OR g.name = 'AVG' OR g.name = 'Kaspersky')) AS tmp WHERE NOT EXISTS (SELECT pc.id_np FROM tnetwork_profile p, tnetwork_profile_component pc WHERE p.id_np = pc.id_np AND p.name = @template_name);
|
||||||
|
|
||||||
|
|
||||||
|
-- Update widget.
|
||||||
|
|
||||||
|
UPDATE twidget SET description='Show a visual console' WHERE class_name='MapsMadeByUser';
|
||||||
|
UPDATE twidget SET description='Clock' WHERE class_name='ClockWidget';
|
||||||
|
UPDATE twidget SET description='Group status' WHERE class_name='SystemGroupStatusWidget';
|
||||||
|
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
/**
|
/**
|
||||||
* Pandora build version and version
|
* Pandora build version and version
|
||||||
*/
|
*/
|
||||||
$build_version = 'PC200408';
|
$build_version = 'PC200414';
|
||||||
$pandora_version = 'v7.0NG.744';
|
$pandora_version = 'v7.0NG.744';
|
||||||
|
|
||||||
// Do not overwrite default timezone set if defined.
|
// Do not overwrite default timezone set if defined.
|
||||||
|
@ -2439,7 +2439,13 @@ function graphic_agentaccess(
|
|||||||
if ($return === true) {
|
if ($return === true) {
|
||||||
return vbar_graph($data_array, $options, 1);
|
return vbar_graph($data_array, $options, 1);
|
||||||
} else {
|
} else {
|
||||||
echo vbar_graph($data_array, $options, 1);
|
$options['generals']['pdf']['width'] = 350;
|
||||||
|
$options['generals']['pdf']['height'] = 125;
|
||||||
|
|
||||||
|
$imgbase64 = '<img src="data:image/jpg;base64,';
|
||||||
|
$imgbase64 .= vbar_graph($data_array, $options, 2);
|
||||||
|
$imgbase64 .= '" />';
|
||||||
|
return $imgbase64;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -123,11 +123,11 @@ function treeview_printModuleTable($id_module, $server_data=false, $no_head=fals
|
|||||||
$row['data'] = $module_group;
|
$row['data'] = $module_group;
|
||||||
$table->data['module_group'] = $row;
|
$table->data['module_group'] = $row;
|
||||||
|
|
||||||
// Description
|
// Description.
|
||||||
$row = [];
|
$row = [];
|
||||||
$row['title'] = __('Description');
|
$row['title'] = __('Description');
|
||||||
$row['data'] = ui_print_truncate_text(
|
$row['data'] = ui_print_truncate_text(
|
||||||
$module['descripcion'];,
|
$module['descripcion'],
|
||||||
'description',
|
'description',
|
||||||
true,
|
true,
|
||||||
true,
|
true,
|
||||||
@ -761,21 +761,25 @@ function treeview_printTable($id_agente, $server_data=[], $no_head=false)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// End of table advanced
|
// End of table advanced.
|
||||||
$table_advanced = html_print_table($table, true);
|
$table_advanced = html_print_table($table, true);
|
||||||
$table_advanced .= '<br>';
|
$table_advanced .= '<br>';
|
||||||
|
|
||||||
ui_toggle($table_advanced, __('Advanced information'));
|
ui_toggle($table_advanced, __('Advanced information'));
|
||||||
|
|
||||||
if ($config['agentaccess']) {
|
if ($config['agentaccess']) {
|
||||||
$access_graph = '<div style="width:100%; height:130px;">';
|
$access_graph = '<div style="width:100%; height:130px; text-align:center;">';
|
||||||
$access_graph .= graphic_agentaccess(
|
$access_graph .= graphic_agentaccess(
|
||||||
$id_agente,
|
$id_agente,
|
||||||
SECONDS_1DAY,
|
SECONDS_1DAY,
|
||||||
true
|
false
|
||||||
);
|
);
|
||||||
$access_graph .= '</div>';
|
$access_graph .= '</div>';
|
||||||
ui_toggle($access_graph, __('Agent access rate (24h)'));
|
|
||||||
|
ui_toggle(
|
||||||
|
$access_graph,
|
||||||
|
__('Agent access rate (24h)')
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
$events_graph = '<div style="width: 100%; height: 90px; display: flex; flex-direction: row; justify-content: center;">';
|
$events_graph = '<div style="width: 100%; height: 90px; display: flex; flex-direction: row; justify-content: center;">';
|
||||||
|
@ -416,7 +416,12 @@ class EventsListWidget extends Widget
|
|||||||
$filter['limit'] = $this->values['limit'];
|
$filter['limit'] = $this->values['limit'];
|
||||||
$filter['order'] = '`utimestamp` DESC';
|
$filter['order'] = '`utimestamp` DESC';
|
||||||
|
|
||||||
if ((int) $this->values['severity'] !== -1) {
|
if ((int) $this->values['severity'] === 20) {
|
||||||
|
$filter['criticity'] = [
|
||||||
|
EVENT_CRIT_WARNING,
|
||||||
|
EVENT_CRIT_CRITICAL,
|
||||||
|
];
|
||||||
|
} else if ((int) $this->values['severity'] !== -1) {
|
||||||
$filter['criticity'] = $this->values['severity'];
|
$filter['criticity'] = $this->values['severity'];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -309,12 +309,6 @@ class GraphModuleHistogramWidget extends Widget
|
|||||||
$size = parent::getSize();
|
$size = parent::getSize();
|
||||||
|
|
||||||
// Desactive scroll bars only this item.
|
// Desactive scroll bars only this item.
|
||||||
$output .= '<style type="text/css">
|
|
||||||
.grid-stack-item .grid-stack-item-content .content-widget {
|
|
||||||
overflow-x: hidden;
|
|
||||||
overflow-y: hidden;
|
|
||||||
}
|
|
||||||
</style>';
|
|
||||||
$id_agent = $this->values['agentId'];
|
$id_agent = $this->values['agentId'];
|
||||||
$id_module = $this->values['moduleId'];
|
$id_module = $this->values['moduleId'];
|
||||||
$period = $this->values['period'];
|
$period = $this->values['period'];
|
||||||
|
@ -206,9 +206,9 @@ class MapsMadeByUser extends Widget
|
|||||||
|
|
||||||
$fields = \visual_map_get_user_layouts($config['id_user'], true);
|
$fields = \visual_map_get_user_layouts($config['id_user'], true);
|
||||||
|
|
||||||
// Event Type.
|
// Visual console.
|
||||||
$inputs[] = [
|
$inputs[] = [
|
||||||
'label' => __('Event type'),
|
'label' => __('Visual console'),
|
||||||
'arguments' => [
|
'arguments' => [
|
||||||
'type' => 'select',
|
'type' => 'select',
|
||||||
'fields' => $fields,
|
'fields' => $fields,
|
||||||
|
@ -439,7 +439,7 @@ class SystemGroupStatusWidget extends Widget
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$height = (count($result_groups) * 30);
|
$height = (count($table->data) * 30);
|
||||||
$style = 'min-width:200px; min-height:'.$height.'px;';
|
$style = 'min-width:200px; min-height:'.$height.'px;';
|
||||||
$output = '<div class="container-center" style="'.$style.'">';
|
$output = '<div class="container-center" style="'.$style.'">';
|
||||||
if ($flag_groups === true) {
|
if ($flag_groups === true) {
|
||||||
|
@ -339,10 +339,8 @@ table.widget_maps_status tr td:first-child {
|
|||||||
table.widget_maps_status tr td a {
|
table.widget_maps_status tr td a {
|
||||||
font-family: "lato-lighter", "Open Sans", sans-serif;
|
font-family: "lato-lighter", "Open Sans", sans-serif;
|
||||||
letter-spacing: 0.03pt;
|
letter-spacing: 0.03pt;
|
||||||
font-size: 11pt;
|
font-size: 9pt;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
color: #3f3f3f;
|
|
||||||
font-weight: bolder;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
table.widget_maps_status tr td img {
|
table.widget_maps_status tr td img {
|
||||||
|
@ -129,7 +129,7 @@
|
|||||||
<div style='height: 10px'>
|
<div style='height: 10px'>
|
||||||
<?php
|
<?php
|
||||||
$version = '7.0NG.744';
|
$version = '7.0NG.744';
|
||||||
$build = '200408';
|
$build = '200414';
|
||||||
$banner = "v$version Build $build";
|
$banner = "v$version Build $build";
|
||||||
|
|
||||||
error_reporting(0);
|
error_reporting(0);
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
#
|
#
|
||||||
%define name pandorafms_console
|
%define name pandorafms_console
|
||||||
%define version 7.0NG.744
|
%define version 7.0NG.744
|
||||||
%define release 200408
|
%define release 200414
|
||||||
|
|
||||||
# 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.744
|
%define version 7.0NG.744
|
||||||
%define release 200408
|
%define release 200414
|
||||||
|
|
||||||
# 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.744
|
%define version 7.0NG.744
|
||||||
%define release 200408
|
%define release 200414
|
||||||
%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.744-200408
|
Version: 7.0NG.744-200414
|
||||||
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.744-200408"
|
pandora_version="7.0NG.744-200414"
|
||||||
|
|
||||||
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.744";
|
my $pandora_version = "7.0NG.744";
|
||||||
my $pandora_build = "200408";
|
my $pandora_build = "200414";
|
||||||
our $VERSION = $pandora_version." ".$pandora_build;
|
our $VERSION = $pandora_version." ".$pandora_build;
|
||||||
|
|
||||||
# Setup hash
|
# Setup hash
|
||||||
|
@ -33,7 +33,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.744";
|
my $pandora_version = "7.0NG.744";
|
||||||
my $pandora_build = "200408";
|
my $pandora_build = "200414";
|
||||||
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.744
|
%define version 7.0NG.744
|
||||||
%define release 200408
|
%define release 200414
|
||||||
|
|
||||||
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.744
|
%define version 7.0NG.744
|
||||||
%define release 200408
|
%define release 200414
|
||||||
|
|
||||||
Summary: Pandora FMS Server
|
Summary: Pandora FMS Server
|
||||||
Name: %{name}
|
Name: %{name}
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
# **********************************************************************
|
# **********************************************************************
|
||||||
|
|
||||||
PI_VERSION="7.0NG.744"
|
PI_VERSION="7.0NG.744"
|
||||||
PI_BUILD="200408"
|
PI_BUILD="200414"
|
||||||
|
|
||||||
MODE=$1
|
MODE=$1
|
||||||
if [ $# -gt 1 ]; then
|
if [ $# -gt 1 ]; then
|
||||||
|
@ -35,7 +35,7 @@ use PandoraFMS::Config;
|
|||||||
use PandoraFMS::DB;
|
use PandoraFMS::DB;
|
||||||
|
|
||||||
# version: define current version
|
# version: define current version
|
||||||
my $version = "7.0NG.744 PS200408";
|
my $version = "7.0NG.744 PS200414";
|
||||||
|
|
||||||
# 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.744 PS200408";
|
my $version = "7.0NG.744 PS200414";
|
||||||
|
|
||||||
# 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