Is there an iDash CLI command that will return a list of ONLY Enabled SLAs?

Document ID : KB000108612
Last Modified Date : 30/07/2018
Show Technical Document Details
Question:
Is there an iDash CLI command that will return a list of ONLY Enabled SLAs?
Answer:
There is not a CLI command that will list only enabled SLAs. However, the following query can be safely run in the iDash database to generate such a list...

select id from idash_config where type='sla' and tag='idash.sla.enabled' and value='true';

If there is a need to only list disabled SLAs, change the last value to 'false'.