Yes, it should be possible. But instead of different ports for each SNMP agent,
maybe it would be better that you use IP aliasing in the Gateway. Then, each
SNMP agent just listens on a single IP address, standard port UDP 161. I think
that this would make it easier to map the devices on a network map.
Regards,
David
De: daniele [mailto:daniele.salvo...@gmail.com]
Enviado el: martes, 11 de julio de 2017 11:07
Para: Net-snmp-users@lists.sourceforge.net
Asunto: Is it possible to set up many SNMP agents managing the same MIB on the
same machine?
Hello everybody,
I'm new to net-snmp and I started reading documentation and making some tests.
However I have some experience with SNMP.
As you can see from the subject of my request, what I am trying to achieve is
something not typical when using SNMP and it is for sure tricky. I hope to find
some of you to have the patience to read my post until the end to understand
what I mean.
Typically SNMP requests are sent to diagnose the status of a target machine: to
achieve this the machine must be running an snmp agent and N sub agents each
managing a different MIB.
In my case the machine answering to SNMP is a "gateway" to N machines (that
don't implement SNMP) and the gateway must manage SNMP informations for each of
these machines. The N machines are identical and the informations for each are
described in the same MIB: as a consequence the gateway must have N agents
(answering on different ports) and N instances of the same sub-agent
implementing the target MIB. Each subagent will be then configured to connect
to its own machine to retrieve informations.
Is it possible to achieve this setup by using net-snmp? Or is it so far from
SNMP purpose that no one thought to this possibility?
Thanks in advance
salvolds
________________________________
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.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
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