Re: Changing Trap Sink Using Script or in Makefile

Muhammad Zeeshan <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>








Dear Wes Hardaker
 
I want to change the snmpd.conf file on runtime, say my agent is running and want to change IP for trap receiver without stopping/re-innitiating the agent, i want to do this with some make-file or perhaps script.
 
Regards,

- Muhammad Zeeshan


--- On Tue, 14/4/09, Wes Hardaker <[email protected]> wrote:


From: Wes Hardaker <[email protected]>
Subject: Re: Changing Trap Sink Using Script or in Makefile
To: "Muhammad Zeeshan" <[email protected]>
Cc: "net-snmp-users" <[email protected]>
Date: Tuesday, 14 April, 2009, 6:13 PM


>>>>> On Tue, 14 Apr 2009 03:46:57 -0700 (PDT), Muhammad Zeeshan <[email protected]> said:

MZ> can some body help me with changing the trap2sink
MZ> IP using script of from Makefile through any command if available
MZ> provided that net-snmp library is installed.

You can only modify the ip address of a trap2sink definition by editing
the snmpd.conf file that it is stored in.  I don't know how or why you
would do that from within a Makefile.

-- 
Wes Hardaker



New Email addresses available on Yahoo! 
Get the Email name you've always wanted on the new @ymail and @rocketmail.
Hurry before someone else does!


      Get your preferred Email name!
Now you can @ymail.com and @rocketmail.com. 
http://mail.promotions.yahoo.com/newdomains/aa/

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com

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