Explorar o código

check_junos: chassis_environment: Include threshold in perf-data.

Sebastian Harl %!s(int64=13) %!d(string=hai) anos
pai
achega
cfa7416676
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      check_junos.pl

+ 1 - 1
check_junos.pl

@@ -357,7 +357,7 @@ foreach my $check (@{$conf{'checks'}}) {
 				min       => undef,
 				max       => undef,
 				uom       => '',
-				threshold => undef,
+				threshold => $plugin->threshold(),
 			);
 		}