VMware Modern Apps Community
tberchenbriter1
Contributor
Contributor
Jump to solution

Batch Creation of Dashboards

Is there a way to pragramatically create of dashboards? We have a ton of graphite dashboards, that id like to convert to Wavefront, It would be much easier if we could copy the metric, put it into a script, and import it to wavefront.

0 Kudos
1 Solution

Accepted Solutions
MikeClapperVMwa
Contributor
Contributor
Jump to solution

Hello,

Yes, it is possible to create Dashboards programmatically - here is an excerpt from the API documentation:

<<snip >>

API Categories
Wavefront supports the following API categories:

Alert - Allows all users to retrieve all active, snoozed, in-maintenance, and invalid alerts. Users with Alert Management permission can create and update alerts.

Cloud Integration - Allows all users to retrieve cloud integration data types such as those available with the AWS integration. Users with Proxy Management permission can add and remove cloud integration data types.

Dashboard - Allows all users to retrieve data about dashboards, list dashboards, and return version history. Users with Dashboard Management permission can save, create, delete, clone, undelete dashboards.

Event - Allows all users to retrieve events and tags associated with a specific event. Users with Event Management permission can create, update, and delete events. Deleting events is limited to non-system events. System events include events based on alert firings, error events, and maintenance windows.

External Link - Allows all users to navigate external links. Users with External Links Management permission can create, update, and delete external links.

<< snip >>

Note that you need Dashboard management permissions. To access the full document you can click the gear icon on a current dashboard - select "Documentation" from the menu - on the page that is produced look down the left hand menu to find "API" to find the selection for "Wavefront API" - below that you will also see a selection for setting up the Python Client.

Please let me know if you need any more information.

Best regards,

Mike Clapper

VMware Customer Success Engineer

View solution in original post

0 Kudos
3 Replies
MikeClapperVMwa
Contributor
Contributor
Jump to solution

Hello,

Yes, it is possible to create Dashboards programmatically - here is an excerpt from the API documentation:

<<snip >>

API Categories
Wavefront supports the following API categories:

Alert - Allows all users to retrieve all active, snoozed, in-maintenance, and invalid alerts. Users with Alert Management permission can create and update alerts.

Cloud Integration - Allows all users to retrieve cloud integration data types such as those available with the AWS integration. Users with Proxy Management permission can add and remove cloud integration data types.

Dashboard - Allows all users to retrieve data about dashboards, list dashboards, and return version history. Users with Dashboard Management permission can save, create, delete, clone, undelete dashboards.

Event - Allows all users to retrieve events and tags associated with a specific event. Users with Event Management permission can create, update, and delete events. Deleting events is limited to non-system events. System events include events based on alert firings, error events, and maintenance windows.

External Link - Allows all users to navigate external links. Users with External Links Management permission can create, update, and delete external links.

<< snip >>

Note that you need Dashboard management permissions. To access the full document you can click the gear icon on a current dashboard - select "Documentation" from the menu - on the page that is produced look down the left hand menu to find "API" to find the selection for "Wavefront API" - below that you will also see a selection for setting up the Python Client.

Please let me know if you need any more information.

Best regards,

Mike Clapper

VMware Customer Success Engineer

0 Kudos
tberchenbriter1
Contributor
Contributor
Jump to solution

can you send me your email, I have a response I dont want to be public.

0 Kudos
MikeClapperVMwa
Contributor
Contributor
Jump to solution

0 Kudos