From 699158fd17d658027ee040296f9ee7f4be084446 Mon Sep 17 00:00:00 2001 From: Alejandro Suarez Date: Thu, 23 Apr 2020 00:54:29 +0200 Subject: [PATCH] Requirements workaround due to #1073 --- plugins/router/snmp__mikrotik | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/router/snmp__mikrotik b/plugins/router/snmp__mikrotik index 6aaa01159..2cf1880b3 100755 --- a/plugins/router/snmp__mikrotik +++ b/plugins/router/snmp__mikrotik @@ -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; }