mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 16:55:05 +02:00
Merge branch 'ent-6858-Goliat-opensource' of brutus.artica.es:artica/pandorafms into ent-6858-Goliat-opensource
This commit is contained in:
commit
dc15f736b5
@ -1,5 +1,5 @@
|
|||||||
package: pandorafms-agent-unix
|
package: pandorafms-agent-unix
|
||||||
Version: 7.0NG.754-210510
|
Version: 7.0NG.754-210511
|
||||||
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.754-210510"
|
pandora_version="7.0NG.754-210511"
|
||||||
|
|
||||||
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
|
||||||
|
@ -1015,7 +1015,7 @@ my $Sem = undef;
|
|||||||
my $ThreadSem = undef;
|
my $ThreadSem = undef;
|
||||||
|
|
||||||
use constant AGENT_VERSION => '7.0NG.754';
|
use constant AGENT_VERSION => '7.0NG.754';
|
||||||
use constant AGENT_BUILD => '210510';
|
use constant AGENT_BUILD => '210511';
|
||||||
|
|
||||||
# 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.754
|
%define version 7.0NG.754
|
||||||
%define release 210510
|
%define release 210511
|
||||||
|
|
||||||
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.754
|
%define version 7.0NG.754
|
||||||
%define release 210510
|
%define release 210511
|
||||||
|
|
||||||
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.754"
|
PI_VERSION="7.0NG.754"
|
||||||
PI_BUILD="210510"
|
PI_BUILD="210511"
|
||||||
OS_NAME=`uname -s`
|
OS_NAME=`uname -s`
|
||||||
|
|
||||||
FORCE=0
|
FORCE=0
|
||||||
|
@ -186,7 +186,7 @@ UpgradeApplicationID
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
Version
|
Version
|
||||||
{210510}
|
{210511}
|
||||||
|
|
||||||
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.754(Build 210510)")
|
#define PANDORA_VERSION ("7.0NG.754(Build 210511)")
|
||||||
|
|
||||||
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.754(Build 210510))"
|
VALUE "ProductVersion", "(7.0NG.754(Build 210511))"
|
||||||
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.754-210510
|
Version: 7.0NG.754-210511
|
||||||
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.754-210510"
|
pandora_version="7.0NG.754-210511"
|
||||||
|
|
||||||
package_pear=0
|
package_pear=0
|
||||||
package_pandora=1
|
package_pandora=1
|
||||||
|
@ -282,7 +282,7 @@ $table_remote->data['integria_pass'] = $row;
|
|||||||
|
|
||||||
// Integria hostname.
|
// Integria hostname.
|
||||||
$row = [];
|
$row = [];
|
||||||
$row['name'] = __('API Hostname');
|
$row['name'] = __('URL to Integria IMS setup').ui_print_help_tip(__('Full URL to your Integria IMS setup (e.g., http://192.168.1.20/integria, https://support.mycompany.com).'), true);
|
||||||
$row['control'] = html_print_input_text('integria_hostname', $config['integria_hostname'], '', 30, 100, true);
|
$row['control'] = html_print_input_text('integria_hostname', $config['integria_hostname'], '', 30, 100, true);
|
||||||
$table_remote->data['integria_hostname'] = $row;
|
$table_remote->data['integria_hostname'] = $row;
|
||||||
|
|
||||||
@ -329,22 +329,20 @@ $row['control'] = html_print_input_text(
|
|||||||
true,
|
true,
|
||||||
false,
|
false,
|
||||||
false
|
false
|
||||||
).ui_print_help_icon('alert_macros', true);
|
);
|
||||||
$table_alert_settings->data['custom_response_incident_title'] = $row;
|
$table_alert_settings->data['custom_response_incident_title'] = $row;
|
||||||
|
|
||||||
// Alert incident description.
|
// Alert incident description.
|
||||||
$row = [];
|
$row = [];
|
||||||
$row['name'] = __('Description');
|
$row['name'] = __('Ticket body');
|
||||||
$row['control'] = html_print_input_text(
|
$row['control'] = html_print_textarea(
|
||||||
'incident_content',
|
'incident_content',
|
||||||
|
7,
|
||||||
|
25,
|
||||||
$config['incident_content'],
|
$config['incident_content'],
|
||||||
'',
|
'',
|
||||||
50,
|
true
|
||||||
100,
|
);
|
||||||
true,
|
|
||||||
false,
|
|
||||||
false
|
|
||||||
).ui_print_help_icon('alert_macros', true);
|
|
||||||
$table_alert_settings->data['custom_response_incident_content'] = $row;
|
$table_alert_settings->data['custom_response_incident_content'] = $row;
|
||||||
|
|
||||||
// Alert default group.
|
// Alert default group.
|
||||||
@ -452,22 +450,21 @@ $row['control'] = html_print_input_text(
|
|||||||
true,
|
true,
|
||||||
false,
|
false,
|
||||||
false
|
false
|
||||||
).ui_print_help_icon('response_macros', true);
|
);
|
||||||
$table_cr_settings->data['custom_response_incident_title'] = $row;
|
$table_cr_settings->data['custom_response_incident_title'] = $row;
|
||||||
|
|
||||||
// Custom response incident description.
|
// Custom response incident description.
|
||||||
$row = [];
|
$row = [];
|
||||||
$row['name'] = __('Description');
|
$row['name'] = __('Ticket body');
|
||||||
$row['control'] = html_print_input_text(
|
$row['control'] = html_print_textarea(
|
||||||
'cr_incident_content',
|
'cr_incident_content',
|
||||||
|
7,
|
||||||
|
25,
|
||||||
$config['cr_incident_content'],
|
$config['cr_incident_content'],
|
||||||
'',
|
'',
|
||||||
50,
|
true
|
||||||
100,
|
);
|
||||||
true,
|
|
||||||
false,
|
|
||||||
false
|
|
||||||
).ui_print_help_icon('response_macros', true);
|
|
||||||
$table_cr_settings->data['custom_response_incident_content'] = $row;
|
$table_cr_settings->data['custom_response_incident_content'] = $row;
|
||||||
|
|
||||||
// Custom response default group.
|
// Custom response default group.
|
||||||
@ -599,7 +596,7 @@ if ($has_connection != false) {
|
|||||||
// Form alert default settings.
|
// Form alert default settings.
|
||||||
echo '<div id="form_alert_settings">';
|
echo '<div id="form_alert_settings">';
|
||||||
echo '<fieldset>';
|
echo '<fieldset>';
|
||||||
echo '<legend>'.__('Alert default values').'</legend>';
|
echo '<legend>'.__('Alert default values').' '.ui_print_help_icon('alert_macros', true).'</legend>';
|
||||||
|
|
||||||
html_print_table($table_alert_settings);
|
html_print_table($table_alert_settings);
|
||||||
|
|
||||||
@ -609,7 +606,7 @@ if ($has_connection != false) {
|
|||||||
// Form custom response default settings.
|
// Form custom response default settings.
|
||||||
echo '<div id="form_custom_response_settings">';
|
echo '<div id="form_custom_response_settings">';
|
||||||
echo '<fieldset>';
|
echo '<fieldset>';
|
||||||
echo '<legend>'.__('Event custom response default values').'</legend>';
|
echo '<legend>'.__('Event custom response default values').' '.ui_print_help_icon('alert_macros', true).'</legend>';
|
||||||
|
|
||||||
html_print_table($table_cr_settings);
|
html_print_table($table_cr_settings);
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
/**
|
/**
|
||||||
* Pandora build version and version
|
* Pandora build version and version
|
||||||
*/
|
*/
|
||||||
$build_version = 'PC210510';
|
$build_version = 'PC210511';
|
||||||
$pandora_version = 'v7.0NG.754';
|
$pandora_version = 'v7.0NG.754';
|
||||||
|
|
||||||
// Do not overwrite default timezone set if defined.
|
// Do not overwrite default timezone set if defined.
|
||||||
|
@ -188,7 +188,7 @@ function integria_api_call($api_hostname, $user, $user_pass, $api_pass, $operati
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Build URL for API request.
|
// Build URL for API request.
|
||||||
$url = $api_hostname.'/integria/include/api.php';
|
$url = $api_hostname.'/include/api.php';
|
||||||
|
|
||||||
// ob_start();
|
// ob_start();
|
||||||
// $out = fopen('php://output', 'w');
|
// $out = fopen('php://output', 'w');
|
||||||
|
@ -42,6 +42,7 @@ require_once $config['homedir'].'/include/functions_users.php';
|
|||||||
enterprise_include_once('include/functions_reporting.php');
|
enterprise_include_once('include/functions_reporting.php');
|
||||||
enterprise_include_once('include/functions_metaconsole.php');
|
enterprise_include_once('include/functions_metaconsole.php');
|
||||||
enterprise_include_once('include/functions_inventory.php');
|
enterprise_include_once('include/functions_inventory.php');
|
||||||
|
enterprise_include_once('include/functions_cron.php');
|
||||||
require_once $config['homedir'].'/include/functions_forecast.php';
|
require_once $config['homedir'].'/include/functions_forecast.php';
|
||||||
require_once $config['homedir'].'/include/functions_ui.php';
|
require_once $config['homedir'].'/include/functions_ui.php';
|
||||||
require_once $config['homedir'].'/include/functions_netflow.php';
|
require_once $config['homedir'].'/include/functions_netflow.php';
|
||||||
@ -13948,3 +13949,69 @@ function reporting_module_histogram_graph($report, $content, $pdf=0)
|
|||||||
|
|
||||||
return reporting_check_structure_content($return);
|
return reporting_check_structure_content($return);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Email template for sending reports.
|
||||||
|
*
|
||||||
|
* @param string $subjectEmail Subject of email.
|
||||||
|
* @param string $bodyEmail Body of email.
|
||||||
|
* @param string $scheduled Id of schedule report.
|
||||||
|
* @param string $reportName Report name.
|
||||||
|
* @param string $email Serialized list of destination emails.
|
||||||
|
* @param array $attachments Attachments.
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
function reporting_email_template(
|
||||||
|
string $subjectEmail='',
|
||||||
|
string $bodyEmail='',
|
||||||
|
string $scheduled='',
|
||||||
|
string $reportName='',
|
||||||
|
string $email='',
|
||||||
|
array $attachments=null
|
||||||
|
) {
|
||||||
|
// Subject.
|
||||||
|
$subject = (empty($subjectEmail) === true) ? '[Pandora] '.__('Reports') : $subjectEmail;
|
||||||
|
// Body.
|
||||||
|
if (empty($bodyEmail) === true) {
|
||||||
|
$body = __('Greetings').',';
|
||||||
|
$body .= '<p />';
|
||||||
|
$body .= __('Attached to this email there\'s a PDF file of the').' ';
|
||||||
|
$body .= $scheduled.' '.__('report');
|
||||||
|
$body .= ' <strong>"'.$reportName.'"</strong>';
|
||||||
|
$body .= '<p />';
|
||||||
|
$body .= __('Generated at').' '.date('Y/m/d H:i:s');
|
||||||
|
$body .= '<p />';
|
||||||
|
$body .= __('Thanks for your time.');
|
||||||
|
$body .= '<p />';
|
||||||
|
$body .= __('Best regards, Pandora FMS');
|
||||||
|
$body .= '<p />';
|
||||||
|
$body .= '<em>'.__('This is an automatically generated email from Pandora FMS, please do not reply.').'</em>';
|
||||||
|
} else {
|
||||||
|
$bodyEmail = str_replace(
|
||||||
|
[
|
||||||
|
"\r\n",
|
||||||
|
"\r",
|
||||||
|
'
',
|
||||||
|
],
|
||||||
|
"\n",
|
||||||
|
$bodyEmail
|
||||||
|
);
|
||||||
|
|
||||||
|
$body = '<p>'.implode("</p>\n<p>", explode("\n", $bodyEmail)).'</p>';
|
||||||
|
}
|
||||||
|
|
||||||
|
// Extract list of emails.
|
||||||
|
$destinationEmails = explode(',', io_safe_output($email));
|
||||||
|
foreach ($destinationEmails as $destination) {
|
||||||
|
$destination = trim($destination);
|
||||||
|
|
||||||
|
// Skip the empty 'to'.
|
||||||
|
if (empty($destination) === false) {
|
||||||
|
send_email_attachment($destination, $body, $subject, $attachments);
|
||||||
|
} else {
|
||||||
|
db_pandora_audit('ERROR:', 'Cron jobs mail, empty destination email.');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -8500,3 +8500,8 @@ div.stat-win-spinner img {
|
|||||||
.font_11pt {
|
.font_11pt {
|
||||||
font-size: 11pt;
|
font-size: 11pt;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.checkbox-random-name {
|
||||||
|
width: 100px !important;
|
||||||
|
margin-left: 20px;
|
||||||
|
}
|
||||||
|
@ -387,7 +387,6 @@ table#diagnostic_info tbody td div {
|
|||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ui-widget-content.ui-autocomplete,
|
|
||||||
.ui-widget-content.ui-autocomplete a {
|
.ui-widget-content.ui-autocomplete a {
|
||||||
color: #333;
|
color: #333;
|
||||||
}
|
}
|
||||||
|
@ -220,7 +220,8 @@ echo '<head>'."\n";
|
|||||||
// This starts the page head. In the callback function,
|
// This starts the page head. In the callback function,
|
||||||
// $page['head'] array content will be processed into the head.
|
// $page['head'] array content will be processed into the head.
|
||||||
ob_start('ui_process_page_head');
|
ob_start('ui_process_page_head');
|
||||||
|
// Avoid clickjacking.
|
||||||
|
header('X-Frame-Options: SAMEORIGIN');
|
||||||
// Enterprise main.
|
// Enterprise main.
|
||||||
enterprise_include_once('index.php');
|
enterprise_include_once('index.php');
|
||||||
|
|
||||||
|
@ -129,7 +129,7 @@
|
|||||||
<div style='height: 10px'>
|
<div style='height: 10px'>
|
||||||
<?php
|
<?php
|
||||||
$version = '7.0NG.754';
|
$version = '7.0NG.754';
|
||||||
$build = '210510';
|
$build = '210511';
|
||||||
$banner = "v$version Build $build";
|
$banner = "v$version Build $build";
|
||||||
|
|
||||||
error_reporting(0);
|
error_reporting(0);
|
||||||
|
@ -159,7 +159,9 @@ if ($upload_file && ($_FILES['userfile']['name'] != '')) {
|
|||||||
|
|
||||||
$filecontent = base64_encode(file_get_contents($_FILES['userfile']['tmp_name']));
|
$filecontent = base64_encode(file_get_contents($_FILES['userfile']['tmp_name']));
|
||||||
|
|
||||||
$result_api_call = integria_api_call($config['integria_hostname'], $config['integria_user'], $config['integria_pass'], $config['integria_api_pass'], 'attach_file', [$incident_id, $filename, $filesize, $filedescription, $filecontent], false, '', ';');
|
$filename = str_replace(' ', '+', $filename);
|
||||||
|
|
||||||
|
$result_api_call = integria_api_call($config['integria_hostname'], $config['integria_user'], $config['integria_pass'], $config['integria_api_pass'], 'attach_file', [$incident_id, $filename, $filesize, $filedescription, $filecontent], false, '', '|;|');
|
||||||
|
|
||||||
// API method returns '0' string if success.
|
// API method returns '0' string if success.
|
||||||
$file_added = ($result_api_call === '0') ? true : false;
|
$file_added = ($result_api_call === '0') ? true : false;
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
#
|
#
|
||||||
%define name pandorafms_console
|
%define name pandorafms_console
|
||||||
%define version 7.0NG.754
|
%define version 7.0NG.754
|
||||||
%define release 210510
|
%define release 210511
|
||||||
|
|
||||||
# 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.754
|
%define version 7.0NG.754
|
||||||
%define release 210510
|
%define release 210511
|
||||||
|
|
||||||
# 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.754
|
%define version 7.0NG.754
|
||||||
%define release 210510
|
%define release 210511
|
||||||
%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.754-210510
|
Version: 7.0NG.754-210511
|
||||||
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.754-210510"
|
pandora_version="7.0NG.754-210511"
|
||||||
|
|
||||||
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.754";
|
my $pandora_version = "7.0NG.754";
|
||||||
my $pandora_build = "210510";
|
my $pandora_build = "210511";
|
||||||
our $VERSION = $pandora_version." ".$pandora_build;
|
our $VERSION = $pandora_version." ".$pandora_build;
|
||||||
|
|
||||||
# Setup hash
|
# Setup hash
|
||||||
|
@ -1339,6 +1339,9 @@ sub pandora_execute_action ($$$$$$$$$;$) {
|
|||||||
my $cid_data = "CID_IMAGE";
|
my $cid_data = "CID_IMAGE";
|
||||||
my $dataname = "CID_IMAGE.png";
|
my $dataname = "CID_IMAGE.png";
|
||||||
|
|
||||||
|
# Decode ampersand. Used for macros with encoded names.
|
||||||
|
$field3 =~ s/&/&/g;
|
||||||
|
|
||||||
if (defined($data) && $data =~ /^data:image\/png;base64, /) {
|
if (defined($data) && $data =~ /^data:image\/png;base64, /) {
|
||||||
# macro _data_ substitution in case is image.
|
# macro _data_ substitution in case is image.
|
||||||
$attach_data_as_image = 1;
|
$attach_data_as_image = 1;
|
||||||
|
@ -34,7 +34,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.754";
|
my $pandora_version = "7.0NG.754";
|
||||||
my $pandora_build = "210510";
|
my $pandora_build = "210511";
|
||||||
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.754
|
%define version 7.0NG.754
|
||||||
%define release 210510
|
%define release 210511
|
||||||
|
|
||||||
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.754
|
%define version 7.0NG.754
|
||||||
%define release 210510
|
%define release 210511
|
||||||
|
|
||||||
Summary: Pandora FMS Server
|
Summary: Pandora FMS Server
|
||||||
Name: %{name}
|
Name: %{name}
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
# **********************************************************************
|
# **********************************************************************
|
||||||
|
|
||||||
PI_VERSION="7.0NG.754"
|
PI_VERSION="7.0NG.754"
|
||||||
PI_BUILD="210510"
|
PI_BUILD="210511"
|
||||||
|
|
||||||
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.754 PS210510";
|
my $version = "7.0NG.754 PS210511";
|
||||||
|
|
||||||
# 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.754 PS210510";
|
my $version = "7.0NG.754 PS210511";
|
||||||
|
|
||||||
# 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