This is a discussion on RE: How Tables and SNMP Daemon interact? within the SNMP Coders forums, part of the Networking and Network Related category; This is a multi-part message in MIME format. ------=_NextPart_000_001F_01C5FF4B.D1D78640 Content-Type: text/plain; charset="us-ascii" ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
This is a multi-part message in MIME format.
------=_NextPart_000_001F_01C5FF4B.D1D78640 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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: net-snmp-coders-admin@lists.sourceforge.net [mailto:net-snmp-coders-admin@lists.sourceforge.net] On Behalf Of devsingh@tataelxsi.co.in Sent: Thursday, December 08, 2005 3:19 PM To: net-snmp-coders@lists.sourceforge.net 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 administrator@tataelxsi.co.in ------------------------------------------------------- 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 Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/...et-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. ------=_NextPart_000_001F_01C5FF4B.D1D78640 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html xmlns:o=3D"urn:schemas-microsoft-com:office:office" = xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:st1=3D"urn:schemas-microsoft-com:office:smarttags" = xmlns=3D"http://www.w3.org/TR/REC-html40"> <head> <meta http-equiv=3DContent-Type content=3D"text/html; = charset=3Dus-ascii"> <meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)"> <o:SmartTagType = namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags" name=3D"City"/> <o:SmartTagType = namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags" name=3D"place"/> <!--[if !mso]> <style> st1\:*{behavior:url(#default#ieooui) } </style> <![endif]--> <style> <!-- /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {color:purple; text-decoration:underline;} p.MsoPlainText, li.MsoPlainText, div.MsoPlainText {margin:0in; margin-bottom:.0001pt; font-size:10.0pt; font-family:"Courier New";} @page Section1 {size:8.5in 11.0in; margin:1.0in 77.95pt 1.0in 77.95pt;} div.Section1 {page:Section1;} --> </style> </head> <body lang=3DEN-US link=3Dblue vlink=3Dpurple> <div class=3DSection1> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span = style=3D'font-size: 10.0pt'>Hi,<o:p></o:p></span></font></p> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span = style=3D'font-size: 10.0pt'><o:p> </o:p></span></font></p> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span = style=3D'font-size: 10.0pt'>Thanks for Reply. And, sorry for the delay from my = side.<o:p></o:p></span></font></p> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span = style=3D'font-size: 10.0pt'><o:p> </o:p></span></font></p> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span = style=3D'font-size: 10.0pt'>I think, I have not made my question clear. Sorry about = that.<o:p></o:p></span></font></p> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span = style=3D'font-size: 10.0pt'>What I want to know is:<o:p></o:p></span></font></p> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span = style=3D'font-size: 10.0pt'>- How the query (i.e. snmpget etc.) from SNMP daemon reaches to = my agent?<o:p></o:p></span></font></p> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span = style=3D'font-size: 10.0pt'>- How reply from my agent goes to SNMP daemon and eventually to manager?<o:p></o:p></span></font></p> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span = style=3D'font-size: 10.0pt'><o:p> </o:p></span></font></p> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span = style=3D'font-size: 10.0pt'>Note:<o:p></o:p></span></font></p> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span = style=3D'font-size: 10.0pt'>- I am using net-snmp-5.0.6.<o:p></o:p></span></font></p> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span = style=3D'font-size: 10.0pt'>- My snmpd.conf file has the following = entries:<o:p></o:p></span></font></p> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span = style=3D'font-size: 10.0pt'> syslocation = "Unknown"<o:p></o:p></span></font></p> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span = style=3D'font-size: 10.0pt'> syscontact = "root@"<o:p></o:p></span></font></p> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span = style=3D'font-size: 10.0pt'> rwcommunity "public = "<o:p></o:p></span></font></p> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span = style=3D'font-size: 10.0pt'>- I am loading my agent to SNMP Daemon through following command sequence:<o:p></o:p></span></font></p> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span = style=3D'font-size: 10.0pt'> /usr/sbin/snmpd = -Dagent_object,dlmod &<o:p></o:p></span></font></p> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span = style=3D'font-size: 10.0pt'> snmpset -v 2c -c public localhost UCD-DLMOD-MIB::dlmodStatus.1 i create<o:p></o:p></span></font></p> <p class=3DMsoPlainText style=3D'margin-left:.5in'><font size=3D2 = face=3D"Courier New"><span style=3D'font-size:10.0pt'>snmptable -v 2c -c public localhost UCD-DLMOD-MIB::dlmodTable <o:p></o:p></span></font></p> <p class=3DMsoPlainText style=3D'margin-left:.5in'><font size=3D2 = face=3D"Courier New"><span style=3D'font-size:10.0pt'>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"<o:p></o:p></span></font></p> <p class=3DMsoPlainText style=3D'margin-left:.5in'><font size=3D2 = face=3D"Courier New"><span style=3D'font-size:10.0pt'>snmptable -v 2c -c public localhost UCD-DLMOD-MIB::dlmodTable<o:p></o:p></span></font></p> <p class=3DMsoPlainText style=3D'margin-left:.5in'><font size=3D2 = face=3D"Courier New"><span style=3D'font-size:10.0pt'>snmpset -v 2c -c public localhost UCD-DLMOD-MIB::dlmodStatus.1 i load<o:p></o:p></span></font></p> <p class=3DMsoPlainText style=3D'margin-left:.5in'><font size=3D2 = face=3D"Courier New"><span style=3D'font-size:10.0pt'>snmptable -v 2c -c public localhost UCD-DLMOD-MIB::dlmodTable <o:p></o:p></span></font></p> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span = style=3D'font-size: 10.0pt'>- I am able to apply SNMP = operations.<o:p></o:p></span></font></p> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span = style=3D'font-size: 10.0pt'><o:p> </o:p></span></font></p> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span = style=3D'font-size: 10.0pt'><o:p> </o:p></span></font></p> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span = style=3D'font-size: 10.0pt'>Regards,<o:p></o:p></span></font></p> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span = style=3D'font-size: 10.0pt'>Ajay<o:p></o:p></span></font></p> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span = style=3D'font-size: 10.0pt'><o:p> </o:p></span></font></p> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span = style=3D'font-size: 10.0pt'><o:p> </o:p></span></font></p> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span = style=3D'font-size: 10.0pt'>-----Original Message-----<br> From: net-snmp-coders-admin@lists.sourceforge.net [mailto:net-snmp-coders-admin@lists.sourceforge.net] On Behalf Of = devsingh@tataelxsi.co.in<br> Sent: Thursday, December 08, 2005 3:19 PM<br> To: net-snmp-coders@lists.sourceforge.net<br> Subject: Re : How Tables and SNMP Daemon interect?</span></font></p> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span = style=3D'font-size: 10.0pt'><o:p> </o:p></span></font></p> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span = style=3D'font-size: 10.0pt'><o:p> </o:p></span></font></p> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span = style=3D'font-size: 10.0pt'>Ajay,<o:p></o:p></span></font></p> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span = style=3D'font-size: 10.0pt'><o:p> </o:p></span></font></p> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span = style=3D'font-size: 10.0pt'>Your Question : How Tables and SNMP Daemon = interect?<o:p></o:p></span></font></p> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span = style=3D'font-size: 10.0pt'><o:p> </o:p></span></font></p> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span = style=3D'font-size: 10.0pt'>Note : Please provide following information so that I can = <o:p></o:p></span></font></p> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span = style=3D'font-size: 10.0pt'> help you = better.<o:p></o:p></span></font></p> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span = style=3D'font-size: 10.0pt'>- Have you created Tables with rows( which mib2c conf = file?)?.<o:p></o:p></span></font></p> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span = style=3D'font-size: 10.0pt'>- Are you able to apply SNMP = operaions?<o:p></o:p></span></font></p> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span = style=3D'font-size: 10.0pt'>- How are you configuring Table in order to provide info = to<o:p></o:p></span></font></p> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span = style=3D'font-size: 10.0pt'> the Deemon?<o:p></o:p></span></font></p> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span = style=3D'font-size: 10.0pt'> ./configure = --with-mib-modules=3D"Table_Name"<o:p></o:p></span></font></p> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span = style=3D'font-size: 10.0pt'> [ This provide info about table to the Deamon, Pl. = see <o:p></o:p></span></font></p> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span = style=3D'font-size: 10.0pt'> more details on net-snmp = site]<o:p></o:p></span></font></p> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span = style=3D'font-size: 10.0pt'>- Have to configure configuration files = correctly(<o:p></o:p></span></font></p> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span = style=3D'font-size: 10.0pt'> snmpd.conf and = snmp.conf)?<o:p></o:p></span></font></p> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span = style=3D'font-size: 10.0pt'> Note : snmpd.conf file is read by Master Agent and = <o:p></o:p></span></font></p> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span = style=3D'font-size: 10.0pt'> snmp.conf file = is read when you apply SNMP <o:p></o:p></span></font></p> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span = style=3D'font-size: 10.0pt'> = Operations.<o:p></o:p></span></font></p> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span = style=3D'font-size: 10.0pt'>Regards,<o:p></o:p></span></font></p> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span = style=3D'font-size: 10.0pt'>Devendra <o:p></o:p></span></font></p> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span = style=3D'font-size: 10.0pt'><o:p> </o:p></span></font></p> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span = style=3D'font-size: 10.0pt'><o:p> </o:p></span></font></p> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span = style=3D'font-size: 10.0pt'><o:p> </o:p></span></font></p> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span = style=3D'font-size: 10.0pt'>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 administrator@tataelxsi.co.in<o:p></o:p></span></font></p> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span = style=3D'font-size: 10.0pt'><o:p> </o:p></span></font></p> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span = style=3D'font-size: 10.0pt'><o:p> </o:p></span></font></p> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span = style=3D'font-size: 10.0pt'>-------------------------------------------------------<o:p></o:p= ></span></font></p> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span = style=3D'font-size: 10.0pt'>This SF.net email is sponsored by: Splunk Inc. Do you grep = through log files<o:p></o:p></span></font></p> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span = style=3D'font-size: 10.0pt'>for problems? Stop! Download the new <st1:City = w:st=3D"on"><st1:place w:st=3D"on">AJAX</st1:place></st1:City> search engine that = makes<o:p></o:p></span></font></p> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span = style=3D'font-size: 10.0pt'>searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!<o:p></o:p></span></font></p> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span = style=3D'font-size: 10.0pt'>http://ads.osdn.com/?ad_id=3D7637&am...65&op=3Dc= lick<o:p></o:p></span></font></p> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span = style=3D'font-size: 10.0pt'>__________________________________________ _____<o:p></o:p></span>= </font></p> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span = style=3D'font-size: 10.0pt'>Net-snmp-coders mailing list<o:p></o:p></span></font></p> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span = style=3D'font-size: 10.0pt'>Net-snmp-coders@lists.sourceforge.net<o:p></o:p></span></font></p= > <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span = style=3D'font-size: 10.0pt'>https://lists.sourceforge.net/lists/listinfo/net-snmp-coders<o:p>= </o:p></span></font></p> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span = style=3D'font-size: 10.0pt'><o:p> </o:p></span></font></p> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span = style=3D'font-size: 10.0pt'><o:p> </o:p></span></font></p> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span = style=3D'font-size: 10.0pt'>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.<o:p></o:p></span></font></p> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span = style=3D'font-size: 10.0pt'><o:p> </o:p></span></font></p> </div> </body> </html> ------=_NextPart_000_001F_01C5FF4B.D1D78640-- 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. ------------------------------------------------------- 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 Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/...et-snmp-coders |
![]() |
| Thread Tools | |
| Display Modes | |
|
|