Added support for fping.
This commit is contained in:
parent
6f9b87fae0
commit
e5fcafa631
|
@ -247,6 +247,9 @@ xprobe2 /usr/local/bin/xprobe2
|
|||
|
||||
nmap /usr/local/bin/nmap
|
||||
|
||||
# Path to the fping binary. Used by the Enterprise ICMP Server.
|
||||
fping /usr/bin/fping
|
||||
|
||||
# A value that specifies how aggressive nmap should be from 1 to 5. 1 means slower but more reliable, 5 means faster but less reliable. 2 by default.
|
||||
nmap_timing_template 2
|
||||
|
||||
|
|
|
@ -248,6 +248,9 @@ xprobe2 /usr/local/bin/xprobe2
|
|||
|
||||
nmap /usr/pkg/bin/nmap
|
||||
|
||||
# Path to the fping binary. Used by the Enterprise ICMP Server.
|
||||
fping /usr/bin/fping
|
||||
|
||||
# A value that specifies how aggressive nmap should be from 1 to 5. 1 means slower but more reliable, 5 means faster but less reliable. 2 by default.
|
||||
nmap_timing_template 2
|
||||
|
||||
|
|
|
@ -248,6 +248,9 @@ xprobe2 /usr/bin/xprobe2
|
|||
|
||||
nmap /usr/bin/nmap
|
||||
|
||||
# Path to the fping binary. Used by the Enterprise ICMP Server.
|
||||
fping /usr/bin/fping
|
||||
|
||||
# A value that specifies how aggressive nmap should be from 1 to 5. 1 means slower but more reliable, 5 means faster but less reliable. 2 by default.
|
||||
nmap_timing_template 2
|
||||
|
||||
|
|
|
@ -209,6 +209,9 @@ dataserver_threads 2
|
|||
|
||||
#nmap c:\pandora_server\bin\nmap.exe
|
||||
|
||||
# Path to the fping binary. Used by the Enterprise ICMP Server.
|
||||
#fping c:\pandora_server\bin\Fping.exe
|
||||
|
||||
# snmpget: Needed to do SNMP checks.
|
||||
|
||||
#snmpget c:\pandora_server\bin\snmpget.exe
|
||||
|
|
|
@ -267,6 +267,8 @@ sub pandora_load_config {
|
|||
$pa_config->{"nmap_timing_template"} = 2; # > 5.1
|
||||
$pa_config->{"recon_timing_template"} = 3; # > 5.1
|
||||
|
||||
$pa_config->{"fping"} = "/usr/bin/fping"; # > 5.1SP2
|
||||
|
||||
# braa for enterprise snmp server
|
||||
$pa_config->{"braa"} = "/usr/bin/braa";
|
||||
|
||||
|
@ -618,6 +620,9 @@ sub pandora_load_config {
|
|||
elsif ($parametro =~ m/^nmap\s(.*)/i) {
|
||||
$pa_config->{'nmap'}= clean_blank($1);
|
||||
}
|
||||
elsif ($parametro =~ m/^fping\s(.*)/i) {
|
||||
$pa_config->{'fping'}= clean_blank($1);
|
||||
}
|
||||
elsif ($parametro =~ m/^nmap_timing_template\s([0-9]*)/i) {
|
||||
$pa_config->{'nmap_timing_template'}= clean_blank($1);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue