Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to handle HUP signals

0 views
Skip to first unread message

jreg...@rego.org

unread,
Oct 12, 2012, 1:42:03 PM10/12/12
to
Is there a good way to determine that a HUP signal has been received from within a config handler?

If I have created a config handler to dynamically assign indexes and I track the next available index with a variable, how can I tell that I shoudl reset my index variable within my config handler?

Thanks,

Jim Regovich

Wes Hardaker

unread,
Oct 18, 2012, 2:00:20 PM10/18/12
to
<jreg...@rego.org> writes:

> Is there a good way to determine that a HUP signal has been received from
> within a config handler?

The "free" callback function will be called after a HUP before the next
re-read. It should be what you use to free any resources and get a
clean start before the next config-read comes through.
--
Wes Hardaker
SPARTA, Inc.

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
Net-snmp-users mailing list
Net-snm...@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

0 new messages