Changeset 175
- Timestamp:
- Aug 24, 2016, 3:13:10 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/klask
r174 r175 332 332 if ($check_hostname) { 333 333 my ($hostname) = split /\./, $sw->{hostname}, 2; 334 print " errorhostname: $sw->{hostname}\n" if $result->{$OID_NUMBER{sysName}} ne $hostname;334 print " $hostname - error internal hostname: $sw->{hostname}\n" if $result->{$OID_NUMBER{sysName}} ne $hostname; 335 335 } 336 336 if ($check_location) { 337 337 my $location = $result->{$OID_NUMBER{sysLocation}}; 338 338 $location =~ s/^"(.+)"$/$1/; 339 print " error location: '$sw->{location}' =/= '$location'\n" if $location ne $sw->{location};339 print " $sw->{hostname} - error location: '$location' -> '$sw->{location}'\n" if $location ne $sw->{location}; 340 340 } 341 341 #$sw->{location} = $result->{"1.3.6.1.2.1.1.6.0"} || $sw->{hostname};
Note: See TracChangeset
for help on using the changeset viewer.