2010/12/28 刘谋旺 <[email protected]>: > SIGHUP default behavior is terminate process
Not for the Net-SNMP agent. This signal will tell the agent to re-read the config files, just as Mishustin said. > I read snmpd code, > I can't find any function to deal with SIGHUP. I suggest you read the code again, more closely. In particular, see the function SnmpdReconfig in the file snmpd.c > That is to say, If I send a SIGHUP, the process is restart actually. No - if you send a HUP signal, the agent will re-read the configuration file. Which is exactly what you asked for originally: >>> I hope send a signal to notice snmpd re-read configuration, or other >>> metheds, but not to restart snmpd. Dave ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ 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
