Re: SET request

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
2009/2/27 Tanisha Kashyap <[email protected]>:
> I have written a small piece of agent code in perl to implement GET and SET.
>
> The Get and Set work fine when I do snmpget/set from the CLI. However when I
> do the Set from an NMS installed on another machine, I get a function timed
> out error.

Check the access control settings on your agent (as I suggested yesterday).
Also check any firewall configuration on the host running the agent
   (as suggested in the FAQ entries I pointed you to yesterday).


> On running the snoop command I found that the packets are being sent from
> the NMS and there is no response from my agent.

Yes - that sounds like access control problems.


> I guess I have not implemented the SET functionality properly.

No - the code is probably fine.  Particularly if it works from a local request.
This does sound very much like an access control issue.

Dave

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.