From c5c25cee7f15615b12d9b78e76ae40f4460e74c1 Mon Sep 17 00:00:00 2001 From: Oliver Gorwits Date: Tue, 30 Jan 2018 15:25:32 +0000 Subject: [PATCH] try setting MIBS --- xt/10_remote_snmplabs.t | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/xt/10_remote_snmplabs.t b/xt/10_remote_snmplabs.t index 67e07b99..dacdccb9 100644 --- a/xt/10_remote_snmplabs.t +++ b/xt/10_remote_snmplabs.t @@ -8,6 +8,8 @@ use Test::More 1.302083; use SNMP::Info; use Path::Class 'dir'; +%SNMP::Info::MIBS = ('RFC1213-MIB' => 'sysName'); + my $info = SNMP::Info->new( AutoSpecify => 1, DestHost => 'demo.snmplabs.com', @@ -16,7 +18,7 @@ my $info = SNMP::Info->new( MibDirs => [ _build_mibdirs() ], IgnoreNetSNMPConf => 1, Debug => 1, - DebugSNMP => 2, + DebugSNMP => 1, ); ok($info, 'SNMP::Info instantiated');