Re: snmp configuration via xinetd fails

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 28 January 2011 13:59, biplab datta <[email protected]> wrote:
> I interpreted that as launching multiple daemons (snmpd) is possible.
> I take that is not the case for net-snmp.

No - the SNMP daemon expects to be a single process,
responsible for handling all network management requests.
The idea of running multiple snmpd processes is not the
normal mode of operation.

You *might* be able to start snmpd as a "single-threaded"
service,  though I'm not sure it really buys you much.
And delaying the agent startup until the first request comes
in, means that this first request is more likely to time out
(and be re-sent).
   My gut reaction is that the cure is worse than the disease!



> - is this one standalone deamon limitation specific to net-snmp only?
> - do other snmp vendors support multiple agent deamons?

I've no idea - you would have to ask them yourself.

> - I was successfully able to create  multiple instances of snmpd using
> different port number on net-snmp via this command: /usr/sbin/snmpd
> <proto>:<HostIPaddress>:<port>
> - I guess it uses one deamon to keep track of all instances?

No - if you start multiple daemons  (listing on different ports),
then that's what you'll get.   That's something I do all the time,
when developing new versions of the software (while leaving
the "production" agent in service).

  But that's a relatively unusual scenario.   It would be more
usual to run a single daemon listening on multiple ports:

    snmpd    address1:port1  address2:port2   etc


The only reason for running different agents on different ports
would be if you needed to return different information (and hence
have a different configuration and/or binary for each agent).
   But that counts as "advanced use of SNMP".

If you're still getting used to the basics of SNMP, then I'd suggest
you stick to the normal model until you've gained a bit more experience
and familiarity with how things work.


Dave

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.