mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-26 23:35:02 +02:00
Add a missing module to the Docker image and fix a related warning.
This commit is contained in:
parent
4fa3f967f6
commit
e009ea5567
@ -595,7 +595,7 @@ sub logger ($$;$) {
|
|||||||
open (FILE, ">> $file") or die "[FATAL] Could not open logfile '$file'";
|
open (FILE, ">> $file") or die "[FATAL] Could not open logfile '$file'";
|
||||||
# Get an exclusive lock on the file (LOCK_EX)
|
# Get an exclusive lock on the file (LOCK_EX)
|
||||||
flock (FILE, 2);
|
flock (FILE, 2);
|
||||||
print FILE strftime ("%Y-%m-%d %H:%M:%S", localtime()) . " " . $pa_config->{'servername'} . " [V". $level ."] " . $message . "\n";
|
print FILE strftime ("%Y-%m-%d %H:%M:%S", localtime()) . " " . (defined($pa_config->{'servername'}) ? $pa_config->{'servername'} : '') . " [V". $level ."] " . $message . "\n";
|
||||||
close (FILE);
|
close (FILE);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -2,7 +2,7 @@ FROM pandorafms/pandorafms-base
|
|||||||
MAINTAINER Pandora FMS Team <info@pandorafms.com>
|
MAINTAINER Pandora FMS Team <info@pandorafms.com>
|
||||||
|
|
||||||
# Pandora FMS Server dependencies
|
# Pandora FMS Server dependencies
|
||||||
RUN yum install -y fping perl-Test-WWW-Selenium perl-Crypt-Blowfish perl-Crypt-ECB perl-Net-OpenSSH
|
RUN yum install -y fping perl-Test-WWW-Selenium perl-Crypt-Blowfish perl-Crypt-ECB perl-Crypt-Rijndael perl-Net-OpenSSH
|
||||||
|
|
||||||
RUN ln -s /usr/bin/braa /usr/local/bin/braa
|
RUN ln -s /usr/bin/braa /usr/local/bin/braa
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user