From: Atheeq Pasha Date: 2010-01-21T02:54:28+09:00 Subject: Re: SNMP in rails > Thanks a lot. > > Almost got it working but got an error > > TypeError: can't convert Fixnum into String > > at this line > > varbind = VarBind.new(oid.to_s + "." + result.reset_port , > Integer.new(3)) > > I fixed it by converting reset_port to string i.e., > result.reset_port.to_s > > but it again gave an error > > NoMethodError: undefined method `new' for Integer:Class > > for the modified line > > varbind = VarBind.new(oid.to_s + "." + result.reset_port.to_s , > Integer.new(3)) > > Thanks in advance:) I got that working, but what settings do i have to configure on the host or install because it says SNMP::RequestTimeout xx.xx.xx.xx not responding what might be the problem? -- Posted via http://www.ruby-forum.com/.