Thold patch to read step instead of using poller_interval

Support questions about the Threshold plugin

Moderators: Developers, Moderators

Post Reply
llow
Cacti User
Posts: 170
Joined: Fri Oct 05, 2007 5:34 pm

Thold patch to read step instead of using poller_interval

Post by llow »

This will fix problems where you have a data_source with a different step than your polling_interval.

I haven't had a chance to review the full thold code yet so it might be better to pass this to get_current_value instead of querying it within the function.
Attachments
thold-usestep.patch
(969 Bytes) Downloaded 194 times
kelbyc
Cacti User
Posts: 52
Joined: Mon Nov 28, 2005 8:50 am

Post by kelbyc »

Can you explain a litle more as to what this patch resolves? Since it wasn't posted near any other related posts I'm not sure if it addresses the problem I'm having with mismatched values or not.
llow
Cacti User
Posts: 170
Joined: Fri Oct 05, 2007 5:34 pm

Post by llow »

If you are running the poller every minute but have data sources that are ran every 5 minutes this will fix the 5 minute data sources from returning no data.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest