mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +02:00
2013-01-09 Sancho Lerena <slerena@artica.es>
* lib/PandoraFMS/NetworkServer.pm: Fixed on port 0 (Snmp polling). git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7399 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
bcabe90da1
commit
f3805014a0
@ -1,3 +1,7 @@
|
||||
2013-01-09 Sancho Lerena <slerena@artica.es>
|
||||
|
||||
* lib/PandoraFMS/NetworkServer.pm: Fixed on port 0 (Snmp polling).
|
||||
|
||||
2013-01-09 Dario Rodriguez <dario.rodriguez@artica.es>
|
||||
|
||||
* lib/PandoraFMS/DataServer.pm: Fixed a bug which creates modules
|
||||
|
@ -281,7 +281,7 @@ sub pandora_snmp_get_command ($$$$$$$$$$) {
|
||||
$snmp_version = "2c";
|
||||
}
|
||||
|
||||
if (defined($snmp_port) && ($snmp_port != "161") && ($snmp_port != "") && ($snmp_port != " ")){
|
||||
if (defined($snmp_port) && ($snmp_port != "161") && ($snmp_port != "") && ($snmp_port != " ") && ($snmp_port != "0")){
|
||||
$snmp_target = $snmp_target.":".$snmp_port;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user