mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-04-08 17:06:05 +02:00
Bug #2514
check_centreon_snmp_traffic fails when used against an iSeries system git-svn-id: http://svn.centreon.com/trunk/plugins-2.x@12690 6bcd3966-0018-0410-8128-fd23d134de7e
This commit is contained in:
parent
6a95623920
commit
7bd0a4bd38
@ -296,6 +296,7 @@ if ($opt_n) {
|
||||
my @resLine = split(/\;/, $row);
|
||||
$resLine[1] =~ s/\x00//g;
|
||||
$resLine[1] =~ s/\n//g;
|
||||
$resLine[1] =~ s/\s*$//g;
|
||||
if ($resLine[1] eq $opt_i) {
|
||||
$interface = $resLine[0];
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user