How to make snmpd as init_snmpd

Darshan Ghumare <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
---------- Forwarded message ----------
From: Darshan Ghumare <[email protected]>
Date: Tue, Sep 1, 2009 at 6:44 PM
Subject: Fwd: How to make snmpd as init_snmpd
To: [email protected]




 ---------- Forwarded message ----------
From: Darshan Ghumare <[email protected]>
Date: Tue, Sep 1, 2009 at 6:24 PM
Subject: Re: How to make snmpd as init_snmpd
To: Dave Shield <[email protected]>


Thank you sir.

1) In my case, There will be single thread dedicated for snmp-agent. Which
going to handle request. Agent will not create any threads.

2) When I complied my_snmpd & copied it to other machines with all necessary
libraries then,
     $./my_snmpd
      symbol look_up error: /usr/lib/libnetsnmpagent.so.15: Undefine symbol
boot_Dynaloader
   This problem does not occurred if I run it on that machine where I have
installed net-snmp.

  On Tue, Sep 1, 2009 at 6:16 PM, Dave Shield <[email protected]>wrote:

> 2009/9/1 Darshan Ghumare <[email protected]>:
> > If I want to invoke it as thread then how should I go about it?
>
> If *all* of the SNMP-related processing will be in a single thread,
> then that's not really a problem.   You'll just have to ensure that
> any data which is shared between the SNMP thread and the rest
> of your application is protected by suitable locks.
>
> If you are talking about having several sub-agent threads,
> then that's a very different matter.   The Net-SNMP agent has
> not been designed for thread-safe operation, and it would
> require a fair amount of careful examination of the code to
> identify all of the vulnerabilities.
>
> We'd recommend anyone who was interested in tackling
> this to spend some time getting familiar with the existing code
> before starting such an undertaking.
>
> If you really need a multi-threaded agent, in a relatively short
> time span, then you probably need to consider some alternative
> agent toolkits.
>
> Dave
>



-- 
Darshan®
Marie von Ebner-Eschenbach<http://www.brainyquote.com/quotes/authors/m/marie_von_ebnereschenbac.html>
- "Even a stopped clock is right twice a day."



-- 
Darshan®
Jonathan Swift<http://www.brainyquote.com/quotes/authors/j/jonathan_swift.html>
- "May you live every day of your life."



-- 
Darshan®
Pablo Picasso<http://www.brainyquote.com/quotes/authors/p/pablo_picasso.html>
- "Computers are useless. They can only give you answers."

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july

_______________________________________________
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.