Skip to content

Commit

Permalink
Merge pull request #15 from SteScho/patch-2
Browse files Browse the repository at this point in the history
pnp need perf-data with always same order
  • Loading branch information
dnsmichi committed Feb 6, 2016
2 parents 8959e31 + 6263f2e commit 7008b77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/check_snmp_int.pl
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@ sub check_options {
# and put the oid to query in an array

verb("Filter : $o_descr");
foreach my $key ( keys %$resultat) {
foreach my $key (sort { $$resultat{$a} cmp $$resultat{$b} } keys %$resultat) {
verb("OID : $key, Desc : $$resultat{$key}");
# test by regexp or exact match
my $test = defined($o_noreg)
Expand Down

0 comments on commit 7008b77

Please sign in to comment.