I made some changes and the agent is now responding to SNMP Get.
The agent I had written had a hard coded OID and a corresponding string which 
was being printed whenever I did a GET on that particular OID.

However now I want my agent to read a MIB file created by me.
Any pointers on how I can get going?

"If you think you can, or you think you can't...You are Right"   -- Henry Ford

-----Original Message-----
From: Wes Hardaker [mailto:[email protected]]
Sent: Tuesday, February 24, 2009 10:35 PM
To: Tanisha Kashyap
Cc: [email protected]
Subject: Re: Net-SNMP perl agent

>>>>> On Tue, 24 Feb 2009 12:55:10 +0530, Tanisha Kashyap 
>>>>> <[email protected]> said:

TK> Query: /usr/local/bin/snmpget -v 2c -c private 127.0.0.1 
.1.3.6.1.4.1.8072.9999.9999.7375.1.0
TK> Error: Timeout: No Response from 127.0.0.1.

Can you query other objects with -v 2c -c private?  If not, then the
agent needs to be set up for authorization rights first (see VACM in the
snmpd.conf manual page)
--
Wes Hardaker
Sparta, Inc.

"DISCLAIMER: This message is proprietary to Aricent and is intended solely for 
the use of the individual to whom it is addressed. It may contain privileged or 
confidential information and should not be circulated or used for any purpose 
other than for what it is intended. If you have received this message in 
error,please notify the originator immediately. If you are not the intended 
recipient, you are notified that you are strictly prohibited from using, 
copying, altering, or disclosing the contents of this message. Aricent accepts 
no responsibility for loss or damage arising from the use of the information 
transmitted by this email including damage from virus."

------------------------------------------------------------------------------
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

Reply via email to