2014-04-27 Junichi Satoh <junichi@rworks.jp>
* util/recon_scripts/snmp-recon.pl: Added support for FreeBSD. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9823 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
a92308a539
commit
277f76c0ac
|
@ -1,3 +1,7 @@
|
|||
2014-04-27 Junichi Satoh <junichi@rworks.jp>
|
||||
|
||||
* util/recon_scripts/snmp-recon.pl: Added support for FreeBSD.
|
||||
|
||||
2014-04-27 Junichi Satoh <junichi@rworks.jp>
|
||||
|
||||
* lib/PandoraFMS/PluginServer.pm: Fixed plugin execution failure
|
||||
|
|
|
@ -28,7 +28,20 @@ my $ALLIFACES = '';
|
|||
my %ARP_CACHE;
|
||||
|
||||
# Default configuration values.
|
||||
my %CONF = (
|
||||
my $OSNAME = $^O;
|
||||
my %CONF;
|
||||
|
||||
if ($OSNAME eq "freebsd") {
|
||||
%CONF = (
|
||||
'nmap' => '/usr/local/bin/nmap',
|
||||
'pandora_path' => '/usr/local/etc/pandora/pandora_server.conf',
|
||||
'ping_retries' => 1,
|
||||
'ping_timeout' => 2,
|
||||
'PID' => '',
|
||||
'quiet' => 1,
|
||||
);
|
||||
} else {
|
||||
%CONF = (
|
||||
'nmap' => '/usr/bin/nmap',
|
||||
'pandora_path' => '/etc/pandora/pandora_server.conf',
|
||||
'ping_retries' => 1,
|
||||
|
@ -36,6 +49,7 @@ my %CONF = (
|
|||
'PID' => '',
|
||||
'quiet' => 1,
|
||||
);
|
||||
}
|
||||
|
||||
# Connections between devices.
|
||||
my %CONNECTIONS;
|
||||
|
|
Loading…
Reference in New Issue