This is a discussion on RFV: pass-through persist and daemon re-configuration with HUP signal within the SNMP Coders forums, part of the Networking and Network Related category; >>>>> "AN" == Anthony Novatsis <anthonynovatsis@gmail.com> writes: AN> For Net-...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
>>>>> "AN" == Anthony Novatsis <anthonynovatsis@gmail.com> writes:
AN> For Net-SNMP version 5.3.1 (sending a SIGTERM to the pass-through AN> executable). Thanks for the patch! In order for it to go into 5.4 I'll need to get feedback from other developers as well since we're in lock-down mode on that code branch. To me your patch looks good and like the right thing to do. To the other developers: please chime in if you agree (or not). *** net-snmp-5.3.1/agent/mibgroup/ucd-snmp/pass_persist.c Wed Oct 25 12:29:48 2006 --- net-snmp-5.3.1.patched/agent/mibgroup/ucd-snmp/pass_persist.c Wed Oct 25 12:44:06 2006 *************** *** 767,772 **** --- 767,773 ---- persist_pipes[iindex].fdIn = -1; } if (persist_pipes[iindex].pid != -1) { + kill(persist_pipes[iindex].pid, SIGTERM); #if HAVE_SYS_WAIT_H waitpid(persist_pipes[iindex].pid, 0, 0); #endif -- Wes Hardaker Sparta, Inc. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=...057&dat=121642 _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/...et-snmp-coders |