Hi Zvika, Try to run snmpd on your x86 CPU either by installing the Net-SNMP for the corresponding operating system or compiling it from the sources.
Configuring Net-SNMP: snmpconf -i The recommended way to start snmpd is with the following command line: /usr/sbin/snmpd -I-udp,udpTable,tcp,tcpTable,icmp,ip,interfaces,system_mib,sysORTable Then, you can see what information it provides with: $ snmpwalk -v 1 -c public localhost .iso The traps supported will depend on the supported MIBs. You must configure snmpd to send traps, e.g. at the configuration file snmpd.conf. Then you can run snmptrapd to get the traps from snmpd. Best regards, David -----Mensaje original----- De: Vered Zvi [mailto:ver...@elta.co.il] Enviado el: viernes, 06 de mayo de 2016 4:50 Para: Fernández Piñas, David; net-snmp-users@lists.sourceforge.net Asunto: RE: Developing SNMP agent for a new switch Hi David, The Intel's switch does not have any MIBs at all. Intel delivers it without any SNMP features. There is only an API that can control the switch via an x86 CPU connected to the switch via PCIe. Is it possible to run snmpd without adding any code and just see how it responds to SNMP requests ? I'm aware the reply from snmpd will not contain any valid information. Does snmpd support SNMP traps ? Best regards, Zvika _____________________________________ From: Fernández Piñas, David [dfernand...@indra.es] Sent: Thursday, May 05, 2016 4:46 PM To: Vered Zvi; net-snmp-users@lists.sourceforge.net Subject: RE: Developing SNMP agent for a new switch Do you have the switch MIB to support by the SNMP agent (ASN.1)? If this is a private company MIB, I would do a AgentX subagent implementing and getting the information from the PCIe device, then the Net-SNMP snmpd will give you some standard additional MIBs. There is plenty of documentation, although not so easy to follow, from my point of view, in the Net-SNMP Project website, but after some hours of navigation you should be able to find your way. Best regards, David -----Mensaje original----- De: Vered Zvi [mailto:ver...@elta.co.il] Enviado el: jueves, 05 de mayo de 2016 11:31 Para: net-snmp-users@lists.sourceforge.net Asunto: Developing SNMP agent for a new switch Hello, I have to develope an SNMP agent for an Intel's switch. The switch is controlled via an x86 CPU connected to the switch via PCIe. Is snmpd is a good starting point ? Is there a manual explains how to develope such agent from scratch ? Best regards, Z.V The information contained in this communication is proprietary to Israel Aerospace Industries Ltd. and/or third parties, may contain confidential or privileged information, and is intended only for the use of the intended addressee thereof. If you are not the intended addressee, please be aware that any use, disclosure, distribution and/or copying of this communication is strictly prohibited. If you receive this communication in error, please notify the sender immediately and delete it from your computer. ------------------------------------------------------------------------------ Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users Este correo electrónico y, en su caso, cualquier fichero anexo al mismo, contiene información de carácter confidencial exclusivamente dirigida a su destinatario o destinatarios. Si no es vd. el destinatario indicado, queda notificado que la lectura, utilización, divulgación y/o copia sin autorización está prohibida en virtud de la legislación vigente. En el caso de haber recibido este correo electrónico por error, se ruega notificar inmediatamente esta circunstancia mediante reenvío a la dirección electrónica del remitente. Evite imprimir este mensaje si no es estrictamente necesario. This email and any file attached to it (when applicable) contain(s) confidential information that is exclusively addressed to its recipient(s). If you are not the indicated recipient, you are informed that reading, using, disseminating and/or copying it without authorisation is forbidden in accordance with the legislation in effect. If you have received this email by mistake, please immediately notify the sender of the situation by resending it to their email address. Avoid printing this message if it is not absolutely necessary. This Email and the attachments were emulated by Check Point ThreatEmulation Service. The information contained in this communication is proprietary to Israel Aerospace Industries Ltd. and/or third parties, may contain confidential or privileged information, and is intended only for the use of the intended addressee thereof. If you are not the intended addressee, please be aware that any use, disclosure, distribution and/or copying of this communication is strictly prohibited. If you receive this communication in error, please notify the sender immediately and delete it from your computer. Este correo electrónico y, en su caso, cualquier fichero anexo al mismo, contiene información de carácter confidencial exclusivamente dirigida a su destinatario o destinatarios. Si no es vd. el destinatario indicado, queda notificado que la lectura, utilización, divulgación y/o copia sin autorización está prohibida en virtud de la legislación vigente. En el caso de haber recibido este correo electrónico por error, se ruega notificar inmediatamente esta circunstancia mediante reenvío a la dirección electrónica del remitente. Evite imprimir este mensaje si no es estrictamente necesario. This email and any file attached to it (when applicable) contain(s) confidential information that is exclusively addressed to its recipient(s). If you are not the indicated recipient, you are informed that reading, using, disseminating and/or copying it without authorisation is forbidden in accordance with the legislation in effect. If you have received this email by mistake, please immediately notify the sender of the situation by resending it to their email address. Avoid printing this message if it is not absolutely necessary. ------------------------------------------------------------------------------ Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users