Skip to content

Commit

Permalink
Requirements workaround due to #1073
Browse files Browse the repository at this point in the history
  • Loading branch information
alejandroscf authored and sumpfralle committed Apr 25, 2020
1 parent 475fe56 commit 699158f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions plugins/router/snmp__mikrotik
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@ my $sysTempOID = "1.3.6.1.4.1.14988.1.1.3.10.0";
my $response;

if (defined $ARGV[0] and $ARGV[0] eq "snmpconf") {
print "require $sysFlashUsageOID\n";
print "require $sysFlashTotalOID\n";
print "require $sysRAMUsageOID\n";
print "require $sysRAMTotalOID\n";
print "require $sysFlashUsageOID ^\\d\n";
print "require $sysFlashTotalOID ^\\d\n";
print "require $sysRAMUsageOID ^\\d\n";
print "require $sysRAMTotalOID ^\\d\n";
exit 0;
}

Expand Down

0 comments on commit 699158f

Please sign in to comment.