Hi 
        The other process sends V3 notifications to manager. This
process uses Net-SNMP APIs to send the same. Since the trigger for
notifications are received as HTML (from one server) requests, sending
notification to Manager is been made as different process.

        Please let me know, Is it possible to share
/var/net-snmp/snmpd.conf  between two process? so that the other process
(which sends notification) can read the keys from data/snmpd.conf file.
Also let me know the APIs to be used for the same.

Thanks & Regards,
Santhosh

-----Original Message-----
From: Wes Hardaker [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, January 23, 2007 11:23 PM
To: SANTHOSH S (WT01 - Broadband Networks)
Cc: [email protected]
Subject: Re: USM DH Key change process

>>>>> "ss" == santhosh sundarasamy <[EMAIL PROTECTED]>
writes:

ss> I have to share the updated auth and priv keys to another demon
ss> running on the same machine when snmpusm command successfully
changed
ss> the keys. Is it possible?

ss> Is there any specific function / data structure where I have
ss> updated keys so that I can write into some file to share with other
ss> process?

The keys are stored in /var/net-snmp/snmpd.conf, though you'd have to
be able to read the line format for the user you're looking for.

But I feel obligated to ask "why are you doing what you're doing"?
Why are you trying to share keys between two processes in the first
place.  It almost sounds like you'd be better off with one process
being a subagent of the other.
-- 
Wes Hardaker
Sparta, Inc.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to