> And even with the config file, you shouldn't need to *stop*
> the agent - just send it a HUP signal to reload the config.

What is entry to reload the config in SNMP source code? I want to learn.

Thank you very much!

Ying

-----Original Message-----
From: Dave Shield [mailto:[EMAIL PROTECTED] 
Sent: 2006年1月18日 17:17
To: Ying Wang(CD)
Cc: net-snmp-users@lists.sourceforge.net
Subject: Re: How to add/delete snmp user by snmp itself?

On Wed, 2006-01-18 at 14:30 +0800, Ying Wang(CD) wrote:
> I want to add/delete snmp users by snmp itself. 

See 'snmpusm(1)'

> I refresh snmpd.conf, but, as you know, we should stop and
> restart snmpd to make this new user valid.

Only if you create users via the config file.
Not if you use 'snmpusm'.

And even with the config file, you shouldn't need to *stop*
the agent - just send it a HUP signal to reload the config.


>  I do not like this!

So don't do it then :-)


> My question: 
>     1. What is the right and simplest method to do it? 

        snmpusm

>     2. How to delete it when a snmp request comes?

        snmpusm

Dave


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
_______________________________________________
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

Reply via email to