2912 lines
120 KiB
YAML
2912 lines
120 KiB
YAML
zabbix_export:
|
|
version: '7.0'
|
|
template_groups:
|
|
- uuid: c2c162144c2d4c5491c8801193af4945
|
|
name: Templates/Cloud
|
|
host_groups:
|
|
- uuid: a571c0d144b14fd4a87a9d9b2aa9fcd6
|
|
name: Applications
|
|
- uuid: 748ad4d098d447d492bb935c907f652f
|
|
name: Databases
|
|
- uuid: 137f19e6e2dc4219b33553b812627bc2
|
|
name: 'Virtual machines'
|
|
templates:
|
|
- uuid: fa58228fee8a4e34a7c6503950d1c615
|
|
template: 'Azure by HTTP'
|
|
name: 'Azure by HTTP'
|
|
description: |
|
|
This template is designed to monitor Microsoft Azure by HTTP.
|
|
It works without any external scripts and uses the script item.
|
|
Currently the template supports the discovery of virtual machines (VMs), Cosmos DB for MongoDB, storage accounts, Microsoft SQL, MySQL, and PostgreSQL servers.
|
|
|
|
Setup:
|
|
1. Create an Azure service principal via the Azure command-line interface (Azure CLI) for your subscription.
|
|
`az ad sp create-for-rbac --name zabbix --role reader --scope /subscriptions/<subscription_id>`
|
|
See https://docs.microsoft.com/en-us/cli/azure/create-an-azure-service-principal-azure-cli for more details.
|
|
2. Link the template to a host.
|
|
3. Configure the macros: `{$AZURE.APP.ID}`, `{$AZURE.PASSWORD}`, `{$AZURE.TENANT.ID}`, and `{$AZURE.SUBSCRIPTION.ID}`.
|
|
|
|
You can discuss this template or leave feedback on our forum https://www.zabbix.com/forum/zabbix-suggestions-and-feedback/.
|
|
|
|
Generated by official Zabbix template tool "Templator"
|
|
vendor:
|
|
name: Zabbix
|
|
version: 7.0-7
|
|
groups:
|
|
- name: Templates/Cloud
|
|
items:
|
|
- uuid: 7b2fe9a7ee164718933eb456b0068fea
|
|
name: 'Get errors'
|
|
type: DEPENDENT
|
|
key: azure.get.errors
|
|
delay: '0'
|
|
value_type: TEXT
|
|
trends: '0'
|
|
description: 'A list of errors from API requests.'
|
|
preprocessing:
|
|
- type: JSONPATH
|
|
parameters:
|
|
- $.errors
|
|
- type: DISCARD_UNCHANGED_HEARTBEAT
|
|
parameters:
|
|
- 1h
|
|
master_item:
|
|
key: azure.get.resources
|
|
tags:
|
|
- tag: component
|
|
value: raw
|
|
triggers:
|
|
- uuid: 502cb582546046a29267715763c46bff
|
|
expression: 'length(last(/Azure by HTTP/azure.get.errors))>0'
|
|
name: 'Azure: There are errors in requests to API'
|
|
opdata: '{ITEM.LASTVALUE1}'
|
|
priority: AVERAGE
|
|
description: 'Zabbix has received errors in response to API requests.'
|
|
tags:
|
|
- tag: scope
|
|
value: availability
|
|
- uuid: fb6abf3631b240b08357ea9ce9ba89a4
|
|
name: 'Get resources'
|
|
type: SCRIPT
|
|
key: azure.get.resources
|
|
delay: 10m
|
|
history: '0'
|
|
value_type: TEXT
|
|
trends: '0'
|
|
params: |
|
|
const CTlsConfig = function (raw_value) {
|
|
raw_value = String(raw_value).trim().toLowerCase();
|
|
|
|
if (['none', 'peer', 'full'].indexOf(raw_value) === -1) {
|
|
raw_value = 'full';
|
|
}
|
|
|
|
this.options = {
|
|
SSLVerifyPeer: (raw_value === 'peer' || raw_value === 'full'),
|
|
SSLVerifyHost: (raw_value === 'full')
|
|
};
|
|
|
|
this.enabled = (raw_value !== 'none');
|
|
|
|
this.checkURL = function (url) {
|
|
if (this.enabled && !/^https:\/\//i.test(url)) {
|
|
throw 'TLS certificate verification is enabled by {$' + 'HTTP.TLS.VERIFY}, but the URL uses plain HTTP: ' + url +
|
|
'. Use an "https://" URL, or set {$' + 'HTTP.TLS.VERIFY} to `none` to disable verification.';
|
|
}
|
|
|
|
return url;
|
|
};
|
|
}
|
|
|
|
|
|
var Azure = {
|
|
params: {},
|
|
token: null,
|
|
|
|
setParams: function (params) {
|
|
['app_id', 'password', 'tenant_id', 'subscription_id'].forEach(function (field) {
|
|
if (typeof params !== 'object' || typeof params[field] === 'undefined' || params[field] === '') {
|
|
throw 'Required param is not set: ' + field + '.';
|
|
}
|
|
});
|
|
|
|
Azure.params = params;
|
|
Azure.tls = new CTlsConfig(params.tls_verify);
|
|
},
|
|
|
|
request: function (url, data) {
|
|
if (typeof data === 'undefined' || data === null) {
|
|
data = '';
|
|
}
|
|
var response, request = new HttpRequest(Azure.tls.options);
|
|
if (typeof Azure.params.proxy !== 'undefined' && Azure.params.proxy !== '') {
|
|
request.setProxy(Azure.params.proxy);
|
|
}
|
|
if (Azure.token) {
|
|
request.addHeader('Accept: application/json');
|
|
request.addHeader('Authorization: Bearer ' + Azure.token);
|
|
}
|
|
|
|
Zabbix.log(4, '[ Azure ] Sending request: ' + url);
|
|
|
|
if (data !== '') {
|
|
request.addHeader('Content-Type: application/x-www-form-urlencoded');
|
|
response = request.post(url, data);
|
|
}
|
|
else {
|
|
response = request.get(url);
|
|
}
|
|
|
|
Zabbix.log(4, '[ Azure ] Received response with status code ' + request.getStatus() + ': ' + response);
|
|
|
|
if (request.getStatus() !== 200 || response === null) {
|
|
throw 'Request failed with status code ' + request.getStatus() + ': ' + response;
|
|
}
|
|
|
|
try {
|
|
return JSON.parse(response);
|
|
}
|
|
catch (error) {
|
|
throw 'Failed to parse response received from API.';
|
|
}
|
|
},
|
|
|
|
nextlink: function (data) {
|
|
next_data = data;
|
|
while ('nextLink' in next_data) {
|
|
next_data = Azure.request(next_data.nextLink);
|
|
next_data.value.forEach(function (value) {
|
|
data.value.push(value);
|
|
});
|
|
}
|
|
|
|
return data;
|
|
}
|
|
};
|
|
|
|
var result,
|
|
data = {},
|
|
types = [
|
|
{"method": "Microsoft.Compute/virtualMachines", "version": "2022-03-01"},
|
|
{"method": "Microsoft.DBforMySQL/flexibleServers", "version": "2021-05-01"},
|
|
{"method": "Microsoft.DBforMySQL/servers", "version": "2017-12-01"},
|
|
{"method": "Microsoft.DBforPostgreSQL/flexibleServers", "version": "2021-06-01"},
|
|
{"method": "Microsoft.DBforPostgreSQL/servers", "version": "2017-12-01"},
|
|
{"method": "Microsoft.Sql/servers", "version": "2022-05-01-preview"},
|
|
{"method": "Microsoft.DocumentDB/databaseAccounts", "version": "2022-11-15-preview"},
|
|
{"method": "Microsoft.Compute/virtualMachineScaleSets", "version": "2024-03-01"},
|
|
{"method": "Microsoft.Sql/managedInstances", "version": "2024-05-01-preview"},
|
|
{"method": "Microsoft.DataProtection/backupVaults", "version": "2025-01-01"},
|
|
{"method": "Microsoft.RecoveryServices/vaults", "version": "2025-02-28-preview"}
|
|
];
|
|
data['errors'] = {},
|
|
data['resources'] = {};
|
|
data.resources.value = [];
|
|
|
|
try {
|
|
Azure.setParams(JSON.parse(value));
|
|
|
|
try {
|
|
result = Azure.request(
|
|
'https://login.microsoftonline.com/' + encodeURIComponent(Azure.params.tenant_id) + '/oauth2/token',
|
|
'grant_type=client_credentials&resource=' + encodeURIComponent('https://management.azure.com/') + '&client_id=' + encodeURIComponent(Azure.params.app_id) + '&client_secret=' + encodeURIComponent(Azure.params.password)
|
|
);
|
|
|
|
if ('access_token' in result) {
|
|
Azure.token = result['access_token'];
|
|
} else {
|
|
throw 'Auth response does not contain access token.';
|
|
}
|
|
}
|
|
catch (error) {
|
|
data.errors.auth = error.toString();
|
|
}
|
|
|
|
if (!('auth' in data.errors)) {
|
|
try {
|
|
for (var i in types) {
|
|
if (types[i].method === "Microsoft.Sql/servers") {
|
|
mssql_servers = Azure.request('https://management.azure.com/subscriptions/' + encodeURIComponent(Azure.params.subscription_id) + '/providers/' + types[i].method + '?api-version=' + types[i].version);
|
|
|
|
if ('nextLink' in mssql_servers) {
|
|
mssql_servers = Azure.nextlink(mssql_servers);
|
|
}
|
|
|
|
if ('value' in mssql_servers && mssql_servers.value.length > 0) {
|
|
for (j in mssql_servers.value) {
|
|
mssql_dbs = Azure.request('https://management.azure.com' + mssql_servers.value[j].id + '/databases?api-version=' + types[i].version);
|
|
|
|
if ('nextLink' in mssql_dbs) {
|
|
mssql_dbs = Azure.nextlink(mssql_dbs);
|
|
}
|
|
|
|
mssql_dbs.value.forEach(function (value) {
|
|
raw_data.value.push(value);
|
|
});
|
|
}
|
|
}
|
|
}
|
|
else {
|
|
raw_data = Azure.request('https://management.azure.com/subscriptions/' + encodeURIComponent(Azure.params.subscription_id) + '/providers/' + types[i].method + '?api-version=' + types[i].version);
|
|
|
|
if ('nextLink' in raw_data) {
|
|
raw_data = Azure.nextlink(raw_data);
|
|
}
|
|
}
|
|
|
|
raw_data.value.forEach(function (value) {
|
|
value.resourceGroup = value.id.split("/")[4];
|
|
data.resources.value.push(value);
|
|
});
|
|
}
|
|
}
|
|
catch (error) {
|
|
data.errors.resources = error.toString();
|
|
}
|
|
}
|
|
}
|
|
catch (error) {
|
|
data.errors.params = error.toString();
|
|
}
|
|
|
|
if (Object.keys(data.errors).length !== 0) {
|
|
errors = 'Failed to receive data:';
|
|
for (var error in data.errors) {
|
|
errors += '\n' + error + ' : ' + data.errors[error];
|
|
}
|
|
data.errors = errors;
|
|
}
|
|
else {
|
|
data.errors = '';
|
|
}
|
|
|
|
return JSON.stringify(data);
|
|
description: 'The result of API requests is expressed in the JSON.'
|
|
timeout: '{$AZURE.DATA.TIMEOUT}'
|
|
parameters:
|
|
- name: app_id
|
|
value: '{$AZURE.APP.ID}'
|
|
- name: password
|
|
value: '{$AZURE.PASSWORD}'
|
|
- name: proxy
|
|
value: '{$AZURE.PROXY}'
|
|
- name: subscription_id
|
|
value: '{$AZURE.SUBSCRIPTION.ID}'
|
|
- name: tenant_id
|
|
value: '{$AZURE.TENANT.ID}'
|
|
- name: tls_verify
|
|
value: '{$HTTP.TLS.VERIFY:"Azure"}'
|
|
tags:
|
|
- tag: component
|
|
value: raw
|
|
- uuid: 91b2290d65b949ad9ea801763c35cf40
|
|
name: 'Get storage accounts'
|
|
type: SCRIPT
|
|
key: azure.get.storage.acc
|
|
delay: 10m
|
|
history: '0'
|
|
value_type: TEXT
|
|
trends: '0'
|
|
params: |
|
|
const CTlsConfig = function (raw_value) {
|
|
raw_value = String(raw_value).trim().toLowerCase();
|
|
|
|
if (['none', 'peer', 'full'].indexOf(raw_value) === -1) {
|
|
raw_value = 'full';
|
|
}
|
|
|
|
this.options = {
|
|
SSLVerifyPeer: (raw_value === 'peer' || raw_value === 'full'),
|
|
SSLVerifyHost: (raw_value === 'full')
|
|
};
|
|
|
|
this.enabled = (raw_value !== 'none');
|
|
|
|
this.checkURL = function (url) {
|
|
if (this.enabled && !/^https:\/\//i.test(url)) {
|
|
throw 'TLS certificate verification is enabled by {$' + 'HTTP.TLS.VERIFY}, but the URL uses plain HTTP: ' + url +
|
|
'. Use an "https://" URL, or set {$' + 'HTTP.TLS.VERIFY} to `none` to disable verification.';
|
|
}
|
|
|
|
return url;
|
|
};
|
|
}
|
|
|
|
|
|
var Azure = {
|
|
params: {},
|
|
token: '',
|
|
|
|
setParams: function (params) {
|
|
['app_id', 'password', 'tenant_id', 'subscription_id'].forEach(function (field) {
|
|
if (typeof params !== 'object' || typeof params[field] === 'undefined' || params[field] === '') {
|
|
throw 'Required param is not set: ' + field + '.';
|
|
}
|
|
});
|
|
|
|
Azure.params = params;
|
|
Azure.tls = new CTlsConfig(params.tls_verify);
|
|
},
|
|
|
|
login: function () {
|
|
var response, login = new HttpRequest(Azure.tls.options);
|
|
if (typeof Azure.params.proxy !== 'undefined' && Azure.params.proxy !== '') {
|
|
login.setProxy(Azure.params.proxy);
|
|
}
|
|
login.addHeader('Content-Type: application/x-www-form-urlencoded');
|
|
response = login.post(
|
|
'https://login.microsoftonline.com/' + encodeURIComponent(Azure.params.tenant_id) + '/oauth2/token',
|
|
'grant_type=client_credentials&resource=' + encodeURIComponent('https://management.azure.com/') + '&client_id=' + encodeURIComponent(Azure.params.app_id) + '&client_secret=' + encodeURIComponent(Azure.params.password)
|
|
);
|
|
|
|
if (login.getStatus() !== 200) {
|
|
throw 'Login failed with status code ' + login.getStatus() + ': ' + response;
|
|
}
|
|
try {
|
|
response = JSON.parse(response);
|
|
if (!response.hasOwnProperty('access_token')) {
|
|
throw null;
|
|
}
|
|
}
|
|
catch (error) {
|
|
throw 'Authentication response does not contain access token.';
|
|
}
|
|
|
|
Azure.token = response['access_token'];
|
|
},
|
|
|
|
request: function (url) {
|
|
var response, request = new HttpRequest(Azure.tls.options);
|
|
if (typeof Azure.params.proxy !== 'undefined' && Azure.params.proxy !== '') {
|
|
request.setProxy(Azure.params.proxy);
|
|
}
|
|
if (!Azure.token) {
|
|
throw 'Request does not contain access token.';
|
|
}
|
|
request.addHeader('Accept: application/json');
|
|
request.addHeader('Authorization: Bearer ' + Azure.token);
|
|
response = request.get(url);
|
|
|
|
if (request.getStatus() !== 200) {
|
|
throw 'Request failed with status code ' + request.getStatus() + ': ' + response;
|
|
}
|
|
try {
|
|
return JSON.parse(response);
|
|
}
|
|
catch (error) {
|
|
throw 'Failed to parse response received from API.';
|
|
}
|
|
},
|
|
|
|
getField: function (data, path) {
|
|
var steps = path.split('.');
|
|
for (var i = 0; i < steps.length; i++) {
|
|
var step = steps[i];
|
|
if (typeof data !== 'object' || typeof data[step] === 'undefined') {
|
|
throw 'Required field was not found: ' + path;
|
|
}
|
|
|
|
data = data[step];
|
|
}
|
|
|
|
return data;
|
|
},
|
|
|
|
getMetricsData: function () {
|
|
var metric = Azure.request('https://management.azure.com/subscriptions/' + encodeURIComponent(Azure.params.subscription_id) + '/providers/Microsoft.Storage/storageAccounts?api-version=2021-05-01'),
|
|
data = [];
|
|
|
|
if (!metric.hasOwnProperty('value')) {
|
|
throw 'Failed getting required field. Check debug log for more information.';
|
|
}
|
|
for (k in metric.value) {
|
|
id = Azure.getField(metric.value[k], 'id');
|
|
json = {};
|
|
input = id.split('/');
|
|
for (var i = 1; i < input.length; i += 2) {
|
|
json[input[i]] = input[i + 1];
|
|
}
|
|
data.push({
|
|
'name': Azure.getField(metric.value[k], 'name'),
|
|
'id': id,
|
|
'resourceGroup': Azure.getField(json, 'resourceGroups'),
|
|
'location': Azure.getField(metric.value[k], 'location'),
|
|
'token': Azure.token
|
|
});
|
|
}
|
|
|
|
return data;
|
|
}
|
|
};
|
|
|
|
try {
|
|
Azure.setParams(JSON.parse(value));
|
|
Azure.login();
|
|
return JSON.stringify(Azure.getMetricsData());
|
|
}
|
|
catch (error) {
|
|
error += (String(error).endsWith('.')) ? '' : '.';
|
|
Zabbix.log(3, '[ Azure ] ERROR: ' + error);
|
|
return JSON.stringify({'error': error});
|
|
}
|
|
description: 'The result of API requests is expressed in the JSON.'
|
|
timeout: '{$AZURE.DATA.TIMEOUT}'
|
|
parameters:
|
|
- name: app_id
|
|
value: '{$AZURE.APP.ID}'
|
|
- name: password
|
|
value: '{$AZURE.PASSWORD}'
|
|
- name: proxy
|
|
value: '{$AZURE.PROXY}'
|
|
- name: subscription_id
|
|
value: '{$AZURE.SUBSCRIPTION.ID}'
|
|
- name: tenant_id
|
|
value: '{$AZURE.TENANT.ID}'
|
|
- name: tls_verify
|
|
value: '{$HTTP.TLS.VERIFY:"Azure"}'
|
|
tags:
|
|
- tag: component
|
|
value: raw
|
|
- uuid: 2e425a9ef8d34ea68f7998ceed30ebc4
|
|
name: 'Get storage accounts errors'
|
|
type: DEPENDENT
|
|
key: azure.get.storage.acc.errors
|
|
delay: '0'
|
|
value_type: TEXT
|
|
trends: '0'
|
|
description: 'The errors from API requests.'
|
|
preprocessing:
|
|
- type: JSONPATH
|
|
parameters:
|
|
- $.error
|
|
error_handler: CUSTOM_VALUE
|
|
- type: DISCARD_UNCHANGED_HEARTBEAT
|
|
parameters:
|
|
- 1h
|
|
master_item:
|
|
key: azure.get.storage.acc
|
|
tags:
|
|
- tag: component
|
|
value: status
|
|
triggers:
|
|
- uuid: 253f0835cd134d2591bb2be1b9dc9b29
|
|
expression: 'length(last(/Azure by HTTP/azure.get.storage.acc.errors))>0'
|
|
name: 'Azure: There are errors in storages requests to API'
|
|
opdata: '{ITEM.LASTVALUE1}'
|
|
priority: AVERAGE
|
|
description: 'Zabbix has received errors in response to API requests.'
|
|
dependencies:
|
|
- name: 'Azure: There are errors in requests to API'
|
|
expression: 'length(last(/Azure by HTTP/azure.get.errors))>0'
|
|
tags:
|
|
- tag: scope
|
|
value: availability
|
|
discovery_rules:
|
|
- uuid: 3bfbfc8d770a4c77a17d62aaebb55e64
|
|
name: 'Cosmos DB account discovery'
|
|
type: DEPENDENT
|
|
key: azure.cosmos.mongo.db.discovery
|
|
delay: '0'
|
|
filter:
|
|
evaltype: AND
|
|
conditions:
|
|
- macro: '{#GROUP}'
|
|
value: '{$AZURE.RESOURCE.GROUP.MATCHES}'
|
|
formulaid: A
|
|
- macro: '{#GROUP}'
|
|
value: '{$AZURE.RESOURCE.GROUP.NOT.MATCHES}'
|
|
operator: NOT_MATCHES_REGEX
|
|
formulaid: B
|
|
- macro: '{#LOCATION}'
|
|
value: '{$AZURE.COSMOS.MONGO.DB.LOCATION.MATCHES}'
|
|
formulaid: C
|
|
- macro: '{#LOCATION}'
|
|
value: '{$AZURE.COSMOS.MONGO.DB.LOCATION.NOT.MATCHES}'
|
|
operator: NOT_MATCHES_REGEX
|
|
formulaid: D
|
|
- macro: '{#NAME}'
|
|
value: '{$AZURE.COSMOS.MONGO.DB.NAME.MATCHES}'
|
|
formulaid: E
|
|
- macro: '{#NAME}'
|
|
value: '{$AZURE.COSMOS.MONGO.DB.NAME.NOT.MATCHES}'
|
|
operator: NOT_MATCHES_REGEX
|
|
formulaid: F
|
|
- macro: '{#TYPE}'
|
|
value: ^Microsoft.DocumentDB/databaseAccounts
|
|
formulaid: G
|
|
description: 'The list of Cosmos databases provided by the subscription.'
|
|
host_prototypes:
|
|
- uuid: 16eec30e921e4627b3599b4d06e48072
|
|
host: 'Azure Cosmos DB {#NAME}'
|
|
name: 'Azure Cosmos DB {#NAME}'
|
|
group_links:
|
|
- group:
|
|
name: Databases
|
|
macros:
|
|
- macro: '{$AZURE.RESOURCE.ID}'
|
|
value: '{#ID}'
|
|
description: 'Microsoft Azure resource ID.'
|
|
tags:
|
|
- tag: location
|
|
value: '{#LOCATION}'
|
|
- tag: resource-group
|
|
value: '{#GROUP}'
|
|
- tag: version
|
|
value: '{#VERSION}'
|
|
master_item:
|
|
key: azure.get.resources
|
|
lld_macro_paths:
|
|
- lld_macro: '{#GROUP}'
|
|
path: $.resourceGroup
|
|
- lld_macro: '{#ID}'
|
|
path: $.id
|
|
- lld_macro: '{#LOCATION}'
|
|
path: $.location
|
|
- lld_macro: '{#NAME}'
|
|
path: $.name
|
|
- lld_macro: '{#TYPE}'
|
|
path: $.type
|
|
- lld_macro: '{#VERSION}'
|
|
path: $.kind
|
|
preprocessing:
|
|
- type: JSONPATH
|
|
parameters:
|
|
- $.resources.value
|
|
- type: DISCARD_UNCHANGED_HEARTBEAT
|
|
parameters:
|
|
- 6h
|
|
overrides:
|
|
- name: MongoDB
|
|
step: '1'
|
|
filter:
|
|
conditions:
|
|
- macro: '{#VERSION}'
|
|
value: ^MongoDB$
|
|
formulaid: A
|
|
operations:
|
|
- operationobject: HOST_PROTOTYPE
|
|
operator: REGEXP
|
|
templates:
|
|
- name: 'Azure Cosmos DB for MongoDB by HTTP'
|
|
- uuid: c875a410ddd84ccfbc5b407cd6e34803
|
|
name: 'Microsoft SQL databases discovery'
|
|
type: DEPENDENT
|
|
key: azure.mssql.databases.discovery
|
|
delay: '0'
|
|
filter:
|
|
evaltype: AND
|
|
conditions:
|
|
- macro: '{#GROUP}'
|
|
value: '{$AZURE.RESOURCE.GROUP.MATCHES}'
|
|
formulaid: A
|
|
- macro: '{#GROUP}'
|
|
value: '{$AZURE.RESOURCE.GROUP.NOT.MATCHES}'
|
|
operator: NOT_MATCHES_REGEX
|
|
formulaid: B
|
|
- macro: '{#LOCATION}'
|
|
value: '{$AZURE.MSSQL.DB.LOCATION.MATCHES}'
|
|
formulaid: C
|
|
- macro: '{#LOCATION}'
|
|
value: '{$AZURE.MSSQL.DB.LOCATION.NOT.MATCHES}'
|
|
operator: NOT_MATCHES_REGEX
|
|
formulaid: D
|
|
- macro: '{#NAME}'
|
|
value: '{$AZURE.MSSQL.DB.NAME.MATCHES}'
|
|
formulaid: E
|
|
- macro: '{#NAME}'
|
|
value: '{$AZURE.MSSQL.DB.NAME.NOT.MATCHES}'
|
|
operator: NOT_MATCHES_REGEX
|
|
formulaid: F
|
|
- macro: '{#SIZE}'
|
|
value: '{$AZURE.MSSQL.DB.SIZE.NOT.MATCHES}'
|
|
operator: NOT_MATCHES_REGEX
|
|
formulaid: G
|
|
- macro: '{#TYPE}'
|
|
value: ^Microsoft.Sql/servers/databases
|
|
formulaid: H
|
|
description: 'The list of Microsoft SQL databases provided by the subscription.'
|
|
host_prototypes:
|
|
- uuid: 2aaf7dc7e9f04ccf9dd91fcd803fa076
|
|
host: 'Azure Microsoft SQL database {#NAME}'
|
|
name: 'Azure Microsoft SQL database {#NAME}'
|
|
group_links:
|
|
- group:
|
|
name: Databases
|
|
macros:
|
|
- macro: '{$AZURE.RESOURCE.ID}'
|
|
value: '{#ID}'
|
|
description: 'Microsoft Azure resource ID.'
|
|
tags:
|
|
- tag: location
|
|
value: '{#LOCATION}'
|
|
- tag: resource-group
|
|
value: '{#GROUP}'
|
|
- tag: size
|
|
value: '{#SIZE}'
|
|
- tag: version
|
|
value: '{#VERSION}'
|
|
master_item:
|
|
key: azure.get.resources
|
|
lld_macro_paths:
|
|
- lld_macro: '{#GROUP}'
|
|
path: $.resourceGroup
|
|
- lld_macro: '{#ID}'
|
|
path: $.id
|
|
- lld_macro: '{#LOCATION}'
|
|
path: $.location
|
|
- lld_macro: '{#NAME}'
|
|
path: $.name
|
|
- lld_macro: '{#SIZE}'
|
|
path: $.sku.name
|
|
- lld_macro: '{#TYPE}'
|
|
path: $.type
|
|
- lld_macro: '{#VERSION}'
|
|
path: $.kind
|
|
preprocessing:
|
|
- type: JSONPATH
|
|
parameters:
|
|
- $.resources.value
|
|
- type: DISCARD_UNCHANGED_HEARTBEAT
|
|
parameters:
|
|
- 6h
|
|
overrides:
|
|
- name: Serverless
|
|
step: '1'
|
|
filter:
|
|
conditions:
|
|
- macro: '{#VERSION}'
|
|
value: '^(?=.*serverless)(?=.*vcore).*$'
|
|
formulaid: A
|
|
operations:
|
|
- operationobject: HOST_PROTOTYPE
|
|
operator: REGEXP
|
|
templates:
|
|
- name: 'Azure Microsoft SQL Serverless Database by HTTP'
|
|
- name: Server
|
|
step: '2'
|
|
filter:
|
|
conditions:
|
|
- macro: '{#VERSION}'
|
|
value: '^(?!.*serverless)(?=.*vcore).*$'
|
|
formulaid: A
|
|
operations:
|
|
- operationobject: HOST_PROTOTYPE
|
|
operator: REGEXP
|
|
templates:
|
|
- name: 'Azure Microsoft SQL Database by HTTP'
|
|
- name: DTU-based
|
|
step: '3'
|
|
filter:
|
|
conditions:
|
|
- macro: '{#VERSION}'
|
|
value: '^(?!.*serverless)(?!.*vcore).*$'
|
|
formulaid: A
|
|
operations:
|
|
- operationobject: HOST_PROTOTYPE
|
|
operator: REGEXP
|
|
templates:
|
|
- name: 'Azure Microsoft SQL DTU Database by HTTP'
|
|
- uuid: 7fafbef68f8b46d083eb43da7cd1e2cc
|
|
name: 'MySQL servers discovery'
|
|
type: DEPENDENT
|
|
key: azure.mysql.servers.discovery
|
|
delay: '0'
|
|
filter:
|
|
evaltype: AND
|
|
conditions:
|
|
- macro: '{#GROUP}'
|
|
value: '{$AZURE.RESOURCE.GROUP.MATCHES}'
|
|
formulaid: A
|
|
- macro: '{#GROUP}'
|
|
value: '{$AZURE.RESOURCE.GROUP.NOT.MATCHES}'
|
|
operator: NOT_MATCHES_REGEX
|
|
formulaid: B
|
|
- macro: '{#LOCATION}'
|
|
value: '{$AZURE.MYSQL.DB.LOCATION.MATCHES}'
|
|
formulaid: C
|
|
- macro: '{#LOCATION}'
|
|
value: '{$AZURE.MYSQL.DB.LOCATION.NOT.MATCHES}'
|
|
operator: NOT_MATCHES_REGEX
|
|
formulaid: D
|
|
- macro: '{#NAME}'
|
|
value: '{$AZURE.MYSQL.DB.NAME.MATCHES}'
|
|
formulaid: E
|
|
- macro: '{#NAME}'
|
|
value: '{$AZURE.MYSQL.DB.NAME.NOT.MATCHES}'
|
|
operator: NOT_MATCHES_REGEX
|
|
formulaid: F
|
|
- macro: '{#TYPE}'
|
|
value: ^Microsoft.DBforMySQL
|
|
formulaid: G
|
|
description: 'The list of MySQL servers provided by the subscription.'
|
|
host_prototypes:
|
|
- uuid: 55b87078c14c4561b53e64af5ed77d61
|
|
host: 'Azure MySQL server {#NAME}'
|
|
name: 'Azure MySQL server {#NAME}'
|
|
group_links:
|
|
- group:
|
|
name: Databases
|
|
macros:
|
|
- macro: '{$AZURE.RESOURCE.ID}'
|
|
value: '{#ID}'
|
|
description: 'Microsoft Azure resource ID.'
|
|
tags:
|
|
- tag: location
|
|
value: '{#LOCATION}'
|
|
- tag: resource-group
|
|
value: '{#GROUP}'
|
|
- tag: size
|
|
value: '{#SIZE}'
|
|
- tag: version
|
|
value: '{#VERSION}'
|
|
master_item:
|
|
key: azure.get.resources
|
|
lld_macro_paths:
|
|
- lld_macro: '{#GROUP}'
|
|
path: $.resourceGroup
|
|
- lld_macro: '{#ID}'
|
|
path: $.id
|
|
- lld_macro: '{#LOCATION}'
|
|
path: $.location
|
|
- lld_macro: '{#NAME}'
|
|
path: $.name
|
|
- lld_macro: '{#SIZE}'
|
|
path: $.sku.name
|
|
- lld_macro: '{#TYPE}'
|
|
path: $.type
|
|
- lld_macro: '{#VERSION}'
|
|
path: $.properties.version
|
|
preprocessing:
|
|
- type: JSONPATH
|
|
parameters:
|
|
- $.resources.value
|
|
- type: DISCARD_UNCHANGED_HEARTBEAT
|
|
parameters:
|
|
- 6h
|
|
overrides:
|
|
- name: 'Flexible server'
|
|
step: '1'
|
|
filter:
|
|
conditions:
|
|
- macro: '{#TYPE}'
|
|
value: Microsoft.DBforMySQL/flexibleServers
|
|
formulaid: A
|
|
operations:
|
|
- operationobject: HOST_PROTOTYPE
|
|
operator: REGEXP
|
|
templates:
|
|
- name: 'Azure MySQL Flexible Server by HTTP'
|
|
- name: 'Single server'
|
|
step: '2'
|
|
filter:
|
|
conditions:
|
|
- macro: '{#TYPE}'
|
|
value: Microsoft.DBforMySQL/servers
|
|
formulaid: A
|
|
operations:
|
|
- operationobject: HOST_PROTOTYPE
|
|
operator: REGEXP
|
|
templates:
|
|
- name: 'Azure MySQL Single Server by HTTP'
|
|
- uuid: a4b35b5fe8c04b52a9640f2f41013230
|
|
name: 'PostgreSQL servers discovery'
|
|
type: DEPENDENT
|
|
key: azure.pgsql.servers.discovery
|
|
delay: '0'
|
|
filter:
|
|
evaltype: AND
|
|
conditions:
|
|
- macro: '{#GROUP}'
|
|
value: '{$AZURE.RESOURCE.GROUP.MATCHES}'
|
|
formulaid: A
|
|
- macro: '{#GROUP}'
|
|
value: '{$AZURE.RESOURCE.GROUP.NOT.MATCHES}'
|
|
operator: NOT_MATCHES_REGEX
|
|
formulaid: B
|
|
- macro: '{#LOCATION}'
|
|
value: '{$AZURE.PGSQL.DB.LOCATION.MATCHES}'
|
|
formulaid: C
|
|
- macro: '{#LOCATION}'
|
|
value: '{$AZURE.PGSQL.DB.LOCATION.NOT.MATCHES}'
|
|
operator: NOT_MATCHES_REGEX
|
|
formulaid: D
|
|
- macro: '{#NAME}'
|
|
value: '{$AZURE.PGSQL.DB.NAME.MATCHES}'
|
|
formulaid: E
|
|
- macro: '{#NAME}'
|
|
value: '{$AZURE.PGSQL.DB.NAME.NOT.MATCHES}'
|
|
operator: NOT_MATCHES_REGEX
|
|
formulaid: F
|
|
- macro: '{#TYPE}'
|
|
value: ^Microsoft.DBforPostgreSQL
|
|
formulaid: G
|
|
description: 'The list of PostgreSQL servers provided by the subscription.'
|
|
host_prototypes:
|
|
- uuid: 54f0e0ec288f4feb9a2dc58a8726bd1d
|
|
host: 'Azure PostgreSQL server {#NAME}'
|
|
name: 'Azure PostgreSQL server {#NAME}'
|
|
group_links:
|
|
- group:
|
|
name: Databases
|
|
macros:
|
|
- macro: '{$AZURE.RESOURCE.ID}'
|
|
value: '{#ID}'
|
|
description: 'Microsoft Azure resource ID.'
|
|
tags:
|
|
- tag: location
|
|
value: '{#LOCATION}'
|
|
- tag: resource-group
|
|
value: '{#GROUP}'
|
|
- tag: size
|
|
value: '{#SIZE}'
|
|
- tag: version
|
|
value: '{#VERSION}'
|
|
master_item:
|
|
key: azure.get.resources
|
|
lld_macro_paths:
|
|
- lld_macro: '{#GROUP}'
|
|
path: $.resourceGroup
|
|
- lld_macro: '{#ID}'
|
|
path: $.id
|
|
- lld_macro: '{#LOCATION}'
|
|
path: $.location
|
|
- lld_macro: '{#NAME}'
|
|
path: $.name
|
|
- lld_macro: '{#SIZE}'
|
|
path: $.sku.name
|
|
- lld_macro: '{#TYPE}'
|
|
path: $.type
|
|
- lld_macro: '{#VERSION}'
|
|
path: $.properties.version
|
|
preprocessing:
|
|
- type: JSONPATH
|
|
parameters:
|
|
- $.resources.value
|
|
- type: DISCARD_UNCHANGED_HEARTBEAT
|
|
parameters:
|
|
- 6h
|
|
overrides:
|
|
- name: 'Flexible server'
|
|
step: '1'
|
|
filter:
|
|
conditions:
|
|
- macro: '{#TYPE}'
|
|
value: Microsoft.DBforPostgreSQL/flexibleServers
|
|
formulaid: A
|
|
operations:
|
|
- operationobject: HOST_PROTOTYPE
|
|
operator: REGEXP
|
|
templates:
|
|
- name: 'Azure PostgreSQL Flexible Server by HTTP'
|
|
- name: 'Single server'
|
|
step: '2'
|
|
filter:
|
|
conditions:
|
|
- macro: '{#TYPE}'
|
|
value: Microsoft.DBforPostgreSQL/servers
|
|
formulaid: A
|
|
operations:
|
|
- operationobject: HOST_PROTOTYPE
|
|
operator: REGEXP
|
|
templates:
|
|
- name: 'Azure PostgreSQL Single Server by HTTP'
|
|
- uuid: 006fc1e9e61d45c5a795a251a3237983
|
|
name: 'Virtual machine scale set discovery'
|
|
type: DEPENDENT
|
|
key: azure.scaleset.discovery
|
|
delay: '0'
|
|
filter:
|
|
evaltype: AND
|
|
conditions:
|
|
- macro: '{#GROUP}'
|
|
value: '{$AZURE.RESOURCE.GROUP.MATCHES}'
|
|
formulaid: A
|
|
- macro: '{#GROUP}'
|
|
value: '{$AZURE.RESOURCE.GROUP.NOT.MATCHES}'
|
|
operator: NOT_MATCHES_REGEX
|
|
formulaid: B
|
|
- macro: '{#LOCATION}'
|
|
value: '{$AZURE.SCALESET.LOCATION.MATCHES}'
|
|
formulaid: C
|
|
- macro: '{#LOCATION}'
|
|
value: '{$AZURE.SCALESET.LOCATION.NOT.MATCHES}'
|
|
operator: NOT_MATCHES_REGEX
|
|
formulaid: D
|
|
- macro: '{#NAME}'
|
|
value: '{$AZURE.SCALESET.NAME.MATCHES}'
|
|
formulaid: E
|
|
- macro: '{#NAME}'
|
|
value: '{$AZURE.SCALESET.NAME.NOT.MATCHES}'
|
|
operator: NOT_MATCHES_REGEX
|
|
formulaid: F
|
|
- macro: '{#TYPE}'
|
|
value: ^Microsoft.Compute/virtualMachineScaleSets$
|
|
formulaid: G
|
|
description: 'The list of virtual machine scale sets provided by the subscription.'
|
|
host_prototypes:
|
|
- uuid: 1cbeb513fe3648b6829836800952c9c7
|
|
host: 'Azure VM scale set {#NAME}'
|
|
name: 'Azure VM scale set {#NAME}'
|
|
group_links:
|
|
- group:
|
|
name: 'Virtual machines'
|
|
templates:
|
|
- name: 'Azure VM Scale Set by HTTP'
|
|
macros:
|
|
- macro: '{$AZURE.RESOURCE.ID}'
|
|
value: '{#ID}'
|
|
description: 'Microsoft Azure resource ID.'
|
|
tags:
|
|
- tag: location
|
|
value: '{#LOCATION}'
|
|
- tag: orchestration
|
|
value: '{#ORCHESTRATION}'
|
|
- tag: os
|
|
value: '{#OS}'
|
|
- tag: resource-group
|
|
value: '{#GROUP}'
|
|
master_item:
|
|
key: azure.get.resources
|
|
lld_macro_paths:
|
|
- lld_macro: '{#GROUP}'
|
|
path: $.resourceGroup
|
|
- lld_macro: '{#ID}'
|
|
path: $.id
|
|
- lld_macro: '{#LOCATION}'
|
|
path: $.location
|
|
- lld_macro: '{#NAME}'
|
|
path: $.name
|
|
- lld_macro: '{#ORCHESTRATION}'
|
|
path: $.properties.orchestrationMode
|
|
- lld_macro: '{#OS}'
|
|
path: $.properties.virtualMachineProfile.storageProfile.osDisk.osType
|
|
- lld_macro: '{#TYPE}'
|
|
path: $.type
|
|
preprocessing:
|
|
- type: JSONPATH
|
|
parameters:
|
|
- $.resources.value
|
|
- type: DISCARD_UNCHANGED_HEARTBEAT
|
|
parameters:
|
|
- 6h
|
|
- uuid: 34e88b4d994f436e93381e41f5ba2bde
|
|
name: 'Azure SQL managed instance discovery'
|
|
type: DEPENDENT
|
|
key: azure.sql_inst.discovery
|
|
delay: '0'
|
|
filter:
|
|
evaltype: AND
|
|
conditions:
|
|
- macro: '{#GROUP}'
|
|
value: '{$AZURE.RESOURCE.GROUP.MATCHES}'
|
|
formulaid: A
|
|
- macro: '{#GROUP}'
|
|
value: '{$AZURE.RESOURCE.GROUP.NOT.MATCHES}'
|
|
operator: NOT_MATCHES_REGEX
|
|
formulaid: B
|
|
- macro: '{#LOCATION}'
|
|
value: '{$AZURE.SQL.INST.LOCATION.MATCHES}'
|
|
formulaid: C
|
|
- macro: '{#LOCATION}'
|
|
value: '{$AZURE.SQL.INST.LOCATION.NOT.MATCHES}'
|
|
operator: NOT_MATCHES_REGEX
|
|
formulaid: D
|
|
- macro: '{#NAME}'
|
|
value: '{$AZURE.SQL.INST.NAME.MATCHES}'
|
|
formulaid: E
|
|
- macro: '{#NAME}'
|
|
value: '{$AZURE.SQL.INST.NAME.NOT.MATCHES}'
|
|
operator: NOT_MATCHES_REGEX
|
|
formulaid: F
|
|
- macro: '{#TYPE}'
|
|
value: ^Microsoft.Sql/managedInstances$
|
|
formulaid: G
|
|
description: 'The list of Azure SQL managed instances provided by the subscription.'
|
|
host_prototypes:
|
|
- uuid: 5211d232275145598294fc35bac96075
|
|
host: 'Azure SQL managed instance {#NAME}'
|
|
name: 'Azure SQL managed instance {#NAME}'
|
|
group_links:
|
|
- group:
|
|
name: Databases
|
|
templates:
|
|
- name: 'Azure SQL Managed Instance by HTTP'
|
|
macros:
|
|
- macro: '{$AZURE.RESOURCE.ID}'
|
|
value: '{#ID}'
|
|
description: 'Microsoft Azure resource ID.'
|
|
tags:
|
|
- tag: location
|
|
value: '{#LOCATION}'
|
|
- tag: resource-group
|
|
value: '{#GROUP}'
|
|
master_item:
|
|
key: azure.get.resources
|
|
lld_macro_paths:
|
|
- lld_macro: '{#GROUP}'
|
|
path: $.resourceGroup
|
|
- lld_macro: '{#ID}'
|
|
path: $.id
|
|
- lld_macro: '{#LOCATION}'
|
|
path: $.location
|
|
- lld_macro: '{#NAME}'
|
|
path: $.name
|
|
- lld_macro: '{#TYPE}'
|
|
path: $.type
|
|
preprocessing:
|
|
- type: JSONPATH
|
|
parameters:
|
|
- $.resources.value
|
|
- type: DISCARD_UNCHANGED_HEARTBEAT
|
|
parameters:
|
|
- 6h
|
|
- uuid: 3b9bde32dd6b4e3aa2dd8d7949f655e9
|
|
name: 'Storage accounts discovery'
|
|
type: DEPENDENT
|
|
key: azure.storage.acc.discovery
|
|
delay: '0'
|
|
filter:
|
|
evaltype: AND
|
|
conditions:
|
|
- macro: '{#GROUP}'
|
|
value: '{$AZURE.RESOURCE.GROUP.MATCHES}'
|
|
formulaid: A
|
|
- macro: '{#GROUP}'
|
|
value: '{$AZURE.RESOURCE.GROUP.NOT.MATCHES}'
|
|
operator: NOT_MATCHES_REGEX
|
|
formulaid: B
|
|
- macro: '{#LOCATION}'
|
|
value: '{$AZURE.STORAGE.ACC.LOCATION.MATCHES}'
|
|
formulaid: C
|
|
- macro: '{#LOCATION}'
|
|
value: '{$AZURE.STORAGE.ACC.LOCATION.NOT.MATCHES}'
|
|
operator: NOT_MATCHES_REGEX
|
|
formulaid: D
|
|
- macro: '{#NAME}'
|
|
value: '{$AZURE.STORAGE.ACC.NAME.MATCHES}'
|
|
formulaid: E
|
|
- macro: '{#NAME}'
|
|
value: '{$AZURE.STORAGE.ACC.NAME.NOT.MATCHES}'
|
|
operator: NOT_MATCHES_REGEX
|
|
formulaid: F
|
|
description: 'The list of all storage accounts available under the subscription.'
|
|
item_prototypes:
|
|
- uuid: 3361508a601748f5aca339f952430889
|
|
name: 'Storage account [{#NAME}]: Get data'
|
|
type: SCRIPT
|
|
key: 'azure.get.storage.acc[{#NAME}]'
|
|
history: '0'
|
|
value_type: TEXT
|
|
trends: '0'
|
|
params: |
|
|
const CTlsConfig = function (raw_value) {
|
|
raw_value = String(raw_value).trim().toLowerCase();
|
|
|
|
if (['none', 'peer', 'full'].indexOf(raw_value) === -1) {
|
|
raw_value = 'full';
|
|
}
|
|
|
|
this.options = {
|
|
SSLVerifyPeer: (raw_value === 'peer' || raw_value === 'full'),
|
|
SSLVerifyHost: (raw_value === 'full')
|
|
};
|
|
|
|
this.enabled = (raw_value !== 'none');
|
|
|
|
this.checkURL = function (url) {
|
|
if (this.enabled && !/^https:\/\//i.test(url)) {
|
|
throw 'TLS certificate verification is enabled by {$' + 'HTTP.TLS.VERIFY}, but the URL uses plain HTTP: ' + url +
|
|
'. Use an "https://" URL, or set {$' + 'HTTP.TLS.VERIFY} to `none` to disable verification.';
|
|
}
|
|
|
|
return url;
|
|
};
|
|
}
|
|
|
|
|
|
var AzureStorage = {
|
|
params: {},
|
|
|
|
setParams: function (params) {
|
|
['token', 'id'].forEach(function (field) {
|
|
if (typeof params !== 'object' || typeof params[field] === 'undefined' || params[field] === '') {
|
|
throw 'Required param is not set: ' + field + '.';
|
|
}
|
|
});
|
|
|
|
AzureStorage.params = params;
|
|
AzureStorage.tls = new CTlsConfig(params.tls_verify);
|
|
},
|
|
|
|
request: function (url) {
|
|
var response, request = new HttpRequest(AzureStorage.tls.options);
|
|
if (typeof AzureStorage.params.proxy !== 'undefined' && AzureStorage.params.proxy !== '') {
|
|
request.setProxy(AzureStorage.params.proxy);
|
|
}
|
|
request.addHeader('Accept: application/json');
|
|
request.addHeader('Authorization: Bearer ' + AzureStorage.params.token);
|
|
Zabbix.log(4, '[ Azure ] Sending request: ' + url);
|
|
response = request.get(url);
|
|
if (request.getStatus() !== 200) {
|
|
throw 'Request failed with status code ' + request.getStatus() + ': ' + response;
|
|
}
|
|
try {
|
|
return JSON.parse(response);
|
|
}
|
|
catch (error) {
|
|
throw 'Failed to parse response received from API.';
|
|
}
|
|
},
|
|
|
|
getField: function (data, path) {
|
|
var steps = path.split('.');
|
|
for (var i = 0; i < steps.length; i++) {
|
|
var step = steps[i];
|
|
if (typeof data !== 'object' || typeof data[step] === 'undefined') {
|
|
throw 'Required field was not found: ' + path + ' input data: ' + JSON.stringify(data);
|
|
}
|
|
|
|
data = data[step];
|
|
}
|
|
|
|
return data;
|
|
},
|
|
|
|
getMetricsData: function () {
|
|
var data = {};
|
|
start_date = new Date((new Date().getTime()) - 4200000).toISOString().replace(/\.\d+/, '');
|
|
end_date = new Date((new Date().getTime()) - 600000).toISOString().replace(/\.\d+/, '');
|
|
endpoints = {
|
|
'tableServices': '/tableServices/default/providers/Microsoft.Insights/metrics?metricnames=TableCapacity,TableCount,TableEntityCount,Transactions,Ingress,Egress,SuccessServerLatency,SuccessE2ELatency,Availability&api-version=2021-05-01&interval=PT1H×pan=' + encodeURIComponent(start_date) + '/' + encodeURIComponent(end_date),
|
|
'blobServices': '/blobServices/default/providers/Microsoft.Insights/metrics?metricnames=BlobCapacity,BlobCount,ContainerCount,IndexCapacity,Transactions,Ingress,Egress,SuccessServerLatency,SuccessE2ELatency,Availability&api-version=2021-05-01&interval=PT1H×pan=' + encodeURIComponent(start_date) + '/' + encodeURIComponent(end_date),
|
|
'fileServices': '/fileServices/default/providers/Microsoft.Insights/metrics?metricnames=FileCapacity,FileCount,FileShareCount,FileShareSnapshotCount,FileShareSnapshotSize,FileShareCapacityQuota,Transactions,Ingress,Egress,SuccessServerLatency,SuccessE2ELatency,Availability&api-version=2021-05-01&interval=PT1H×pan=' + encodeURIComponent(start_date) + '/' + encodeURIComponent(end_date),
|
|
'storageAccount': '/providers/Microsoft.Insights/metrics?metricnames=UsedCapacity,Transactions,Ingress,Egress,SuccessServerLatency,SuccessE2ELatency,Availability&api-version=2021-05-01&interval=PT1H×pan=' + encodeURIComponent(start_date) + '/' + encodeURIComponent(end_date),
|
|
'queueServices': '/queueServices/default/providers/Microsoft.Insights/metrics?metricnames=QueueCapacity,QueueCount,QueueMessageCount,Transactions,Ingress,Egress,SuccessServerLatency,SuccessE2ELatency,Availability&api-version=2021-05-01&interval=PT1H×pan=' + encodeURIComponent(start_date) + '/' + encodeURIComponent(end_date)
|
|
};
|
|
|
|
Object.keys(endpoints).forEach(function (field) {
|
|
data[field] = {};
|
|
metrics = AzureStorage.request('https://management.azure.com' + AzureStorage.params.id + endpoints[field]);
|
|
|
|
if (!metrics.hasOwnProperty('value')) {
|
|
throw 'Failed getting required field. Check debug log for more information.';
|
|
}
|
|
|
|
for (k in metrics.value) {
|
|
key = AzureStorage.getField(metrics.value[k], 'name.value')
|
|
if (metrics.value[k].timeseries.length === 0) {
|
|
metrics.value[k].timeseries.push({ 'data': ['nodata'] })
|
|
}
|
|
data[field][key] = AzureStorage.getField(metrics.value[k], 'timeseries.0.data.0');
|
|
}
|
|
});
|
|
return data
|
|
}
|
|
|
|
};
|
|
|
|
try {
|
|
AzureStorage.setParams(JSON.parse(value));
|
|
return JSON.stringify(AzureStorage.getMetricsData());
|
|
}
|
|
catch (error) {
|
|
error += (String(error).endsWith('.')) ? '' : '.';
|
|
Zabbix.log(3, '[ Azure ] ERROR: ' + error);
|
|
return JSON.stringify({ 'error': error });
|
|
}
|
|
description: 'The HTTP API endpoint that returns storage metrics with the name `[{#NAME}]`.'
|
|
timeout: '{$AZURE.DATA.TIMEOUT}'
|
|
parameters:
|
|
- name: id
|
|
value: '{#ID}'
|
|
- name: proxy
|
|
value: '{$AZURE.PROXY}'
|
|
- name: tls_verify
|
|
value: '{$HTTP.TLS.VERIFY:"Azure"}'
|
|
- name: token
|
|
value: '{#TOKEN}'
|
|
tags:
|
|
- tag: component
|
|
value: raw
|
|
- tag: component
|
|
value: storages
|
|
- tag: storage
|
|
value: '{#NAME}'
|
|
- uuid: 08ce66b39b084182bdb60a5556b88c88
|
|
name: 'Storage account [{#NAME}]: Availability'
|
|
type: DEPENDENT
|
|
key: 'azure.storage.availability[{#NAME}]'
|
|
delay: '0'
|
|
value_type: FLOAT
|
|
units: '%'
|
|
description: |
|
|
The percentage of availability for the storage service or a specified API operation.
|
|
Availability is calculated by taking the `TotalBillableRequests` value and dividing it by the number of applicable requests, including those that produced unexpected errors.
|
|
All unexpected errors result in reduced availability for the storage service or the specified API operation.
|
|
preprocessing:
|
|
- type: JSONPATH
|
|
parameters:
|
|
- $.storageAccount.Availability.average
|
|
error_handler: DISCARD_VALUE
|
|
- type: DISCARD_UNCHANGED_HEARTBEAT
|
|
parameters:
|
|
- 3h
|
|
master_item:
|
|
key: 'azure.get.storage.acc[{#NAME}]'
|
|
tags:
|
|
- tag: component
|
|
value: storages
|
|
- tag: metrics
|
|
value: common
|
|
- tag: storage
|
|
value: '{#NAME}'
|
|
trigger_prototypes:
|
|
- uuid: 6a0b3edebded4d848ad76f86f8152377
|
|
expression: '(min(/Azure by HTTP/azure.storage.availability[{#NAME}],#3))<{$AZURE.STORAGE.ACC.AVAILABILITY:"{#NAME}"}'
|
|
name: 'Azure: Storage account [{#NAME}]: Availability is low'
|
|
event_name: 'Azure: Storage account [{#NAME} availability is too low (less than {$AZURE.STORAGE.ACC.AVAILABILITY:"{#NAME}"}%)'
|
|
opdata: '{ITEM.LASTVALUE1}'
|
|
priority: WARNING
|
|
tags:
|
|
- tag: scope
|
|
value: availability
|
|
- uuid: 9ae0af76a37047f5ba84de2f43dfb5c4
|
|
name: 'Storage account [{#NAME}]: Blob Availability'
|
|
type: DEPENDENT
|
|
key: 'azure.storage.blob.availability[{#NAME}]'
|
|
delay: '0'
|
|
value_type: FLOAT
|
|
units: '%'
|
|
description: |
|
|
The percentage of availability for the storage service or a specified API operation.
|
|
Availability is calculated by taking the `TotalBillableRequests` value and dividing it by the number of applicable requests, including those that produced unexpected errors.
|
|
All unexpected errors result in reduced availability for the storage service or the specified API operation.
|
|
preprocessing:
|
|
- type: JSONPATH
|
|
parameters:
|
|
- $.blobServices.Availability.average
|
|
error_handler: DISCARD_VALUE
|
|
- type: DISCARD_UNCHANGED_HEARTBEAT
|
|
parameters:
|
|
- 3h
|
|
master_item:
|
|
key: 'azure.get.storage.acc[{#NAME}]'
|
|
tags:
|
|
- tag: component
|
|
value: storages
|
|
- tag: metrics
|
|
value: blob
|
|
- tag: storage
|
|
value: '{#NAME}'
|
|
trigger_prototypes:
|
|
- uuid: 4cd8ac56b50c4120bf9de56bb1f06245
|
|
expression: '(min(/Azure by HTTP/azure.storage.blob.availability[{#NAME}],#3))<{$AZURE.STORAGE.ACC.BLOB.AVAILABILITY:"{#NAME}"}'
|
|
name: 'Azure: Storage account [{#NAME}]: Blob Availability is low'
|
|
event_name: 'Azure: Storage account [{#NAME} blob availability are too low (less than {$AZURE.STORAGE.ACC.BLOB.AVAILABILITY:"{#NAME}"}%)'
|
|
opdata: '{ITEM.LASTVALUE1}'
|
|
priority: WARNING
|
|
tags:
|
|
- tag: scope
|
|
value: availability
|
|
- uuid: c6437ade4fee44f783ab379fb179508d
|
|
name: 'Storage account [{#NAME}]: Blob Capacity'
|
|
type: DEPENDENT
|
|
key: 'azure.storage.blob.capacity[{#NAME}]'
|
|
delay: '0'
|
|
value_type: FLOAT
|
|
units: B
|
|
description: 'The amount of storage used by the blob service of the storage account with the name `[{#NAME}]`, expressed in bytes.'
|
|
preprocessing:
|
|
- type: JSONPATH
|
|
parameters:
|
|
- $.blobServices.BlobCapacity.average
|
|
error_handler: DISCARD_VALUE
|
|
- type: DISCARD_UNCHANGED_HEARTBEAT
|
|
parameters:
|
|
- 3h
|
|
master_item:
|
|
key: 'azure.get.storage.acc[{#NAME}]'
|
|
tags:
|
|
- tag: component
|
|
value: storages
|
|
- tag: metrics
|
|
value: blob
|
|
- tag: storage
|
|
value: '{#NAME}'
|
|
- uuid: 707be15f02a141548ce5f89097c303a0
|
|
name: 'Storage account [{#NAME}]: Blob Container Count'
|
|
type: DEPENDENT
|
|
key: 'azure.storage.blob.container.count[{#NAME}]'
|
|
delay: '0'
|
|
description: 'The number of containers in the storage account with the name `[{#NAME}]`.'
|
|
preprocessing:
|
|
- type: JSONPATH
|
|
parameters:
|
|
- $.blobServices.ContainerCount.average
|
|
error_handler: DISCARD_VALUE
|
|
- type: DISCARD_UNCHANGED_HEARTBEAT
|
|
parameters:
|
|
- 3h
|
|
master_item:
|
|
key: 'azure.get.storage.acc[{#NAME}]'
|
|
tags:
|
|
- tag: component
|
|
value: storages
|
|
- tag: metrics
|
|
value: blob
|
|
- tag: storage
|
|
value: '{#NAME}'
|
|
- uuid: 9bd8b8f1b5844298a245d449548de46e
|
|
name: 'Storage account [{#NAME}]: Blob Count'
|
|
type: DEPENDENT
|
|
key: 'azure.storage.blob.count[{#NAME}]'
|
|
delay: '0'
|
|
description: 'The number of blob objects stored in the storage account with the name `[{#NAME}]`.'
|
|
preprocessing:
|
|
- type: JSONPATH
|
|
parameters:
|
|
- $.blobServices.BlobCount.average
|
|
error_handler: DISCARD_VALUE
|
|
- type: DISCARD_UNCHANGED_HEARTBEAT
|
|
parameters:
|
|
- 3h
|
|
master_item:
|
|
key: 'azure.get.storage.acc[{#NAME}]'
|
|
tags:
|
|
- tag: component
|
|
value: storages
|
|
- tag: metrics
|
|
value: blob
|
|
- tag: storage
|
|
value: '{#NAME}'
|
|
- uuid: ae28bbd289644619b20b1907212d8293
|
|
name: 'Storage account [{#NAME}]: Blob Egress'
|
|
type: DEPENDENT
|
|
key: 'azure.storage.blob.engress[{#NAME}]'
|
|
delay: '0'
|
|
value_type: FLOAT
|
|
units: B
|
|
description: |
|
|
The amount of egress data. This number includes egress to external client from Azure Storage and also egress within Azure.
|
|
As a result, this number does not reflect billable egress.
|
|
preprocessing:
|
|
- type: JSONPATH
|
|
parameters:
|
|
- $.blobServices.Egress.total
|
|
error_handler: DISCARD_VALUE
|
|
- type: DISCARD_UNCHANGED_HEARTBEAT
|
|
parameters:
|
|
- 3h
|
|
master_item:
|
|
key: 'azure.get.storage.acc[{#NAME}]'
|
|
tags:
|
|
- tag: component
|
|
value: storages
|
|
- tag: metrics
|
|
value: blob
|
|
- tag: storage
|
|
value: '{#NAME}'
|
|
- uuid: 8e73a2aba92444dd9c02c6f94227a4e5
|
|
name: 'Storage account [{#NAME}]: Blob Index Capacity'
|
|
type: DEPENDENT
|
|
key: 'azure.storage.blob.index.capacity[{#NAME}]'
|
|
delay: '0'
|
|
value_type: FLOAT
|
|
units: B
|
|
description: 'The amount of storage with the name `[{#NAME}]` used by the Azure Data Lake Storage Gen2 hierarchical index.'
|
|
preprocessing:
|
|
- type: JSONPATH
|
|
parameters:
|
|
- $.blobServices.IndexCapacity.average
|
|
error_handler: DISCARD_VALUE
|
|
- type: DISCARD_UNCHANGED_HEARTBEAT
|
|
parameters:
|
|
- 3h
|
|
master_item:
|
|
key: 'azure.get.storage.acc[{#NAME}]'
|
|
tags:
|
|
- tag: component
|
|
value: storages
|
|
- tag: metrics
|
|
value: blob
|
|
- tag: storage
|
|
value: '{#NAME}'
|
|
- uuid: ff40325efb174839bef7bc775049837e
|
|
name: 'Storage account [{#NAME}]: Blob Ingress'
|
|
type: DEPENDENT
|
|
key: 'azure.storage.blob.ingress[{#NAME}]'
|
|
delay: '0'
|
|
value_type: FLOAT
|
|
units: B
|
|
description: 'The amount of ingress data, expressed in bytes. This number includes ingress from an external client into Azure Storage and also ingress within Azure.'
|
|
preprocessing:
|
|
- type: JSONPATH
|
|
parameters:
|
|
- $.blobServices.Ingress.total
|
|
error_handler: DISCARD_VALUE
|
|
- type: DISCARD_UNCHANGED_HEARTBEAT
|
|
parameters:
|
|
- 3h
|
|
master_item:
|
|
key: 'azure.get.storage.acc[{#NAME}]'
|
|
tags:
|
|
- tag: component
|
|
value: storages
|
|
- tag: metrics
|
|
value: blob
|
|
- tag: storage
|
|
value: '{#NAME}'
|
|
- uuid: e17d6f2ed79c4b5eaa54730c82d6840f
|
|
name: 'Storage account [{#NAME}]: Blob Success E2E Latency'
|
|
type: DEPENDENT
|
|
key: 'azure.storage.blob.success.e2e.latency[{#NAME}]'
|
|
delay: '0'
|
|
value_type: FLOAT
|
|
units: s
|
|
description: |
|
|
The average end-to-end latency of successful requests made to a storage service or the specified API operation, expressed in milliseconds.
|
|
This value includes the required processing time within Azure Storage to read the request, send the response, and receive acknowledgment of the response.
|
|
preprocessing:
|
|
- type: JSONPATH
|
|
parameters:
|
|
- $.blobServices.SuccessE2ELatency.average
|
|
error_handler: DISCARD_VALUE
|
|
- type: MULTIPLIER
|
|
parameters:
|
|
- '0.001'
|
|
- type: DISCARD_UNCHANGED_HEARTBEAT
|
|
parameters:
|
|
- 3h
|
|
master_item:
|
|
key: 'azure.get.storage.acc[{#NAME}]'
|
|
tags:
|
|
- tag: component
|
|
value: storages
|
|
- tag: metrics
|
|
value: blob
|
|
- tag: storage
|
|
value: '{#NAME}'
|
|
- uuid: 727fb792fe5c4229995f7aa5bbb681ed
|
|
name: 'Storage account [{#NAME}]: Blob Success Server Latency'
|
|
type: DEPENDENT
|
|
key: 'azure.storage.blob.success.server.latency[{#NAME}]'
|
|
delay: '0'
|
|
value_type: FLOAT
|
|
units: s
|
|
description: |
|
|
The average time used to process a successful request by Azure Storage.
|
|
This value does not include the network latency specified in `SuccessE2ELatency`.
|
|
preprocessing:
|
|
- type: JSONPATH
|
|
parameters:
|
|
- $.blobServices.SuccessServerLatency.average
|
|
error_handler: DISCARD_VALUE
|
|
- type: MULTIPLIER
|
|
parameters:
|
|
- '0.001'
|
|
- type: DISCARD_UNCHANGED_HEARTBEAT
|
|
parameters:
|
|
- 3h
|
|
master_item:
|
|
key: 'azure.get.storage.acc[{#NAME}]'
|
|
tags:
|
|
- tag: component
|
|
value: storages
|
|
- tag: metrics
|
|
value: blob
|
|
- tag: storage
|
|
value: '{#NAME}'
|
|
- uuid: 48ecb880def34474b73a03eb895db3ea
|
|
name: 'Storage account [{#NAME}]: Blob Transactions'
|
|
type: DEPENDENT
|
|
key: 'azure.storage.blob.transactions[{#NAME}]'
|
|
delay: '0'
|
|
description: |
|
|
The number of requests made to the storage service or a specified API operation.
|
|
This number includes successful and failed requests and also requests that produced errors.
|
|
Use `ResponseType` dimension for the number of different types of responses.
|
|
preprocessing:
|
|
- type: JSONPATH
|
|
parameters:
|
|
- $.blobServices.Transactions.total
|
|
error_handler: DISCARD_VALUE
|
|
- type: DISCARD_UNCHANGED_HEARTBEAT
|
|
parameters:
|
|
- 3h
|
|
master_item:
|
|
key: 'azure.get.storage.acc[{#NAME}]'
|
|
tags:
|
|
- tag: component
|
|
value: storages
|
|
- tag: metrics
|
|
value: blob
|
|
- tag: storage
|
|
value: '{#NAME}'
|
|
- uuid: 4198807e1e08439a9009481ddcfd3bab
|
|
name: 'Storage account [{#NAME}]: Egress'
|
|
type: DEPENDENT
|
|
key: 'azure.storage.engress[{#NAME}]'
|
|
delay: '0'
|
|
value_type: FLOAT
|
|
units: B
|
|
description: |
|
|
The amount of egress data. This number includes egress to external client from Azure Storage and also egress within Azure.
|
|
As a result, this number does not reflect billable egress.
|
|
preprocessing:
|
|
- type: JSONPATH
|
|
parameters:
|
|
- $.storageAccount.Egress.total
|
|
error_handler: DISCARD_VALUE
|
|
- type: DISCARD_UNCHANGED_HEARTBEAT
|
|
parameters:
|
|
- 3h
|
|
master_item:
|
|
key: 'azure.get.storage.acc[{#NAME}]'
|
|
tags:
|
|
- tag: component
|
|
value: storages
|
|
- tag: metrics
|
|
value: common
|
|
- tag: storage
|
|
value: '{#NAME}'
|
|
- uuid: 43069f165849449d8403d1a8c82fe634
|
|
name: 'Storage account [{#NAME}]: File Capacity'
|
|
type: DEPENDENT
|
|
key: 'azure.storage.file.capacity[{#NAME}]'
|
|
delay: '0'
|
|
value_type: FLOAT
|
|
units: B
|
|
description: 'The amount of file storage used by the storage account with the name `[{#NAME}]`, expressed in bytes.'
|
|
preprocessing:
|
|
- type: JSONPATH
|
|
parameters:
|
|
- $.fileServices.FileCapacity.average
|
|
error_handler: DISCARD_VALUE
|
|
- type: DISCARD_UNCHANGED_HEARTBEAT
|
|
parameters:
|
|
- 3h
|
|
master_item:
|
|
key: 'azure.get.storage.acc[{#NAME}]'
|
|
tags:
|
|
- tag: component
|
|
value: storages
|
|
- tag: metrics
|
|
value: file
|
|
- tag: storage
|
|
value: '{#NAME}'
|
|
- uuid: 3483741c11a141c2866ea58a74a91135
|
|
name: 'Storage account [{#NAME}]: File Count'
|
|
type: DEPENDENT
|
|
key: 'azure.storage.file.count[{#NAME}]'
|
|
delay: '0'
|
|
description: 'The number of files in the storage account with the name `[{#NAME}]`.'
|
|
preprocessing:
|
|
- type: JSONPATH
|
|
parameters:
|
|
- $.fileServices.FileCount.average
|
|
error_handler: DISCARD_VALUE
|
|
- type: DISCARD_UNCHANGED_HEARTBEAT
|
|
parameters:
|
|
- 3h
|
|
master_item:
|
|
key: 'azure.get.storage.acc[{#NAME}]'
|
|
tags:
|
|
- tag: component
|
|
value: storages
|
|
- tag: metrics
|
|
value: file
|
|
- tag: storage
|
|
value: '{#NAME}'
|
|
- uuid: 7f6d01573bf24d9889f41a14cb581075
|
|
name: 'Storage account [{#NAME}]: File Egress'
|
|
type: DEPENDENT
|
|
key: 'azure.storage.file.engress[{#NAME}]'
|
|
delay: '0'
|
|
value_type: FLOAT
|
|
units: B
|
|
description: |
|
|
The amount of egress data. This number includes egress to external client from Azure Storage and also egress within Azure.
|
|
As a result, this number does not reflect billable egress.
|
|
preprocessing:
|
|
- type: JSONPATH
|
|
parameters:
|
|
- $.fileServices.Egress.total
|
|
error_handler: DISCARD_VALUE
|
|
- type: DISCARD_UNCHANGED_HEARTBEAT
|
|
parameters:
|
|
- 3h
|
|
master_item:
|
|
key: 'azure.get.storage.acc[{#NAME}]'
|
|
tags:
|
|
- tag: component
|
|
value: storages
|
|
- tag: metrics
|
|
value: file
|
|
- tag: storage
|
|
value: '{#NAME}'
|
|
- uuid: 9f9b6772f9d9478ba3be3a93c5408ba2
|
|
name: 'Storage account [{#NAME}]: File Ingress'
|
|
type: DEPENDENT
|
|
key: 'azure.storage.file.ingress[{#NAME}]'
|
|
delay: '0'
|
|
value_type: FLOAT
|
|
units: B
|
|
description: 'The amount of ingress data, expressed in bytes. This number includes ingress from an external client into Azure Storage and also ingress within Azure.'
|
|
preprocessing:
|
|
- type: JSONPATH
|
|
parameters:
|
|
- $.fileServices.Ingress.total
|
|
error_handler: DISCARD_VALUE
|
|
- type: DISCARD_UNCHANGED_HEARTBEAT
|
|
parameters:
|
|
- 3h
|
|
master_item:
|
|
key: 'azure.get.storage.acc[{#NAME}]'
|
|
tags:
|
|
- tag: component
|
|
value: storages
|
|
- tag: metrics
|
|
value: file
|
|
- tag: storage
|
|
value: '{#NAME}'
|
|
- uuid: 4cb60e5473ce46a08bc962dc97c1f4db
|
|
name: 'Storage account [{#NAME}]: File Share Capacity Quota'
|
|
type: DEPENDENT
|
|
key: 'azure.storage.file.share.capacity.quota[{#NAME}]'
|
|
delay: '0'
|
|
units: B
|
|
description: 'The upper limit on the amount of storage that can be used by Azure Files Service, in bytes.'
|
|
preprocessing:
|
|
- type: JSONPATH
|
|
parameters:
|
|
- $.fileServices.FileShareCapacityQuota.average
|
|
error_handler: DISCARD_VALUE
|
|
- type: DISCARD_UNCHANGED_HEARTBEAT
|
|
parameters:
|
|
- 3h
|
|
master_item:
|
|
key: 'azure.get.storage.acc[{#NAME}]'
|
|
tags:
|
|
- tag: component
|
|
value: storages
|
|
- tag: metrics
|
|
value: file
|
|
- tag: storage
|
|
value: '{#NAME}'
|
|
- uuid: 220673a2e99a4108b034d04d79108231
|
|
name: 'Storage account [{#NAME}]: File Share Count'
|
|
type: DEPENDENT
|
|
key: 'azure.storage.file.share.count[{#NAME}]'
|
|
delay: '0'
|
|
description: 'The number of file shares in the storage account.'
|
|
preprocessing:
|
|
- type: JSONPATH
|
|
parameters:
|
|
- $.fileServices.FileShareCount.average
|
|
error_handler: DISCARD_VALUE
|
|
- type: DISCARD_UNCHANGED_HEARTBEAT
|
|
parameters:
|
|
- 3h
|
|
master_item:
|
|
key: 'azure.get.storage.acc[{#NAME}]'
|
|
tags:
|
|
- tag: component
|
|
value: storages
|
|
- tag: metrics
|
|
value: file
|
|
- tag: storage
|
|
value: '{#NAME}'
|
|
- uuid: 47c48f39b9744a92ac13e9db69f6e629
|
|
name: 'Storage account [{#NAME}]: File Share Snapshot Size'
|
|
type: DEPENDENT
|
|
key: 'azure.storage.file.share.snapshot.size[{#NAME}]'
|
|
delay: '0'
|
|
units: B
|
|
description: 'The amount of storage used by the snapshots in storage account''s File service, in bytes.'
|
|
preprocessing:
|
|
- type: JSONPATH
|
|
parameters:
|
|
- $.fileServices.FileShareSnapshotSize.average
|
|
error_handler: DISCARD_VALUE
|
|
- type: DISCARD_UNCHANGED_HEARTBEAT
|
|
parameters:
|
|
- 3h
|
|
master_item:
|
|
key: 'azure.get.storage.acc[{#NAME}]'
|
|
tags:
|
|
- tag: component
|
|
value: storages
|
|
- tag: metrics
|
|
value: file
|
|
- tag: storage
|
|
value: '{#NAME}'
|
|
- uuid: f0394f8f2d55471c8ab557045349a6ec
|
|
name: 'Storage account [{#NAME}]: File Share Snapshot Count'
|
|
type: DEPENDENT
|
|
key: 'azure.storage.file.shares.snapshot.count[{#NAME}]'
|
|
delay: '0'
|
|
description: 'The number of snapshots present on the share in storage account''s Files Service.'
|
|
preprocessing:
|
|
- type: JSONPATH
|
|
parameters:
|
|
- $.fileServices.FileShareSnapshotCount.average
|
|
error_handler: DISCARD_VALUE
|
|
- type: DISCARD_UNCHANGED_HEARTBEAT
|
|
parameters:
|
|
- 3h
|
|
master_item:
|
|
key: 'azure.get.storage.acc[{#NAME}]'
|
|
tags:
|
|
- tag: component
|
|
value: storages
|
|
- tag: metrics
|
|
value: file
|
|
- tag: storage
|
|
value: '{#NAME}'
|
|
- uuid: 431a6c51418d401697d105a0d9b62d23
|
|
name: 'Storage account [{#NAME}]: File Success E2E Latency'
|
|
type: DEPENDENT
|
|
key: 'azure.storage.file.success.e2e.latency[{#NAME}]'
|
|
delay: '0'
|
|
value_type: FLOAT
|
|
units: s
|
|
description: |
|
|
The average end-to-end latency of successful requests made to a storage service or the specified API operation, expressed in milliseconds.
|
|
This value includes the required processing time within Azure Storage to read the request, send the response, and receive acknowledgment of the response.
|
|
preprocessing:
|
|
- type: JSONPATH
|
|
parameters:
|
|
- $.fileServices.file.SuccessE2ELatency.average
|
|
error_handler: DISCARD_VALUE
|
|
- type: MULTIPLIER
|
|
parameters:
|
|
- '0.001'
|
|
- type: DISCARD_UNCHANGED_HEARTBEAT
|
|
parameters:
|
|
- 3h
|
|
master_item:
|
|
key: 'azure.get.storage.acc[{#NAME}]'
|
|
tags:
|
|
- tag: component
|
|
value: storages
|
|
- tag: metrics
|
|
value: file
|
|
- tag: storage
|
|
value: '{#NAME}'
|
|
- uuid: 43b6c0b948f64d9daada7aaac520c839
|
|
name: 'Storage account [{#NAME}]: File Success Server Latency'
|
|
type: DEPENDENT
|
|
key: 'azure.storage.file.success.server.latency[{#NAME}]'
|
|
delay: '0'
|
|
value_type: FLOAT
|
|
units: s
|
|
description: |
|
|
The average time used to process a successful request by Azure Storage.
|
|
This value does not include the network latency specified in `SuccessE2ELatency`.
|
|
preprocessing:
|
|
- type: JSONPATH
|
|
parameters:
|
|
- $.fileServices.SuccessServerLatency.average
|
|
error_handler: DISCARD_VALUE
|
|
- type: MULTIPLIER
|
|
parameters:
|
|
- '0.001'
|
|
- type: DISCARD_UNCHANGED_HEARTBEAT
|
|
parameters:
|
|
- 3h
|
|
master_item:
|
|
key: 'azure.get.storage.acc[{#NAME}]'
|
|
tags:
|
|
- tag: component
|
|
value: storages
|
|
- tag: metrics
|
|
value: file
|
|
- tag: storage
|
|
value: '{#NAME}'
|
|
- uuid: ed4b7ac10368493ba01c7cbeffba3042
|
|
name: 'Storage account [{#NAME}]: File Transactions'
|
|
type: DEPENDENT
|
|
key: 'azure.storage.file.transactions[{#NAME}]'
|
|
delay: '0'
|
|
description: |
|
|
The number of requests made to the storage service or a specified API operation.
|
|
This number includes successful and failed requests and also requests that produced errors.
|
|
Use `ResponseType` dimension for the number of different types of responses.
|
|
preprocessing:
|
|
- type: JSONPATH
|
|
parameters:
|
|
- $.fileServices.Transactions.total
|
|
error_handler: DISCARD_VALUE
|
|
- type: DISCARD_UNCHANGED_HEARTBEAT
|
|
parameters:
|
|
- 3h
|
|
master_item:
|
|
key: 'azure.get.storage.acc[{#NAME}]'
|
|
tags:
|
|
- tag: component
|
|
value: storages
|
|
- tag: metrics
|
|
value: file
|
|
- tag: storage
|
|
value: '{#NAME}'
|
|
- uuid: caeaa6805904471a8b18480f34ef9807
|
|
name: 'Storage account [{#NAME}]: Ingress'
|
|
type: DEPENDENT
|
|
key: 'azure.storage.ingress[{#NAME}]'
|
|
delay: '0'
|
|
value_type: FLOAT
|
|
units: B
|
|
description: 'The amount of ingress data, expressed in bytes. This number includes ingress from an external client into Azure Storage and also ingress within Azure.'
|
|
preprocessing:
|
|
- type: JSONPATH
|
|
parameters:
|
|
- $.storageAccount.Ingress.total
|
|
error_handler: DISCARD_VALUE
|
|
- type: DISCARD_UNCHANGED_HEARTBEAT
|
|
parameters:
|
|
- 3h
|
|
master_item:
|
|
key: 'azure.get.storage.acc[{#NAME}]'
|
|
tags:
|
|
- tag: component
|
|
value: storages
|
|
- tag: metrics
|
|
value: common
|
|
- tag: storage
|
|
value: '{#NAME}'
|
|
- uuid: be8b82396ff243e8a52864069b192dea
|
|
name: 'Storage account [{#NAME}]: Queue Capacity'
|
|
type: DEPENDENT
|
|
key: 'azure.storage.queue.capacity[{#NAME}]'
|
|
delay: '0'
|
|
value_type: FLOAT
|
|
units: B
|
|
description: 'The amount of queue storage used by the storage account with the name `[{#NAME}]`, expressed in bytes.'
|
|
preprocessing:
|
|
- type: JSONPATH
|
|
parameters:
|
|
- $.queueServices.QueueCapacity.average
|
|
error_handler: DISCARD_VALUE
|
|
- type: DISCARD_UNCHANGED_HEARTBEAT
|
|
parameters:
|
|
- 3h
|
|
master_item:
|
|
key: 'azure.get.storage.acc[{#NAME}]'
|
|
tags:
|
|
- tag: component
|
|
value: storages
|
|
- tag: metrics
|
|
value: queue
|
|
- tag: storage
|
|
value: '{#NAME}'
|
|
- uuid: 9174d372235e4d14a4896a79ddcbc051
|
|
name: 'Storage account [{#NAME}]: Queue Count'
|
|
type: DEPENDENT
|
|
key: 'azure.storage.queue.count[{#NAME}]'
|
|
delay: '0'
|
|
description: 'The number of queues in the storage account with the name `[{#NAME}]`.'
|
|
preprocessing:
|
|
- type: JSONPATH
|
|
parameters:
|
|
- $.queueServices.QueueCount.average
|
|
error_handler: DISCARD_VALUE
|
|
- type: DISCARD_UNCHANGED_HEARTBEAT
|
|
parameters:
|
|
- 3h
|
|
master_item:
|
|
key: 'azure.get.storage.acc[{#NAME}]'
|
|
tags:
|
|
- tag: component
|
|
value: storages
|
|
- tag: metrics
|
|
value: queue
|
|
- tag: storage
|
|
value: '{#NAME}'
|
|
- uuid: b8cff599c4194b4abd74f4a27ca93284
|
|
name: 'Storage account [{#NAME}]: Queue Egress'
|
|
type: DEPENDENT
|
|
key: 'azure.storage.queue.engress[{#NAME}]'
|
|
delay: '0'
|
|
value_type: FLOAT
|
|
units: B
|
|
description: |
|
|
The amount of egress data. This number includes egress to external client from Azure Storage and also egress within Azure.
|
|
As a result, this number does not reflect billable egress.
|
|
preprocessing:
|
|
- type: JSONPATH
|
|
parameters:
|
|
- $.queueServices.Egress.total
|
|
error_handler: DISCARD_VALUE
|
|
- type: DISCARD_UNCHANGED_HEARTBEAT
|
|
parameters:
|
|
- 3h
|
|
master_item:
|
|
key: 'azure.get.storage.acc[{#NAME}]'
|
|
tags:
|
|
- tag: component
|
|
value: storages
|
|
- tag: metrics
|
|
value: queue
|
|
- tag: storage
|
|
value: '{#NAME}'
|
|
- uuid: 599f612c3cc64e81a53d507ae0078ab1
|
|
name: 'Storage account [{#NAME}]: Queue Ingress'
|
|
type: DEPENDENT
|
|
key: 'azure.storage.queue.ingress[{#NAME}]'
|
|
delay: '0'
|
|
value_type: FLOAT
|
|
units: B
|
|
description: 'The amount of ingress data, expressed in bytes. This number includes ingress from an external client into Azure Storage and also ingress within Azure.'
|
|
preprocessing:
|
|
- type: JSONPATH
|
|
parameters:
|
|
- $.queueServices.Ingress.total
|
|
error_handler: DISCARD_VALUE
|
|
- type: DISCARD_UNCHANGED_HEARTBEAT
|
|
parameters:
|
|
- 3h
|
|
master_item:
|
|
key: 'azure.get.storage.acc[{#NAME}]'
|
|
tags:
|
|
- tag: component
|
|
value: storages
|
|
- tag: metrics
|
|
value: queue
|
|
- tag: storage
|
|
value: '{#NAME}'
|
|
- uuid: 70c7b436a03145c5ab694b3a20ac52b1
|
|
name: 'Storage account [{#NAME}]: Queue Message Count'
|
|
type: DEPENDENT
|
|
key: 'azure.storage.queue.message.count[{#NAME}]'
|
|
delay: '0'
|
|
description: 'The number of unexpired queue messages in the storage account with the name `[{#NAME}]`.'
|
|
preprocessing:
|
|
- type: JSONPATH
|
|
parameters:
|
|
- $.queueServices.QueueMessageCount.average
|
|
error_handler: DISCARD_VALUE
|
|
- type: DISCARD_UNCHANGED_HEARTBEAT
|
|
parameters:
|
|
- 3h
|
|
master_item:
|
|
key: 'azure.get.storage.acc[{#NAME}]'
|
|
tags:
|
|
- tag: component
|
|
value: storages
|
|
- tag: metrics
|
|
value: queue
|
|
- tag: storage
|
|
value: '{#NAME}'
|
|
- uuid: eccdbf48412e4c28afc3bbf87c545cc2
|
|
name: 'Storage account [{#NAME}]: Queue Success E2E Latency'
|
|
type: DEPENDENT
|
|
key: 'azure.storage.queue.success.e2e.latency[{#NAME}]'
|
|
delay: '0'
|
|
value_type: FLOAT
|
|
units: s
|
|
description: |
|
|
The average end-to-end latency of successful requests made to a storage service or the specified API operation, expressed in milliseconds.
|
|
This value includes the required processing time within Azure Storage to read the request, send the response, and receive acknowledgment of the response.
|
|
preprocessing:
|
|
- type: JSONPATH
|
|
parameters:
|
|
- $.queueServices.queue.SuccessE2ELatency.average
|
|
error_handler: DISCARD_VALUE
|
|
- type: MULTIPLIER
|
|
parameters:
|
|
- '0.001'
|
|
- type: DISCARD_UNCHANGED_HEARTBEAT
|
|
parameters:
|
|
- 3h
|
|
master_item:
|
|
key: 'azure.get.storage.acc[{#NAME}]'
|
|
tags:
|
|
- tag: component
|
|
value: storages
|
|
- tag: metrics
|
|
value: queue
|
|
- tag: storage
|
|
value: '{#NAME}'
|
|
- uuid: 4d9aa2753d944690b01a23bcd44fd52d
|
|
name: 'Storage account [{#NAME}]: Queue Success Server Latency'
|
|
type: DEPENDENT
|
|
key: 'azure.storage.queue.success.server.latency[{#NAME}]'
|
|
delay: '0'
|
|
value_type: FLOAT
|
|
units: s
|
|
description: |
|
|
The average time used to process a successful request by Azure Storage.
|
|
This value does not include the network latency specified in `SuccessE2ELatency`.
|
|
preprocessing:
|
|
- type: JSONPATH
|
|
parameters:
|
|
- $.queueServices.SuccessServerLatency.average
|
|
error_handler: DISCARD_VALUE
|
|
- type: MULTIPLIER
|
|
parameters:
|
|
- '0.001'
|
|
- type: DISCARD_UNCHANGED_HEARTBEAT
|
|
parameters:
|
|
- 3h
|
|
master_item:
|
|
key: 'azure.get.storage.acc[{#NAME}]'
|
|
tags:
|
|
- tag: component
|
|
value: storages
|
|
- tag: metrics
|
|
value: queue
|
|
- tag: storage
|
|
value: '{#NAME}'
|
|
- uuid: e472739df4634b55be2466bd91af9886
|
|
name: 'Storage account [{#NAME}]: Queue Transactions'
|
|
type: DEPENDENT
|
|
key: 'azure.storage.queue.transactions[{#NAME}]'
|
|
delay: '0'
|
|
description: |
|
|
The number of requests made to the storage service or a specified API operation.
|
|
This number includes successful and failed requests and also requests that produced errors.
|
|
Use `ResponseType` dimension for the number of different types of responses.
|
|
preprocessing:
|
|
- type: JSONPATH
|
|
parameters:
|
|
- $.queueServices.Transactions.total
|
|
error_handler: DISCARD_VALUE
|
|
- type: DISCARD_UNCHANGED_HEARTBEAT
|
|
parameters:
|
|
- 3h
|
|
master_item:
|
|
key: 'azure.get.storage.acc[{#NAME}]'
|
|
tags:
|
|
- tag: component
|
|
value: storages
|
|
- tag: metrics
|
|
value: queue
|
|
- tag: storage
|
|
value: '{#NAME}'
|
|
- uuid: 48437de0bdca4f5392c295ca8b82bd0a
|
|
name: 'Storage account [{#NAME}]: Success E2E Latency'
|
|
type: DEPENDENT
|
|
key: 'azure.storage.success.e2e.latency[{#NAME}]'
|
|
delay: '0'
|
|
value_type: FLOAT
|
|
units: s
|
|
description: |
|
|
The average end-to-end latency of successful requests made to a storage service or the specified API operation, expressed in milliseconds.
|
|
This value includes the required processing time within Azure Storage to read the request, send the response, and receive acknowledgment of the response.
|
|
preprocessing:
|
|
- type: JSONPATH
|
|
parameters:
|
|
- $.storageAccount.SuccessE2ELatency.average
|
|
error_handler: DISCARD_VALUE
|
|
- type: MULTIPLIER
|
|
parameters:
|
|
- '0.001'
|
|
- type: DISCARD_UNCHANGED_HEARTBEAT
|
|
parameters:
|
|
- 3h
|
|
master_item:
|
|
key: 'azure.get.storage.acc[{#NAME}]'
|
|
tags:
|
|
- tag: component
|
|
value: storages
|
|
- tag: metrics
|
|
value: common
|
|
- tag: storage
|
|
value: '{#NAME}'
|
|
- uuid: 7076dbfb45cd49828b96064aa892e8e4
|
|
name: 'Storage account [{#NAME}]: Success Server Latency'
|
|
type: DEPENDENT
|
|
key: 'azure.storage.success.server.latency[{#NAME}]'
|
|
delay: '0'
|
|
value_type: FLOAT
|
|
units: s
|
|
description: |
|
|
The average time used to process a successful request by Azure Storage.
|
|
This value does not include the network latency specified in `SuccessE2ELatency`.
|
|
preprocessing:
|
|
- type: JSONPATH
|
|
parameters:
|
|
- $.storageAccount.SuccessServerLatency.average
|
|
error_handler: DISCARD_VALUE
|
|
- type: MULTIPLIER
|
|
parameters:
|
|
- '0.001'
|
|
- type: DISCARD_UNCHANGED_HEARTBEAT
|
|
parameters:
|
|
- 3h
|
|
master_item:
|
|
key: 'azure.get.storage.acc[{#NAME}]'
|
|
tags:
|
|
- tag: component
|
|
value: storages
|
|
- tag: metrics
|
|
value: common
|
|
- tag: storage
|
|
value: '{#NAME}'
|
|
- uuid: 918f1d1c70964e7c9f5521cf99bbb21d
|
|
name: 'Storage account [{#NAME}]: Table Availability'
|
|
type: DEPENDENT
|
|
key: 'azure.storage.table.availability[{#NAME}]'
|
|
delay: '0'
|
|
value_type: FLOAT
|
|
units: '%'
|
|
description: |
|
|
The percentage of availability for the storage service or a specified API operation.
|
|
Availability is calculated by taking the `TotalBillableRequests` value and dividing it by the number of applicable requests, including those that produced unexpected errors.
|
|
All unexpected errors result in reduced availability for the storage service or the specified API operation.
|
|
preprocessing:
|
|
- type: JSONPATH
|
|
parameters:
|
|
- $.tableServices.Availability.average
|
|
error_handler: DISCARD_VALUE
|
|
- type: DISCARD_UNCHANGED_HEARTBEAT
|
|
parameters:
|
|
- 3h
|
|
master_item:
|
|
key: 'azure.get.storage.acc[{#NAME}]'
|
|
tags:
|
|
- tag: component
|
|
value: storages
|
|
- tag: metrics
|
|
value: table
|
|
- tag: storage
|
|
value: '{#NAME}'
|
|
trigger_prototypes:
|
|
- uuid: bfb1e82685224048ba8082447cad57ca
|
|
expression: '(min(/Azure by HTTP/azure.storage.table.availability[{#NAME}],#3))<{$AZURE.STORAGE.ACC.TABLE.AVAILABILITY:"{#NAME}"}'
|
|
name: 'Azure: Storage account [{#NAME}]: Table Availability is low'
|
|
event_name: 'Azure: Storage account [{#NAME} table availability is too low (less than {$AZURE.STORAGE.ACC.TABLE.AVAILABILITY:"{#NAME}"}%)'
|
|
opdata: '{ITEM.LASTVALUE1}'
|
|
priority: WARNING
|
|
tags:
|
|
- tag: scope
|
|
value: availability
|
|
- uuid: ee19a3857a7a4650952eb855193991ee
|
|
name: 'Storage account [{#NAME}]: Table Capacity'
|
|
type: DEPENDENT
|
|
key: 'azure.storage.table.capacity[{#NAME}]'
|
|
delay: '0'
|
|
value_type: FLOAT
|
|
units: B
|
|
description: 'The amount of storage used by the table service of the storage account with the name `[{#NAME}]`, expressed in bytes.'
|
|
preprocessing:
|
|
- type: JSONPATH
|
|
parameters:
|
|
- $.tableServices.TableCapacity.average
|
|
error_handler: DISCARD_VALUE
|
|
- type: DISCARD_UNCHANGED_HEARTBEAT
|
|
parameters:
|
|
- 3h
|
|
master_item:
|
|
key: 'azure.get.storage.acc[{#NAME}]'
|
|
tags:
|
|
- tag: component
|
|
value: storages
|
|
- tag: metrics
|
|
value: table
|
|
- tag: storage
|
|
value: '{#NAME}'
|
|
- uuid: a3d11321b1cc4c1b9c322c0a7162e76e
|
|
name: 'Storage account [{#NAME}]: Table Count'
|
|
type: DEPENDENT
|
|
key: 'azure.storage.table.count[{#NAME}]'
|
|
delay: '0'
|
|
description: 'The number of tables in the storage account with the name `[{#NAME}]`.'
|
|
preprocessing:
|
|
- type: JSONPATH
|
|
parameters:
|
|
- $.tableServices.TableCount.average
|
|
error_handler: DISCARD_VALUE
|
|
- type: DISCARD_UNCHANGED_HEARTBEAT
|
|
parameters:
|
|
- 3h
|
|
master_item:
|
|
key: 'azure.get.storage.acc[{#NAME}]'
|
|
tags:
|
|
- tag: component
|
|
value: storages
|
|
- tag: metrics
|
|
value: table
|
|
- tag: storage
|
|
value: '{#NAME}'
|
|
- uuid: d75bd57fdd9f4377aea7c1e52a109c18
|
|
name: 'Storage account [{#NAME}]: Table Egress'
|
|
type: DEPENDENT
|
|
key: 'azure.storage.table.engress[{#NAME}]'
|
|
delay: '0'
|
|
value_type: FLOAT
|
|
units: B
|
|
description: |
|
|
The amount of egress data. This number includes egress to external client from Azure Storage and also egress within Azure.
|
|
As a result, this number does not reflect billable egress.
|
|
preprocessing:
|
|
- type: JSONPATH
|
|
parameters:
|
|
- $.tableServices.Egress.total
|
|
error_handler: DISCARD_VALUE
|
|
- type: DISCARD_UNCHANGED_HEARTBEAT
|
|
parameters:
|
|
- 3h
|
|
master_item:
|
|
key: 'azure.get.storage.acc[{#NAME}]'
|
|
tags:
|
|
- tag: component
|
|
value: storages
|
|
- tag: metrics
|
|
value: table
|
|
- tag: storage
|
|
value: '{#NAME}'
|
|
- uuid: f2911504457b4d329ae7cf7d7a24594a
|
|
name: 'Storage account [{#NAME}]: Table Entity Count'
|
|
type: DEPENDENT
|
|
key: 'azure.storage.table.entity.count[{#NAME}]'
|
|
delay: '0'
|
|
description: 'The number of table entities in the storage account with the name `[{#NAME}]`.'
|
|
preprocessing:
|
|
- type: JSONPATH
|
|
parameters:
|
|
- $.tableServices.TableEntityCount.average
|
|
error_handler: DISCARD_VALUE
|
|
- type: DISCARD_UNCHANGED_HEARTBEAT
|
|
parameters:
|
|
- 3h
|
|
master_item:
|
|
key: 'azure.get.storage.acc[{#NAME}]'
|
|
tags:
|
|
- tag: component
|
|
value: storages
|
|
- tag: metrics
|
|
value: table
|
|
- tag: storage
|
|
value: '{#NAME}'
|
|
- uuid: 993ca2e5bcd74d27b19998d77f0abec8
|
|
name: 'Storage account [{#NAME}]: Table Ingress'
|
|
type: DEPENDENT
|
|
key: 'azure.storage.table.ingress[{#NAME}]'
|
|
delay: '0'
|
|
value_type: FLOAT
|
|
units: B
|
|
description: 'The amount of ingress data, expressed in bytes. This number includes ingress from an external client into Azure Storage and also ingress within Azure.'
|
|
preprocessing:
|
|
- type: JSONPATH
|
|
parameters:
|
|
- $.tableServices.Ingress.total
|
|
error_handler: DISCARD_VALUE
|
|
- type: DISCARD_UNCHANGED_HEARTBEAT
|
|
parameters:
|
|
- 3h
|
|
master_item:
|
|
key: 'azure.get.storage.acc[{#NAME}]'
|
|
tags:
|
|
- tag: component
|
|
value: storages
|
|
- tag: metrics
|
|
value: table
|
|
- tag: storage
|
|
value: '{#NAME}'
|
|
- uuid: 00c441cc77f4447584d4bffbefc304e0
|
|
name: 'Storage account [{#NAME}]: Table Success E2E Latency'
|
|
type: DEPENDENT
|
|
key: 'azure.storage.table.success.e2e.latency[{#NAME}]'
|
|
delay: '0'
|
|
value_type: FLOAT
|
|
units: s
|
|
description: |
|
|
The average end-to-end latency of successful requests made to a storage service or the specified API operation, expressed in milliseconds.
|
|
This value includes the required processing time within Azure Storage to read the request, send the response, and receive acknowledgment of the response.
|
|
preprocessing:
|
|
- type: JSONPATH
|
|
parameters:
|
|
- $.tableServices.SuccessE2ELatency.average
|
|
error_handler: DISCARD_VALUE
|
|
- type: MULTIPLIER
|
|
parameters:
|
|
- '0.001'
|
|
- type: DISCARD_UNCHANGED_HEARTBEAT
|
|
parameters:
|
|
- 3h
|
|
master_item:
|
|
key: 'azure.get.storage.acc[{#NAME}]'
|
|
tags:
|
|
- tag: component
|
|
value: storages
|
|
- tag: metrics
|
|
value: table
|
|
- tag: storage
|
|
value: '{#NAME}'
|
|
- uuid: f29e3ad4be034f38932cb85654397926
|
|
name: 'Storage account [{#NAME}]: Table Success Server Latency'
|
|
type: DEPENDENT
|
|
key: 'azure.storage.table.success.server.latency[{#NAME}]'
|
|
delay: '0'
|
|
value_type: FLOAT
|
|
units: s
|
|
description: |
|
|
The average time used to process a successful request by Azure Storage.
|
|
This value does not include the network latency specified in `SuccessE2ELatency`.
|
|
preprocessing:
|
|
- type: JSONPATH
|
|
parameters:
|
|
- $.tableServices.SuccessServerLatency.average
|
|
error_handler: DISCARD_VALUE
|
|
- type: MULTIPLIER
|
|
parameters:
|
|
- '0.001'
|
|
- type: DISCARD_UNCHANGED_HEARTBEAT
|
|
parameters:
|
|
- 3h
|
|
master_item:
|
|
key: 'azure.get.storage.acc[{#NAME}]'
|
|
tags:
|
|
- tag: component
|
|
value: storages
|
|
- tag: metrics
|
|
value: table
|
|
- tag: storage
|
|
value: '{#NAME}'
|
|
- uuid: 9ba25e87c5bb466a99855a9fb893283d
|
|
name: 'Storage account [{#NAME}]: Table Transactions'
|
|
type: DEPENDENT
|
|
key: 'azure.storage.table.transactions[{#NAME}]'
|
|
delay: '0'
|
|
description: |
|
|
The number of requests made to the storage service or a specified API operation.
|
|
This number includes successful and failed requests and also requests that produced errors.
|
|
Use `ResponseType` dimension for the number of different types of responses.
|
|
preprocessing:
|
|
- type: JSONPATH
|
|
parameters:
|
|
- $.tableServices.Transactions.total
|
|
error_handler: DISCARD_VALUE
|
|
- type: DISCARD_UNCHANGED_HEARTBEAT
|
|
parameters:
|
|
- 3h
|
|
master_item:
|
|
key: 'azure.get.storage.acc[{#NAME}]'
|
|
tags:
|
|
- tag: component
|
|
value: storages
|
|
- tag: metrics
|
|
value: table
|
|
- tag: storage
|
|
value: '{#NAME}'
|
|
- uuid: 6f68f0d8a63640ffa549fde44e8fe56c
|
|
name: 'Storage account [{#NAME}]: Transactions'
|
|
type: DEPENDENT
|
|
key: 'azure.storage.transactions[{#NAME}]'
|
|
delay: '0'
|
|
description: |
|
|
The number of requests made to the storage service or a specified API operation.
|
|
This number includes successful and failed requests and also requests that produced errors.
|
|
Use `ResponseType` dimension for the number of different types of responses.
|
|
preprocessing:
|
|
- type: JSONPATH
|
|
parameters:
|
|
- $.storageAccount.Transactions.total
|
|
error_handler: DISCARD_VALUE
|
|
- type: DISCARD_UNCHANGED_HEARTBEAT
|
|
parameters:
|
|
- 3h
|
|
master_item:
|
|
key: 'azure.get.storage.acc[{#NAME}]'
|
|
tags:
|
|
- tag: component
|
|
value: storages
|
|
- tag: metrics
|
|
value: common
|
|
- tag: storage
|
|
value: '{#NAME}'
|
|
- uuid: 08ef07d874db4823bd167482bf049916
|
|
name: 'Storage account [{#NAME}]: Used Capacity'
|
|
type: DEPENDENT
|
|
key: 'azure.storage.used.capacity[{#NAME}]'
|
|
delay: '0'
|
|
value_type: FLOAT
|
|
units: B
|
|
description: |
|
|
The amount of storage used by the storage account with the name `[{#NAME}]`, expressed in bytes.
|
|
For standard storage accounts, it's the sum of capacity used by blob, table, file, and queue.
|
|
For premium storage accounts and blob storage accounts, it is the same as BlobCapacity or FileCapacity.
|
|
preprocessing:
|
|
- type: JSONPATH
|
|
parameters:
|
|
- $.storageAccount.UsedCapacity.average
|
|
error_handler: DISCARD_VALUE
|
|
- type: DISCARD_UNCHANGED_HEARTBEAT
|
|
parameters:
|
|
- 3h
|
|
master_item:
|
|
key: 'azure.get.storage.acc[{#NAME}]'
|
|
tags:
|
|
- tag: component
|
|
value: storages
|
|
- tag: metrics
|
|
value: common
|
|
- tag: storage
|
|
value: '{#NAME}'
|
|
graph_prototypes:
|
|
- uuid: d569e0daf1974df58584432805f95557
|
|
name: 'Azure: Capacity by storage [{#NAME}]'
|
|
graph_items:
|
|
- color: 199C0D
|
|
item:
|
|
host: 'Azure by HTTP'
|
|
key: 'azure.storage.used.capacity[{#NAME}]'
|
|
- sortorder: '1'
|
|
color: F63100
|
|
item:
|
|
host: 'Azure by HTTP'
|
|
key: 'azure.storage.blob.capacity[{#NAME}]'
|
|
- sortorder: '2'
|
|
color: 00611C
|
|
item:
|
|
host: 'Azure by HTTP'
|
|
key: 'azure.storage.table.capacity[{#NAME}]'
|
|
- sortorder: '3'
|
|
color: F7941D
|
|
item:
|
|
host: 'Azure by HTTP'
|
|
key: 'azure.storage.file.capacity[{#NAME}]'
|
|
- sortorder: '4'
|
|
color: FC6EA3
|
|
item:
|
|
host: 'Azure by HTTP'
|
|
key: 'azure.storage.queue.capacity[{#NAME}]'
|
|
- uuid: 6bae0cf983104e0fada61468902949e1
|
|
name: 'Azure: Storage account [{#NAME}] egress'
|
|
graph_items:
|
|
- color: 199C0D
|
|
item:
|
|
host: 'Azure by HTTP'
|
|
key: 'azure.storage.engress[{#NAME}]'
|
|
- sortorder: '1'
|
|
color: F63100
|
|
item:
|
|
host: 'Azure by HTTP'
|
|
key: 'azure.storage.blob.engress[{#NAME}]'
|
|
- sortorder: '2'
|
|
color: 00611C
|
|
item:
|
|
host: 'Azure by HTTP'
|
|
key: 'azure.storage.table.engress[{#NAME}]'
|
|
- sortorder: '3'
|
|
color: F7941D
|
|
item:
|
|
host: 'Azure by HTTP'
|
|
key: 'azure.storage.file.engress[{#NAME}]'
|
|
- sortorder: '4'
|
|
color: FC6EA3
|
|
item:
|
|
host: 'Azure by HTTP'
|
|
key: 'azure.storage.queue.engress[{#NAME}]'
|
|
- uuid: 8860c37426104045a7f9feb6cc370db4
|
|
name: 'Azure: Storage account [{#NAME}] ingress'
|
|
graph_items:
|
|
- color: 199C0D
|
|
item:
|
|
host: 'Azure by HTTP'
|
|
key: 'azure.storage.ingress[{#NAME}]'
|
|
- sortorder: '1'
|
|
color: F63100
|
|
item:
|
|
host: 'Azure by HTTP'
|
|
key: 'azure.storage.blob.ingress[{#NAME}]'
|
|
- sortorder: '2'
|
|
color: 00611C
|
|
item:
|
|
host: 'Azure by HTTP'
|
|
key: 'azure.storage.table.ingress[{#NAME}]'
|
|
- sortorder: '3'
|
|
color: F7941D
|
|
item:
|
|
host: 'Azure by HTTP'
|
|
key: 'azure.storage.file.ingress[{#NAME}]'
|
|
- sortorder: '4'
|
|
color: FC6EA3
|
|
item:
|
|
host: 'Azure by HTTP'
|
|
key: 'azure.storage.queue.ingress[{#NAME}]'
|
|
- uuid: 9c87dfb9ed7e4c1ea32c8e35c6e23381
|
|
name: 'Azure: Transactions by storage [{#NAME}]'
|
|
graph_items:
|
|
- color: 199C0D
|
|
item:
|
|
host: 'Azure by HTTP'
|
|
key: 'azure.storage.transactions[{#NAME}]'
|
|
- sortorder: '1'
|
|
color: F63100
|
|
item:
|
|
host: 'Azure by HTTP'
|
|
key: 'azure.storage.blob.transactions[{#NAME}]'
|
|
- sortorder: '2'
|
|
color: 00611C
|
|
item:
|
|
host: 'Azure by HTTP'
|
|
key: 'azure.storage.table.transactions[{#NAME}]'
|
|
- sortorder: '3'
|
|
color: F7941D
|
|
item:
|
|
host: 'Azure by HTTP'
|
|
key: 'azure.storage.file.transactions[{#NAME}]'
|
|
- sortorder: '4'
|
|
color: FC6EA3
|
|
item:
|
|
host: 'Azure by HTTP'
|
|
key: 'azure.storage.queue.transactions[{#NAME}]'
|
|
master_item:
|
|
key: azure.get.storage.acc
|
|
lld_macro_paths:
|
|
- lld_macro: '{#GROUP}'
|
|
path: $.resourceGroup
|
|
- lld_macro: '{#ID}'
|
|
path: $.id
|
|
- lld_macro: '{#LOCATION}'
|
|
path: $.location
|
|
- lld_macro: '{#NAME}'
|
|
path: $.name
|
|
- lld_macro: '{#TOKEN}'
|
|
path: $.token
|
|
preprocessing:
|
|
- type: DISCARD_UNCHANGED_HEARTBEAT
|
|
parameters:
|
|
- 6h
|
|
- uuid: b00b92f713724eaa9f028acf244527a6
|
|
name: 'Azure Vault discovery'
|
|
type: DEPENDENT
|
|
key: azure.vault.discovery
|
|
delay: '0'
|
|
filter:
|
|
evaltype: AND
|
|
conditions:
|
|
- macro: '{#GROUP}'
|
|
value: '{$AZURE.RESOURCE.GROUP.MATCHES}'
|
|
formulaid: A
|
|
- macro: '{#GROUP}'
|
|
value: '{$AZURE.RESOURCE.GROUP.NOT.MATCHES}'
|
|
operator: NOT_MATCHES_REGEX
|
|
formulaid: B
|
|
- macro: '{#LOCATION}'
|
|
value: '{$AZURE.VAULT.LOCATION.MATCHES}'
|
|
formulaid: C
|
|
- macro: '{#LOCATION}'
|
|
value: '{$AZURE.VAULT.LOCATION.NOT.MATCHES}'
|
|
operator: NOT_MATCHES_REGEX
|
|
formulaid: D
|
|
- macro: '{#NAME}'
|
|
value: '{$AZURE.VAULT.NAME.MATCHES}'
|
|
formulaid: E
|
|
- macro: '{#NAME}'
|
|
value: '{$AZURE.VAULT.NAME.NOT.MATCHES}'
|
|
operator: NOT_MATCHES_REGEX
|
|
formulaid: F
|
|
- macro: '{#TYPE}'
|
|
value: '^Microsoft.*(v|V)aults$'
|
|
formulaid: G
|
|
description: 'The list of Azure Recovery Services and Backup vaults provided by the subscription.'
|
|
host_prototypes:
|
|
- uuid: fb057eebe3fb4d2483c8a3e7fe4c7b07
|
|
host: 'Azure vault {#NAME}'
|
|
name: 'Azure vault {#NAME}'
|
|
group_links:
|
|
- group:
|
|
name: Applications
|
|
templates:
|
|
- name: 'Azure Backup Jobs by HTTP'
|
|
macros:
|
|
- macro: '{$AZURE.RESOURCE.ID}'
|
|
value: '{#ID}'
|
|
description: 'Microsoft Azure resource ID.'
|
|
tags:
|
|
- tag: location
|
|
value: '{#LOCATION}'
|
|
- tag: resource-group
|
|
value: '{#GROUP}'
|
|
master_item:
|
|
key: azure.get.resources
|
|
lld_macro_paths:
|
|
- lld_macro: '{#GROUP}'
|
|
path: $.resourceGroup
|
|
- lld_macro: '{#ID}'
|
|
path: $.id
|
|
- lld_macro: '{#LOCATION}'
|
|
path: $.location
|
|
- lld_macro: '{#NAME}'
|
|
path: $.name
|
|
- lld_macro: '{#TYPE}'
|
|
path: $.type
|
|
preprocessing:
|
|
- type: JSONPATH
|
|
parameters:
|
|
- $.resources.value
|
|
- type: DISCARD_UNCHANGED_HEARTBEAT
|
|
parameters:
|
|
- 6h
|
|
- uuid: f9386233186648ce828f406c52972ce5
|
|
name: 'Virtual machines discovery'
|
|
type: DEPENDENT
|
|
key: azure.vm.discovery
|
|
delay: '0'
|
|
filter:
|
|
evaltype: AND
|
|
conditions:
|
|
- macro: '{#GROUP}'
|
|
value: '{$AZURE.RESOURCE.GROUP.MATCHES}'
|
|
formulaid: A
|
|
- macro: '{#GROUP}'
|
|
value: '{$AZURE.RESOURCE.GROUP.NOT.MATCHES}'
|
|
operator: NOT_MATCHES_REGEX
|
|
formulaid: B
|
|
- macro: '{#LOCATION}'
|
|
value: '{$AZURE.VM.LOCATION.MATCHES}'
|
|
formulaid: C
|
|
- macro: '{#LOCATION}'
|
|
value: '{$AZURE.VM.LOCATION.NOT.MATCHES}'
|
|
operator: NOT_MATCHES_REGEX
|
|
formulaid: D
|
|
- macro: '{#NAME}'
|
|
value: '{$AZURE.VM.NAME.MATCHES}'
|
|
formulaid: E
|
|
- macro: '{#NAME}'
|
|
value: '{$AZURE.VM.NAME.NOT.MATCHES}'
|
|
operator: NOT_MATCHES_REGEX
|
|
formulaid: F
|
|
- macro: '{#SCALESET}'
|
|
operator: NOT_EXISTS
|
|
formulaid: G
|
|
- macro: '{#TYPE}'
|
|
value: ^Microsoft.Compute/virtualMachines$
|
|
formulaid: H
|
|
description: 'The list of virtual machines provided by the subscription.'
|
|
host_prototypes:
|
|
- uuid: d08c0ee33c924b28bf1fed571da6c7f4
|
|
host: 'Azure virtual machine {#NAME}'
|
|
name: 'Azure virtual machine {#NAME}'
|
|
group_links:
|
|
- group:
|
|
name: 'Virtual machines'
|
|
templates:
|
|
- name: 'Azure Virtual Machine by HTTP'
|
|
macros:
|
|
- macro: '{$AZURE.RESOURCE.ID}'
|
|
value: '{#ID}'
|
|
description: 'Microsoft Azure resource ID.'
|
|
tags:
|
|
- tag: location
|
|
value: '{#LOCATION}'
|
|
- tag: os
|
|
value: '{#OS}'
|
|
- tag: resource-group
|
|
value: '{#GROUP}'
|
|
- tag: size
|
|
value: '{#SIZE}'
|
|
master_item:
|
|
key: azure.get.resources
|
|
lld_macro_paths:
|
|
- lld_macro: '{#GROUP}'
|
|
path: $.resourceGroup
|
|
- lld_macro: '{#ID}'
|
|
path: $.id
|
|
- lld_macro: '{#LOCATION}'
|
|
path: $.location
|
|
- lld_macro: '{#NAME}'
|
|
path: $.name
|
|
- lld_macro: '{#OS}'
|
|
path: $.properties.storageProfile.osDisk.osType
|
|
- lld_macro: '{#SCALESET}'
|
|
path: $.properties.virtualMachineScaleSet
|
|
- lld_macro: '{#SIZE}'
|
|
path: $.properties.hardwareProfile.vmSize
|
|
- lld_macro: '{#TYPE}'
|
|
path: $.type
|
|
preprocessing:
|
|
- type: JSONPATH
|
|
parameters:
|
|
- $.resources.value
|
|
- type: DISCARD_UNCHANGED_HEARTBEAT
|
|
parameters:
|
|
- 6h
|
|
tags:
|
|
- tag: class
|
|
value: software
|
|
- tag: target
|
|
value: azure
|
|
macros:
|
|
- macro: '{$AZURE.APP.ID}'
|
|
description: 'Client (Application) ID of the Azure service principal.'
|
|
- macro: '{$AZURE.COSMOS.MONGO.DB.LOCATION.MATCHES}'
|
|
value: '.*'
|
|
description: 'Regex string to include discovered Cosmos DB account locations by name.'
|
|
- macro: '{$AZURE.COSMOS.MONGO.DB.LOCATION.NOT.MATCHES}'
|
|
value: CHANGE_IF_NEEDED
|
|
description: 'Regex string to exclude discovered Cosmos DB account locations by name.'
|
|
- macro: '{$AZURE.COSMOS.MONGO.DB.NAME.MATCHES}'
|
|
value: '.*'
|
|
description: 'Regex string to include discovered Cosmos DB accounts by name.'
|
|
- macro: '{$AZURE.COSMOS.MONGO.DB.NAME.NOT.MATCHES}'
|
|
value: CHANGE_IF_NEEDED
|
|
description: 'Regex string to exclude discovered Cosmos DB accounts by name.'
|
|
- macro: '{$AZURE.DATA.TIMEOUT}'
|
|
value: 15s
|
|
description: 'Maximum time to wait for Azure API responses before request fails.'
|
|
- macro: '{$AZURE.MSSQL.DB.LOCATION.MATCHES}'
|
|
value: '.*'
|
|
description: 'Regex string to include discovered MSSQL database locations by name.'
|
|
- macro: '{$AZURE.MSSQL.DB.LOCATION.NOT.MATCHES}'
|
|
value: CHANGE_IF_NEEDED
|
|
description: 'Regex string to exclude discovered MSSQL database locations by name.'
|
|
- macro: '{$AZURE.MSSQL.DB.NAME.MATCHES}'
|
|
value: '.*'
|
|
description: 'Regex string to include discovered Microsoft SQL databases by name.'
|
|
- macro: '{$AZURE.MSSQL.DB.NAME.NOT.MATCHES}'
|
|
value: CHANGE_IF_NEEDED
|
|
description: 'Regex string to exclude discovered MSSQL databases by name.'
|
|
- macro: '{$AZURE.MSSQL.DB.SIZE.NOT.MATCHES}'
|
|
value: ^System$
|
|
description: 'Regex string to exclude discovered MSSQL database locations by SKU type.'
|
|
- macro: '{$AZURE.MYSQL.DB.LOCATION.MATCHES}'
|
|
value: '.*'
|
|
description: 'Regex string to include discovered MySQL server locations by name.'
|
|
- macro: '{$AZURE.MYSQL.DB.LOCATION.NOT.MATCHES}'
|
|
value: CHANGE_IF_NEEDED
|
|
description: 'Regex string to exclude discovered MySQL server locations by name.'
|
|
- macro: '{$AZURE.MYSQL.DB.NAME.MATCHES}'
|
|
value: '.*'
|
|
description: 'Regex string to include discovered MySQL servers by name.'
|
|
- macro: '{$AZURE.MYSQL.DB.NAME.NOT.MATCHES}'
|
|
value: CHANGE_IF_NEEDED
|
|
description: 'Regex string to exclude discovered MySQL servers by name.'
|
|
- macro: '{$AZURE.PASSWORD}'
|
|
type: SECRET_TEXT
|
|
description: 'Client secret of the Azure service principal used for API authentication.'
|
|
- macro: '{$AZURE.PGSQL.DB.LOCATION.MATCHES}'
|
|
value: '.*'
|
|
description: 'Regex string to include discovered PostgreSQL server locations by name.'
|
|
- macro: '{$AZURE.PGSQL.DB.LOCATION.NOT.MATCHES}'
|
|
value: CHANGE_IF_NEEDED
|
|
description: 'Regex string to exclude discovered PostgreSQL server locations by name.'
|
|
- macro: '{$AZURE.PGSQL.DB.NAME.MATCHES}'
|
|
value: '.*'
|
|
description: 'Regex string to include discovered PostgreSQL servers by name.'
|
|
- macro: '{$AZURE.PGSQL.DB.NAME.NOT.MATCHES}'
|
|
value: CHANGE_IF_NEEDED
|
|
description: 'Regex string to exclude discovered PostgreSQL servers by name.'
|
|
- macro: '{$AZURE.PROXY}'
|
|
description: 'Sets the HTTP proxy value. If this macro is empty, then no proxy is used.'
|
|
- macro: '{$AZURE.RESOURCE.GROUP.MATCHES}'
|
|
value: '.*'
|
|
description: 'Regex string to include discovered resource groups by name.'
|
|
- macro: '{$AZURE.RESOURCE.GROUP.NOT.MATCHES}'
|
|
value: CHANGE_IF_NEEDED
|
|
description: 'Regex string to exclude discovered resource groups by name.'
|
|
- macro: '{$AZURE.SCALESET.LOCATION.MATCHES}'
|
|
value: '.*'
|
|
description: 'Regex string to include discovered VM scale set locations by name.'
|
|
- macro: '{$AZURE.SCALESET.LOCATION.NOT.MATCHES}'
|
|
value: CHANGE_IF_NEEDED
|
|
description: 'Regex string to exclude discovered VM scale set locations by name.'
|
|
- macro: '{$AZURE.SCALESET.NAME.MATCHES}'
|
|
value: '.*'
|
|
description: 'Regex string to include discovered VM scale sets by name.'
|
|
- macro: '{$AZURE.SCALESET.NAME.NOT.MATCHES}'
|
|
value: CHANGE_IF_NEEDED
|
|
description: 'Regex string to exclude discovered VM scale sets by name.'
|
|
- macro: '{$AZURE.SQL.INST.LOCATION.MATCHES}'
|
|
value: '.*'
|
|
description: 'Regex string to include discovered Azure SQL managed instance locations by name.'
|
|
- macro: '{$AZURE.SQL.INST.LOCATION.NOT.MATCHES}'
|
|
value: CHANGE_IF_NEEDED
|
|
description: 'Regex string to exclude discovered Azure SQL managed instance locations by name.'
|
|
- macro: '{$AZURE.SQL.INST.NAME.MATCHES}'
|
|
value: '.*'
|
|
description: 'Regex string to include discovered Azure SQL managed instances by name.'
|
|
- macro: '{$AZURE.SQL.INST.NAME.NOT.MATCHES}'
|
|
value: CHANGE_IF_NEEDED
|
|
description: 'Regex string to exclude discovered Azure SQL managed instances by name.'
|
|
- macro: '{$AZURE.STORAGE.ACC.AVAILABILITY}'
|
|
value: '70'
|
|
description: 'The warning threshold of the storage account availability.'
|
|
- macro: '{$AZURE.STORAGE.ACC.BLOB.AVAILABILITY}'
|
|
value: '70'
|
|
description: 'The warning threshold of the storage account blob services availability.'
|
|
- macro: '{$AZURE.STORAGE.ACC.LOCATION.MATCHES}'
|
|
value: '.*'
|
|
description: 'Regex string to include discovered storage account locations by name.'
|
|
- macro: '{$AZURE.STORAGE.ACC.LOCATION.NOT.MATCHES}'
|
|
value: CHANGE_IF_NEEDED
|
|
description: 'Regex string to exclude discovered storage account locations by name.'
|
|
- macro: '{$AZURE.STORAGE.ACC.NAME.MATCHES}'
|
|
value: '.*'
|
|
description: 'Regex string to include discovered storage accounts by name.'
|
|
- macro: '{$AZURE.STORAGE.ACC.NAME.NOT.MATCHES}'
|
|
value: CHANGE_IF_NEEDED
|
|
description: 'Regex string to exclude discovered storage accounts by name.'
|
|
- macro: '{$AZURE.STORAGE.ACC.TABLE.AVAILABILITY}'
|
|
value: '70'
|
|
description: 'The warning threshold of the storage account table services availability.'
|
|
- macro: '{$AZURE.SUBSCRIPTION.ID}'
|
|
description: 'Azure Subscription ID used to scope all API requests.'
|
|
- macro: '{$AZURE.TENANT.ID}'
|
|
description: 'Azure Tenant (Directory) ID used for authentication.'
|
|
- macro: '{$AZURE.VAULT.LOCATION.MATCHES}'
|
|
value: '.*'
|
|
description: 'Regex string to include discovered Azure Vault locations by name.'
|
|
- macro: '{$AZURE.VAULT.LOCATION.NOT.MATCHES}'
|
|
value: CHANGE_IF_NEEDED
|
|
description: 'Regex string to exclude discovered Azure Vault locations by name.'
|
|
- macro: '{$AZURE.VAULT.NAME.MATCHES}'
|
|
value: '.*'
|
|
description: 'Regex string to include discovered Azure Vaults by name.'
|
|
- macro: '{$AZURE.VAULT.NAME.NOT.MATCHES}'
|
|
value: CHANGE_IF_NEEDED
|
|
description: 'Regex string to exclude discovered Azure Vaults by name.'
|
|
- macro: '{$AZURE.VM.LOCATION.MATCHES}'
|
|
value: '.*'
|
|
description: 'Regex string to include discovered virtual machine locations by name.'
|
|
- macro: '{$AZURE.VM.LOCATION.NOT.MATCHES}'
|
|
value: CHANGE_IF_NEEDED
|
|
description: 'Regex string to exclude discovered virtual machine locations by name.'
|
|
- macro: '{$AZURE.VM.NAME.MATCHES}'
|
|
value: '.*'
|
|
description: 'Regex string to include discovered virtual machines by name.'
|
|
- macro: '{$AZURE.VM.NAME.NOT.MATCHES}'
|
|
value: CHANGE_IF_NEEDED
|
|
description: 'Regex string to exclude discovered virtual machines by name.'
|
|
- macro: '{$HTTP.TLS.VERIFY}'
|
|
value: full
|
|
description: 'TLS certificate verification for script items: "none" - disabled, "peer" - verify the certificate chain and expiration, "full" - full verification. Any other value enables full verification. To override the setting for this template only, define the macro with the context "Azure", e.g. {$HTTP.TLS.VERIFY:"Azure"}.'
|
|
dashboards:
|
|
- uuid: d30c78be41fe421cb98cedd7683a11f0
|
|
name: 'Overview Azure Storage accounts'
|
|
pages:
|
|
- name: 'Storage transactions'
|
|
widgets:
|
|
- type: graphprototype
|
|
width: '72'
|
|
height: '25'
|
|
fields:
|
|
- type: GRAPH_PROTOTYPE
|
|
name: graphid.0
|
|
value:
|
|
host: 'Azure by HTTP'
|
|
name: 'Azure: Transactions by storage [{#NAME}]'
|
|
- type: STRING
|
|
name: reference
|
|
value: AAAAA
|
|
- type: INTEGER
|
|
name: rows
|
|
value: '6'
|
|
- name: 'Storage engress'
|
|
widgets:
|
|
- type: graphprototype
|
|
width: '72'
|
|
height: '25'
|
|
fields:
|
|
- type: GRAPH_PROTOTYPE
|
|
name: graphid.0
|
|
value:
|
|
host: 'Azure by HTTP'
|
|
name: 'Azure: Storage account [{#NAME}] egress'
|
|
- type: STRING
|
|
name: reference
|
|
value: AAAAB
|
|
- type: INTEGER
|
|
name: rows
|
|
value: '6'
|
|
- name: 'Storage ingress'
|
|
widgets:
|
|
- type: graphprototype
|
|
width: '72'
|
|
height: '20'
|
|
fields:
|
|
- type: GRAPH_PROTOTYPE
|
|
name: graphid.0
|
|
value:
|
|
host: 'Azure by HTTP'
|
|
name: 'Azure: Storage account [{#NAME}] ingress'
|
|
- type: STRING
|
|
name: reference
|
|
value: AAAAC
|
|
- type: INTEGER
|
|
name: rows
|
|
value: '5'
|