Forum Discussion
- Anonymous
Do you mean collecting the data from the devices or pulling the data from LM?
Pulling the data from LM.
- Anonymous
I think there's a way that you can initiate the execution of a report then fetch the data from that report, but that probably couldn't be combined into a single api call.
There's also a way to fetch the data for a dashboard widget. You'd still have to do one call per dashboard widget though.
What are you trying to accomplish? Depending on what you're trying to do, there may be more elegant solutions than API interaction.
I'm wanting to generate a report that shows server activity based upon cpu, memory, and network utilization over a given timeframe (14 days to start). Initially, the report will be used to identify servers that are underutilized and potential candidates for decommissioning.
- Anonymous
I think you should be able to accomplish this with a dashboard or a report. Both can be scheduled for delivery on a regular basis with a specified timeframe.
Is there a way to get all three (cpu, memory, and network) on a single row?
Something like this...
ServerName CPU Memory Network
serverA 10% 15% 18%
serverB 2% 8% 12%
- Anonymous
Currently, no. Each table widget can only focus on one DataSource at a time. Metrics report also won't do that. It'll make a new row for each instance. You can sort by device and sort by instance. The report option would get you all the data though, which could easily be crosstabbed in Excel/Google sheets.
Thank you Stuart for the quick replies and insight!
Related Content
- 3 months ago