Hi,

 

Thanks for Reply. And, sorry for the delay from my side.

 

I think, I have not made my question clear. Sorry about that.

What I want to know is:

- How the query (i.e. snmpget etc.) from SNMP daemon reaches to my agent?

- How reply from my agent goes to SNMP daemon and eventually to manager?

 

Note:

- I am using net-snmp-5.0.6.

- My snmpd.conf file has the following entries:

      syslocation "Unknown"

      syscontact  "root@"

      rwcommunity  "public "

- I am loading my agent to SNMP Daemon through following command sequence:

      /usr/sbin/snmpd  -Dagent_object,dlmod  &

      snmpset -v 2c -c public localhost UCD-DLMOD-MIB::dlmodStatus.1 i create

snmptable -v 2c -c public localhost UCD-DLMOD-MIB::dlmodTable

snmpset -v 2c -c public localhost UCD-DLMOD-MIB::dlmodName.1 s "agent_object" UCD-DLMOD-MIB::dlmodPath.1 s "$(LD_LIBRARY_PATH)/my_agent.so"

snmptable -v 2c -c public localhost UCD-DLMOD-MIB::dlmodTable

snmpset -v 2c -c public localhost UCD-DLMOD-MIB::dlmodStatus.1 i load

snmptable -v 2c -c public localhost UCD-DLMOD-MIB::dlmodTable 

- I am able to apply SNMP operations.

 

 

Regards,

Ajay

 

 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
Sent: Thursday, December 08, 2005 3:19 PM
To: [email protected]
Subject: Re : How Tables and SNMP Daemon interect?

 

 

Ajay,

 

Your Question : How Tables and SNMP Daemon interect?

 

Note : Please provide following information so that I can

       help you better.

- Have you created Tables with rows( which mib2c conf file?)?.

- Are you able to apply SNMP operaions?

- How are you configuring Table in order to provide info to

  the Deemon?

   ./configure --with-mib-modules="Table_Name"

   [ This provide info about table to the Deamon, Pl. see

     more details on net-snmp site]

- Have to configure configuration files correctly(

   snmpd.conf and snmp.conf)?

 Note : snmpd.conf file is read by Master Agent and

        snmp.conf  file is read when you apply SNMP

        Operations.

Regards,

Devendra

 

 

 

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s)and may contain confidential or privileged information. If you are not the intended recipient, please notify the sender or [EMAIL PROTECTED]

 

 

-------------------------------------------------------

This SF.net email is sponsored by: Splunk Inc. Do you grep through log files

for problems?  Stop!  Download the new AJAX search engine that makes

searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!

http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click

_______________________________________________

Net-snmp-coders mailing list

[email protected]

https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

 

 

Disclaimer: This e-mail and any attachment is for authorized use by the intended recipients only. It may contain proprietary material, confidential information and/or be subject to legal privilege of eInfochips Ltd. 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 retaining, using, copying, altering or disclosing the contents of this message.

 

Reply via email to