ServiceNow Grafana Plugin
Table of Content
Change Notes
Breaking changes are distinguised by this symbol: ๐ง
- V1.1.2
- Added ability to fire UI Actions
- Datasource config settings modified ๐ง (You will see updated instructions inside the datasource)
- v1.1.1
- Added limit field to generic variable query
- Added global image variable. Set it's value inside the datasource settings
- v1.1.0
- Fixed bug in Sysparam Query field where AND/OR selection had no default ๐ง
Supported ServiceNow Versions
- Rome
- Quebec
- Paris
Datasource Instructions
- Enter the url of your ServiceNow instance with the api included
Ex. https://<instance_name>.service-now.com/api/snc/grafana_api - Toggle on the 'Basic Auth' & 'With Credentials' switches
- Enter your username and password for the ServiceNow instance
- Click on 'Save & Test' at the bottom to ensure a working connection
Variables
There are 2 important fields when creating a new dashboard variable. Namespace and Query
Namespace | Query Description | Query | Query Fields | Field Seperator |
---|---|---|---|---|
metric_names | Retrieves a list of all metrics for the given ci(s) | a20ce336db42b010d41e9fd2ca96199e |
|
, |
golden_metric_names | Retrieves a list of KPIs for the given ci(s) | a20ce336db42b010d41e9fd2ca96199e |
|
, |
custom_kpis | Retrieves a list of Preset KPIs for the given ci(s). Results will vary based on CI Class | a20ce336db42b010d41e9fd2ca96199e |
|
, |
generic | Create your own custom list based on the table, columns, and sysparam provided. The first column field will determine the display value users see and the second column is the actual value used in the list. If you need to force a column to be read as display value add suffix :d and for actual value add suffix :v . Learn more about Display vs Actual values hereFYI dotwalking will only work if you use the :d suffix |
em_alert||group_source||group_source||state!=Closed||1000 |
|
|| |
nested_cis | Retrieves the nested/related CIs that are shown in the topology panel. Values should match your topology query for best results. | 4577fd32db1627002ef1400e0b961921||1||1||parent.sys_class_nameNOT INsn_agent_cmdb_ci_agent |
|
|| |
nested_classes | Retrieves the Classes of all nested/related CIs that are shown in the topology panel. Values should match your topology query for best results. | 4577fd32db1627002ef1400e0b961921||1||1||parent.sys_class_nameNOT INsn_agent_cmdb_ci_agent |
|
|| |