Hi
Just out of interest, what is the reasoning behind not having SNMP being
able to modify a command line configured sFlow change as per Section 6.1
in the sFlow version 5 specification?
An example or use case would help clarify this.
Thanks in advance.
Andy Kitchingman
NOTICE: This message
In addition to the fix for Matt Woodley's post "Potential memory leak in sFlow
API" on 10/05/09, I think the "hash_nxt" pointer to the sampler also needs to
be preserved when resetting the sampler.
If a sampler which is stored at a jumptable index (head of list for that slot)
gets reset, it current
Hi
In the poller function:
void
sfl_poller_set_sFlowCpInterval (SFLPoller * poller, u_int32_t sFlowCpInterval)
{
poller->sFlowCpInterval = sFlowCpInterval;
/* Set the countersCountdown to be a randomly selected value between 1 and
sFlowCpInterval. That way the counter polling would be de
t" polling loop rather than a hard real-time
event.
+*/
+poller->countersCountdown = 1 + (random() % sFlowCpInterval);
+ }
+ else {
+/* Setting sFlowCpInterval to 0 disables counter polling altogether.
Thanks to
+ Andy Kitchingman for spotting this ommission.