-
-
Notifications
You must be signed in to change notification settings - Fork 412
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve Orphaned Data Source options and display #5371
Comments
Orphans tends to find SNMP related queries that have no index or no rrd associated with the graph. Right now, there will be a data_template_rrd associated with each of those data sources that have no graphs, et.c |
By the way, the graph numbers are for graphs and aggregate graphs. There's still a data template using those sources. |
What I've seen is that data sources with values "0 / 0" have no associated graphs and should come out as orphans correct? It would be possible to arrange also the "Graphs" column in order to have in the head the data sources with value "0 / 0" which are those that are reported in the ds stats logs as not associated with any RRD graph? thanks. |
There appears to be a difference between Graphs/Agg Graphs of 0/0, and oprhaned data sources which are data sources not associated with any template |
It's more than that. We introduced an orphan column a while ago, but did not make this query take advantage of it. I'm looking into it right now. |
This should be fixed now. |
@TheWitness now it works, but i see also data sources marked as orphaned but with working graphs: |
Re-index the device in question and see if they go away. There was a flaw that kept them orphaned even after the device recovered. Let us know. |
i have made a reindex but with no success, data source are marked as orphaned but in reality they are not. |
Log a feature request. It should be fairly easy, but before we added the orphan column, too expensive of a query. Now it's easy. |
Post the output of the verbose query... |
it say: |
Can you grab the details from the ifName, ifDesc, and ifAlias columns and post that to? Also, dump the data_local table for this host: SELECT * FROM data_local WHERE orphan=1 AND host_id=?; |
I may have to do something a bit more dramatic. But those errors should point to the solution once I have the rest of the output requested above. |
MariaDB [cacti]> SELECT * FROM data_local WHERE orphan=1 AND host_id=573; |
Sorry, one more question. What's the reindex method? |
If a device did not re-index properly and things were marked orphan, unmark them and restore poller items if those items were removed.
Okay, pull the latest |
it works now, thanks a lot. very good. |
Cool. Thanks for all the QA! |
If a device did not re-index properly and things were marked orphan, unmark them and restore poller items if those items were removed.
Hi Support,
unfortunately the flag relating to the search for orphaned data sources didn't work:

there is also the possibility to have a filter to select "deletable - yes" in order to identify quickly.
Possibly also the possibility to filter the "Graphs" value with "0 / 0" value.
thanks a lot as always. stefano.
The text was updated successfully, but these errors were encountered: