Hi i have an externally update data source (rrd) and i have import it to graph using cacti, everything works good (where graph can be updated nicely.
However when i try to create a threshold using thold, it can be created but it just doesn't work, i mean it doesn't being triggered (Because it depends on polling interval, but you know externally updated data source doesn't have polling activated). Anyone have same scenario as mine but get it work properly ?
Thold on externally updated graph
Moderators: Developers, Moderators
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Thold on externally updated graph
This is not presently supported.
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Re: Thold on externally updated graph
Just considering..
(I guess) Its mechanisms:
1) If you added threshold for your external RRD, given datasource will be registered into poller's table (poller_item) and array ($rrd_update_array[])
2) But Cacti poller doesn't update such a (external) datasource
- http://forums.cacti.net/viewtopic.php?f=17&t=32438
3) So the datasource won't be registered to the list of candidate ($rrd_update_array_reindexed[]) for verifying by thold plugin
(See thold_poller_output() in 'plugins/thold/includes/polling.php')
4) Current status of the threshold won't be updated unless the datasource is not registered to the candidate list
So, if we could force to register the external datasource into $rrd_update_array_reindexed[] array, perhaps we can use threshold triggering for external RRD..
(I guess) Its mechanisms:
1) If you added threshold for your external RRD, given datasource will be registered into poller's table (poller_item) and array ($rrd_update_array[])
2) But Cacti poller doesn't update such a (external) datasource
- http://forums.cacti.net/viewtopic.php?f=17&t=32438
3) So the datasource won't be registered to the list of candidate ($rrd_update_array_reindexed[]) for verifying by thold plugin
(See thold_poller_output() in 'plugins/thold/includes/polling.php')
4) Current status of the threshold won't be updated unless the datasource is not registered to the candidate list
So, if we could force to register the external datasource into $rrd_update_array_reindexed[] array, perhaps we can use threshold triggering for external RRD..
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Thold on externally updated graph
Noname, we have to discuss you obsession with the source code. I'm going to make you a dev I thinknoname wrote:Just considering..
(I guess) Its mechanisms:
1) If you added threshold for your external RRD, given datasource will be registered into poller's table (poller_item) and array ($rrd_update_array[])
2) But Cacti poller doesn't update such a (external) datasource
- http://forums.cacti.net/viewtopic.php?f=17&t=32438
3) So the datasource won't be registered to the list of candidate ($rrd_update_array_reindexed[]) for verifying by thold plugin
(See thold_poller_output() in 'plugins/thold/includes/polling.php')
4) Current status of the threshold won't be updated unless the datasource is not registered to the candidate list
So, if we could force to register the external datasource into $rrd_update_array_reindexed[] array, perhaps we can use threshold triggering for external RRD..
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Re: Thold on externally updated graph
>> Noname, we have to discuss you obsession with the source code. I'm going to make you a dev I think
Oh! that's a bad joke!
Oh! that's a bad joke!
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Thold on externally updated graph
Ah, you got it then. Keep up the good work!
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Who is online
Users browsing this forum: No registered users and 2 guests