FYI to SNMP hackers.  Objections to this patch?

-- 
Brian A. Seklecki <[EMAIL PROTECTED]>
Collaborative Fusion, Inc.
--- Begin Message ---
Good call on the $snmpd_pidfile=

Another useful flag would be an optional pre_start() to blow away the
Exec cache (which lingers after the process dies without documentation)

Basically if you're writing a lot of your own passthrough OIDs and one
of them fails to exec, a simple restart of SNMP should be enough to
flush out:

+start_precmd=snmpd_precmd

+snmpd_precmd () {
+       if checkyesno snmpd_flush_cache; then
+               rm -rvf /var/net-snmp/.snmp-exec-cache
        fi



~BAS


-- 
Brian A. Seklecki <[EMAIL PROTECTED]>
Collaborative Fusion, Inc.

--- End Message ---
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to