Hi,
We have designed a custom plugin using Plugin Architecture 0.8.7h (v3.0). This plugin intercepts the data from poller_output table and stores it into our local database. Normally the poller_output table gets emptied in fractions of milliseconds after each polling cycle.
The issue we see is that once we enable our custom plugin, poller_output table is not getting emptied at all and the graphs are not refreshed. Once, we disable the custom plugin, everything works fine.
Another thing we observed is that this issue is only happening when we have more than one data sources active in our CACTI GUI. If there is only one data source being monitored, then everything works normally and data is getting deleted from poller_output table immediately.
Does anyone know why this is happening?
Many thanks in advance.
Niti
Data not being deleted from poller_output table
Moderators: Developers, Moderators
-
- Posts: 6
- Joined: Tue Jan 24, 2012 5:35 am
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: Data not being deleted from poller_output table
We need more information about e.g. the hooks you're using.
Sometimes, a hook function has to pass data back to the next hook in sequence (it is possible, that more than one plugin uses the same hook).
R.
Sometimes, a hook function has to pass data back to the next hook in sequence (it is possible, that more than one plugin uses the same hook).
R.
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: Data not being deleted from poller_output table
During a reent investigation of the "poller_output table not empty" issue, I found:
- that related data sources are always related to a Data Query
- all data sources that I found were broken in either
- the related data template had not checked "Index Type", "Index Value", "Output Type ID" and hence an SQL returned wrong results
(e.g. my "old" tenplate for "Alteon Loadbalancers" shows such an issue
- or data template was fine, but there was no (correct) data for those fields entered on the data source
(e.g. a hrStorage ds had no correct indexes given in it's data source)
After fixing those errors, all was fine again.
R.
- that related data sources are always related to a Data Query
- all data sources that I found were broken in either
- the related data template had not checked "Index Type", "Index Value", "Output Type ID" and hence an SQL returned wrong results
(e.g. my "old" tenplate for "Alteon Loadbalancers" shows such an issue
- or data template was fine, but there was no (correct) data for those fields entered on the data source
(e.g. a hrStorage ds had no correct indexes given in it's data source)
After fixing those errors, all was fine again.
R.
Who is online
Users browsing this forum: No registered users and 0 guests