2011-07-08 Sergio Martin <sergio.martin@artica.es>
* util/recon_scripts/snmpdevices.pl: Fiexd bug in recon script git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4531 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
2af5d2e902
commit
f04550513e
|
@ -1,9 +1,18 @@
|
|||
2011-07-08 Sergio Martin <sergio.martin@artica.es>
|
||||
|
||||
* util/recon_scripts/snmpdevices.pl: Fiexd bug in recon script
|
||||
|
||||
2011-07-07 Ramon Novoa <rnovoa@artica.es>
|
||||
|
||||
* lib/PandoraFMS/Core.pm: Added support for warning/critical status
|
||||
regexp (works with both numeric and string data types). Added
|
||||
support for alert-only planned downtimes.
|
||||
|
||||
2011-07-07 Sergio Martin <sergio.martin@artica.es>
|
||||
|
||||
* util/recon_scripts/snmpdevices.pl: Fixed little bug
|
||||
in a check to exception condition
|
||||
|
||||
2011-07-07 Sergio Martin <sergio.martin@artica.es>
|
||||
|
||||
* Makefile.PL
|
||||
|
|
|
@ -172,11 +172,12 @@ for (my $i = 1; $net_addr <= $net_addr->broadcast; $i++, $net_addr++) {
|
|||
if($last == 1) {
|
||||
last;
|
||||
}
|
||||
if($net_addr eq $net_addr++) {
|
||||
|
||||
$net_addr_temp = $net_addr + 1;
|
||||
if($net_addr eq $net_addr_temp) {
|
||||
$last = 1;
|
||||
}
|
||||
|
||||
|
||||
if ($net_addr =~ /\b\d{1,3}\.\d{1,3}\.\d{1,3}\.(\d{1,3})\b/) {
|
||||
if($1 eq '0' || $1 eq '255') {
|
||||
next;
|
||||
|
|
Loading…
Reference in New Issue