
Hi, I am trying to use NetSnmp to get some information from my switch. And I met this problem. After initialize, I used snmpWalk to get some information, and dealed with it. Everything is fine. Then I sleep for 5 mins. SnmpWalk again. But this time, all asnValues were unsupported format, which broke my dealing process. Why? I am sure my switch and OID, bluh bluh bluh are correct. They worked in ruby script. -- 竹密岂妨流水过 山高哪阻野云飞

I am trying to use NetSnmp to get some information from my switch. And I met this problem. After initialize, I used snmpWalk to get some information, and dealed with it. Everything is fine. Then I sleep for 5 mins. SnmpWalk again. But this time, all asnValues were unsupported format, which broke my dealing process.
Are you on a 64-bit machine? I've made an update or two, but haven't pushed them to Hackage yet... I'll do that today. Please let me know if this fixes your problem. John

Hi,
The box is just 32bit with linux. But anyway, I will try out the
update. Thanks.
On Thu, Oct 22, 2009 at 11:35 PM, John Dorsey
I am trying to use NetSnmp to get some information from my switch. And I met this problem. After initialize, I used snmpWalk to get some information, and dealed with it. Everything is fine. Then I sleep for 5 mins. SnmpWalk again. But this time, all asnValues were unsupported format, which broke my dealing process.
Are you on a 64-bit machine? I've made an update or two, but haven't pushed them to Hackage yet... I'll do that today. Please let me know if this fixes your problem.
John
-- 竹密岂妨流水过 山高哪阻野云飞

It works pretty well.
On Fri, Oct 23, 2009 at 7:24 AM, Magicloud Magiclouds
Hi, The box is just 32bit with linux. But anyway, I will try out the update. Thanks.
On Thu, Oct 22, 2009 at 11:35 PM, John Dorsey
wrote: I am trying to use NetSnmp to get some information from my switch. And I met this problem. After initialize, I used snmpWalk to get some information, and dealed with it. Everything is fine. Then I sleep for 5 mins. SnmpWalk again. But this time, all asnValues were unsupported format, which broke my dealing process.
Are you on a 64-bit machine? I've made an update or two, but haven't pushed them to Hackage yet... I'll do that today. Please let me know if this fixes your problem.
John
-- 竹密岂妨流水过 山高哪阻野云飞
-- 竹密岂妨流水过 山高哪阻野云飞
participants (2)
-
John Dorsey
-
Magicloud Magiclouds