From: Atheeq Pasha Date: 2010-01-20T02:11:41+09:00 Subject: Re: Working with SNMP unknown wrote: > On Tue, Jan 19, 2010 at 10:44 AM, Atheeq Pasha > wrote: >> I am working with SNMP in ruby, I have installed the SNMP library and >> written these two functions for Set and Get request but when i rub this >> I am getting >> >> SNMP::RequestTimeout: host xx.xx.xx.xx.xx not responding >> >> What might be the reason? > > The reason might be that host xx.xx.xx.xx.xx is not running an snmpd > or its snmpd might be too slow or its snmpd might be configured to not > respond to the host you are testing from. Unfortunately, there are > (likely many) other possibilities too. > > Double check that you are using the correct host address, community > string, etc. and that the host is running snmpd. You could also try > to verify with the admin of the host that your client machine is > allowed to connect to the host (e.g. not blocked by a firewall). > Another option would be to use a network sniffer to see what is > actually being transmitted by your request. Thank you for that useful information. Do we have to close the Manager class after every set and get methods. Because I am using snmpset for manipulating and then snmpget for retrieving in the same function. -- Posted via http://www.ruby-forum.com/.