Re: Is there any api for net-snmp to reread it's conf?

goon863 <[email protected]>
Newsgroups gmane.network.net-snmp.user,gmane.spam.detected
Message-ID <[email protected]>
> Is there any api for agent reread the snmpd.conf?

   update_config()

This is triggered by sending the agent the HUP signal,
or by setting the UCD-SNMP-MIB::versionUpdateConfig object.

Dave

  Thanks very much ,Dave.Update_config() work very well.
  I want to change the notification trap time through an oid in agent,what can i do?I change the traptime in snmp_alarm_register(traptime,SA_REPEAT,send_example_notification,NULL); in the funtion init_notification(),but it didn't work.And agentXRetries 0 in snmpd.conf seems not work too.The agent will action serveral times if do not add -t 600 in snmpset command.Is there any mathod to control it just act onetime?
Thanks very much.
 
Thanks.

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4

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