Any way to find all dashboards that have broken widgets?
Hi,
Because LM bases so many things on Text searches instead of group IDs, any time something get renamed, moved, reorganized, etc, everything breaks. Is there any easy way to find any dashboards that end up broken because they're referencing something that no longer exists?
Same goes for Alert Rules that might be looking for a group that doesn't exist any more and no one knows there's a problem.
Thanks.
Kel L
Posted 1 year ago·Last reply 1 year ago
4 comments
Henry Steinhauer
·1 year agoI agree it would be nice if LM provided something since they have the DB information and have not revealed that to the users of their product.
They (LM) appear to have some smart people that have done great things with the use of the API tool. That can pull the basic data that shows what is being referenced. Now it needs to verify that those objects still exist.
Yes - it sounds like Professional Services could create this and then it could be used by all the other users of the system. Why would we each have to have Professional Services create it for us when once created, it could be used by any of the users?
Andres4381
·1 year agoReplying to say this is a big issue in our use case. Would love some notification that lists broken dashboards.
Kel L
OP1 year agoLM's official response is that they have no way of doing that and I should just manually go to every dashboard and find the ones that are broken. Or do whatever this means...
Lewis_Beard
·1 year agoI think this means, you could write a script to pull all the alert rules from the API, and then check the Group or Resource Specifications and figure out whether those Groups still exist.
And then for the dashboards, you could use the API to crawl every dashboard and widget, and do something similar.
I think the check of the alert rules would be the easier of the two.