2628 lines
101 KiB
YAML
2628 lines
101 KiB
YAML
zabbix_export:
|
||
version: '7.0'
|
||
template_groups:
|
||
- uuid: 36bff6c29af64692839d077febfc7079
|
||
name: 'Templates/Network devices'
|
||
host_groups:
|
||
- uuid: a571c0d144b14fd4a87a9d9b2aa9fcd6
|
||
name: Applications
|
||
templates:
|
||
- uuid: b917e122785c4bd4bd004e69badc93de
|
||
template: 'Ribbon SBC SWe Core by HTTP'
|
||
name: 'Ribbon SBC SWe Core by HTTP'
|
||
description: |
|
||
The Ribbon SBC Software Edition (SBC SWe) provides the same feature set as the award-winning SBC 5400 and SBC 7000 appliances, without requiring dedicated hardware.
|
||
This gives enterprises the flexibility to deploy SBC functionality in a variety of environments – in their own data centers, on private cloud infrastructure, or in a public cloud.
|
||
|
||
This template is designed for the effortless deployment of Ribbon SBC SWe Core monitoring and doesn't require any external scripts.
|
||
|
||
More details can be found in the official documentation:
|
||
- REST API Reference Guide: https://publicdoc.rbbn.com/spaces/SBXCONFAPIDOC/pages/360972436/RESTCONF+API+Reference+Guide
|
||
- REST API User Guide: https://publicdoc.rbbn.com/spaces/SBXCONFAPIDOC/pages/444760643/RESTCONF+API+User+Guide
|
||
|
||
Generated by official Zabbix template tool "Templator"
|
||
vendor:
|
||
name: Zabbix
|
||
version: 7.0-1
|
||
groups:
|
||
- name: 'Templates/Network devices'
|
||
items:
|
||
- uuid: f1058597a3b6411f93893076e454bda6
|
||
name: 'Call status: Active'
|
||
type: DEPENDENT
|
||
key: ribbon.system.call.active
|
||
delay: '0'
|
||
description: 'Current number of active managed calls on this server.'
|
||
preprocessing:
|
||
- type: JSONPATH
|
||
parameters:
|
||
- '$.callCountStatus[0].activeCalls'
|
||
- type: DISCARD_UNCHANGED_HEARTBEAT
|
||
parameters:
|
||
- 12h
|
||
master_item:
|
||
key: ribbon.system.data.get
|
||
tags:
|
||
- tag: component
|
||
value: calls
|
||
- tag: component
|
||
value: system
|
||
- uuid: 5ed0bad322164073aaf5db9b1791a3d8
|
||
name: 'Call status: Attempts'
|
||
type: DEPENDENT
|
||
key: ribbon.system.call.attempts
|
||
delay: '0'
|
||
description: 'Number of call attempts on this server.'
|
||
preprocessing:
|
||
- type: JSONPATH
|
||
parameters:
|
||
- '$.callCountStatus[0].callAttempts'
|
||
- type: DISCARD_UNCHANGED_HEARTBEAT
|
||
parameters:
|
||
- 12h
|
||
master_item:
|
||
key: ribbon.system.data.get
|
||
tags:
|
||
- tag: component
|
||
value: calls
|
||
- tag: component
|
||
value: system
|
||
- uuid: 6e5ec53168d14b3d951e48f7c0e28c2c
|
||
name: 'Call status: Completions'
|
||
type: DEPENDENT
|
||
key: ribbon.system.call.completions
|
||
delay: '0'
|
||
description: 'Total number of completed call attempts on this server.'
|
||
preprocessing:
|
||
- type: JSONPATH
|
||
parameters:
|
||
- '$.callCountStatus[0].callCompletions'
|
||
- type: DISCARD_UNCHANGED_HEARTBEAT
|
||
parameters:
|
||
- 12h
|
||
master_item:
|
||
key: ribbon.system.data.get
|
||
tags:
|
||
- tag: component
|
||
value: calls
|
||
- tag: component
|
||
value: system
|
||
- uuid: e3855ac0b82b4af6990b704eff03afbd
|
||
name: 'Call statistics: Concurrent calls'
|
||
type: DEPENDENT
|
||
key: ribbon.system.call.concurrent
|
||
delay: '0'
|
||
description: 'The current high water mark of the total number of active calls.'
|
||
preprocessing:
|
||
- type: JSONPATH
|
||
parameters:
|
||
- '$.callCountCurrentStatistics[0].callCount'
|
||
- type: DISCARD_UNCHANGED_HEARTBEAT
|
||
parameters:
|
||
- 12h
|
||
master_item:
|
||
key: ribbon.system.data.get
|
||
tags:
|
||
- tag: component
|
||
value: calls
|
||
- tag: component
|
||
value: system
|
||
- uuid: d1ff4e8e50fc44ebb52414e2c872c4ec
|
||
name: 'Call statistics: Encrypt calls'
|
||
type: DEPENDENT
|
||
key: ribbon.system.call.encrypt
|
||
delay: '0'
|
||
description: 'The current high water mark of the total number of encrypt calls.'
|
||
preprocessing:
|
||
- type: JSONPATH
|
||
parameters:
|
||
- '$.callCountCurrentStatistics[0].callCount'
|
||
- type: DISCARD_UNCHANGED_HEARTBEAT
|
||
parameters:
|
||
- 12h
|
||
master_item:
|
||
key: ribbon.system.data.get
|
||
tags:
|
||
- tag: component
|
||
value: calls
|
||
- tag: component
|
||
value: system
|
||
- uuid: a6b366b5cdad4e41bdd4aacdfbf006c9
|
||
name: 'Call statistics: NICE recorded calls'
|
||
type: DEPENDENT
|
||
key: ribbon.system.call.nice.rec
|
||
delay: '0'
|
||
description: 'The current high water mark of the total number of NICE recording calls.'
|
||
preprocessing:
|
||
- type: JSONPATH
|
||
parameters:
|
||
- '$.callCountCurrentStatistics[0].niceRecCount'
|
||
- type: DISCARD_UNCHANGED_HEARTBEAT
|
||
parameters:
|
||
- 12h
|
||
master_item:
|
||
key: ribbon.system.data.get
|
||
tags:
|
||
- tag: component
|
||
value: calls
|
||
- tag: component
|
||
value: system
|
||
- uuid: c32af5bd2a62410eb15963aa81bbd0a9
|
||
name: 'Call rate congestion level'
|
||
type: DEPENDENT
|
||
key: ribbon.system.call.rate.level
|
||
delay: '0'
|
||
description: 'The current call rate congestion level.'
|
||
preprocessing:
|
||
- type: JSONPATH
|
||
parameters:
|
||
- '$.CongestionStatus[0].systemCongestionCallRateLevel'
|
||
- type: DISCARD_UNCHANGED_HEARTBEAT
|
||
parameters:
|
||
- 12h
|
||
master_item:
|
||
key: ribbon.system.data.get
|
||
tags:
|
||
- tag: component
|
||
value: calls
|
||
- tag: component
|
||
value: system
|
||
- uuid: 9e1836504f604cc2a96ae8354d245376
|
||
name: 'Call statistics: SIP recorded calls'
|
||
type: DEPENDENT
|
||
key: ribbon.system.call.sip.rec
|
||
delay: '0'
|
||
description: 'The current high water mark of the total number of SIP recording calls.'
|
||
preprocessing:
|
||
- type: JSONPATH
|
||
parameters:
|
||
- '$.callCountCurrentStatistics[0].sipRecCount'
|
||
- type: DISCARD_UNCHANGED_HEARTBEAT
|
||
parameters:
|
||
- 12h
|
||
master_item:
|
||
key: ribbon.system.data.get
|
||
tags:
|
||
- tag: component
|
||
value: calls
|
||
- tag: component
|
||
value: system
|
||
- uuid: 52684c20d4134677b946d2c901e0e1fd
|
||
name: 'Call statistics: SRTP calls'
|
||
type: DEPENDENT
|
||
key: ribbon.system.call.srtp
|
||
delay: '0'
|
||
description: 'The current high water mark of the total number of active SRTP calls.'
|
||
preprocessing:
|
||
- type: JSONPATH
|
||
parameters:
|
||
- '$.callCountCurrentStatistics[0].srtpCount'
|
||
- type: DISCARD_UNCHANGED_HEARTBEAT
|
||
parameters:
|
||
- 12h
|
||
master_item:
|
||
key: ribbon.system.data.get
|
||
tags:
|
||
- tag: component
|
||
value: calls
|
||
- tag: component
|
||
value: system
|
||
- uuid: a6909ad4316642b6ba038de1dd678f56
|
||
name: 'Call status: Stable'
|
||
type: DEPENDENT
|
||
key: ribbon.system.call.stable
|
||
delay: '0'
|
||
description: 'Current number of stable managed calls on this server.'
|
||
preprocessing:
|
||
- type: JSONPATH
|
||
parameters:
|
||
- '$.callCountStatus[0].stableCalls'
|
||
- type: DISCARD_UNCHANGED_HEARTBEAT
|
||
parameters:
|
||
- 12h
|
||
master_item:
|
||
key: ribbon.system.data.get
|
||
tags:
|
||
- tag: component
|
||
value: calls
|
||
- tag: component
|
||
value: system
|
||
- uuid: 2be5c70ea19744159c89e3bec6975f37
|
||
name: 'Call status: Total'
|
||
type: DEPENDENT
|
||
key: ribbon.system.call.total
|
||
delay: '0'
|
||
description: 'Total number of calls on this server.'
|
||
preprocessing:
|
||
- type: JSONPATH
|
||
parameters:
|
||
- '$.callCountStatus[0].totalCalls'
|
||
- type: DISCARD_UNCHANGED_HEARTBEAT
|
||
parameters:
|
||
- 12h
|
||
master_item:
|
||
key: ribbon.system.data.get
|
||
tags:
|
||
- tag: component
|
||
value: calls
|
||
- tag: component
|
||
value: system
|
||
- uuid: 1645dc510644472180fbd4bd49765cb7
|
||
name: 'Call statistics: Transcoded calls'
|
||
type: DEPENDENT
|
||
key: ribbon.system.call.transcode.rec
|
||
delay: '0'
|
||
description: 'The current high water mark of the total number of transcoded sessions.'
|
||
preprocessing:
|
||
- type: JSONPATH
|
||
parameters:
|
||
- '$.callCountCurrentStatistics[0].transcodeCount'
|
||
- type: DISCARD_UNCHANGED_HEARTBEAT
|
||
parameters:
|
||
- 12h
|
||
master_item:
|
||
key: ribbon.system.data.get
|
||
tags:
|
||
- tag: component
|
||
value: calls
|
||
- tag: component
|
||
value: system
|
||
- uuid: 9ff0738420f94ef19f633f2216813c77
|
||
name: 'Call status: Updates'
|
||
type: DEPENDENT
|
||
key: ribbon.system.call.updates
|
||
delay: '0'
|
||
description: 'Number of call updates (modifications) on this server.'
|
||
preprocessing:
|
||
- type: JSONPATH
|
||
parameters:
|
||
- '$.callCountStatus[0].callUpdates'
|
||
- type: DISCARD_UNCHANGED_HEARTBEAT
|
||
parameters:
|
||
- 12h
|
||
master_item:
|
||
key: ribbon.system.data.get
|
||
tags:
|
||
- tag: component
|
||
value: calls
|
||
- tag: component
|
||
value: system
|
||
- uuid: a639e7401f4e440ebc48495d1ed276b7
|
||
name: 'Call statistics: Video calls'
|
||
type: DEPENDENT
|
||
key: ribbon.system.call.video
|
||
delay: '0'
|
||
description: 'The current high water mark of the total number of active enhanced video calls.'
|
||
preprocessing:
|
||
- type: JSONPATH
|
||
parameters:
|
||
- '$.callCountCurrentStatistics[0].enhancedVideoCount'
|
||
- type: DISCARD_UNCHANGED_HEARTBEAT
|
||
parameters:
|
||
- 12h
|
||
master_item:
|
||
key: ribbon.system.data.get
|
||
tags:
|
||
- tag: component
|
||
value: calls
|
||
- tag: component
|
||
value: system
|
||
- uuid: 55cd46b62b16462d97200cac6dee8e3d
|
||
name: 'System congestion level'
|
||
type: DEPENDENT
|
||
key: ribbon.system.congestion.level
|
||
delay: '0'
|
||
description: 'The current system congestion level.'
|
||
preprocessing:
|
||
- type: JSONPATH
|
||
parameters:
|
||
- '$.CongestionStatus[0].systemCongestionMCLevel'
|
||
- type: DISCARD_UNCHANGED_HEARTBEAT
|
||
parameters:
|
||
- 12h
|
||
master_item:
|
||
key: ribbon.system.data.get
|
||
tags:
|
||
- tag: component
|
||
value: system
|
||
- uuid: 4e84c38990724c91848046cfafd877a3
|
||
name: 'CPU congestion level'
|
||
type: DEPENDENT
|
||
key: ribbon.system.cpu.level
|
||
delay: '0'
|
||
description: 'The current CPU congestion level.'
|
||
preprocessing:
|
||
- type: JSONPATH
|
||
parameters:
|
||
- '$.CongestionStatus[0].systemCongestionCPULevel'
|
||
- type: DISCARD_UNCHANGED_HEARTBEAT
|
||
parameters:
|
||
- 12h
|
||
master_item:
|
||
key: ribbon.system.data.get
|
||
tags:
|
||
- tag: component
|
||
value: system
|
||
- uuid: 210a0b4b387d4b32a4c6eac6ae014201
|
||
name: 'Get data'
|
||
type: SCRIPT
|
||
key: ribbon.system.data.get
|
||
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 Ribbon = {
|
||
params: {},
|
||
|
||
setParams: function (params) {
|
||
['url', 'username', 'password'].forEach(function (field) {
|
||
if (typeof params !== 'object' || typeof params[field] === 'undefined' || params[field] === '') {
|
||
throw 'Required param is not set: ' + field + '.';
|
||
}
|
||
});
|
||
|
||
Ribbon.params = params;
|
||
|
||
if (typeof Ribbon.params.url === 'string') {
|
||
if (Ribbon.params.url.endsWith('/')) {
|
||
Ribbon.params.url = Ribbon.params.url.slice(0,-1);
|
||
}
|
||
}
|
||
|
||
Ribbon.tls = new CTlsConfig(params.tls_verify);
|
||
Ribbon.tls.checkURL(Ribbon.params.url);
|
||
},
|
||
|
||
getRequest: function (url) {
|
||
var response, request = new HttpRequest(Ribbon.tls.options);
|
||
|
||
if (typeof Ribbon.params.http_proxy !== 'undefined' && Ribbon.params.http_proxy !== '') {
|
||
request.setProxy(Ribbon.params.http_proxy);
|
||
};
|
||
|
||
request.addHeader('Content-Type: application/yang-data+json');
|
||
request.addHeader('Authorization: Basic ' + btoa(Ribbon.params.username + ':' + Ribbon.params.password));
|
||
|
||
Zabbix.log(4, '[ Ribbon SBC SWe core ] Sending request: ' + url);
|
||
|
||
response = request.get(Ribbon.params.url + url);
|
||
|
||
Zabbix.log(4, '[ Ribbon SBC SWe core ] 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. Check debug log for more information.';
|
||
}
|
||
},
|
||
|
||
getField: function (data, path) {
|
||
const 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;
|
||
},
|
||
|
||
filterByServerName: function (data, param_name, key_field) {
|
||
var result = {};
|
||
|
||
for (var key in data) {
|
||
if (typeof data[key] === 'object' && data[key] !== null && typeof data[key][param_name] !== 'undefined') {
|
||
if (data[key][param_name] === Ribbon.params.server_name) {
|
||
result[data[key][key_field]] = data[key];
|
||
};
|
||
}
|
||
};
|
||
|
||
return result;
|
||
},
|
||
|
||
getMetricsData: function (endpoints) {
|
||
var data = {};
|
||
|
||
Object.keys(endpoints).forEach(function (key) {
|
||
data[key] = Ribbon.getField(Ribbon.getRequest(endpoints[key]['url']), endpoints[key]['path']);
|
||
});
|
||
|
||
return data;
|
||
}
|
||
};
|
||
|
||
|
||
|
||
try {
|
||
Ribbon.setParams(JSON.parse(value));
|
||
|
||
endpoints = {
|
||
'serverAdmin': { 'url': '/restconf/data/sonusSystem:system/serverAdmin', 'path': 'sonusSystem:serverAdmin' },
|
||
'admin': { 'url': '/restconf/data/sonusSystem:system/admin', 'path': 'sonusSystem:admin' },
|
||
'syncStatus': { 'url': '/restconf/data/sonusSystem:system/syncStatus', 'path': 'sonusSystem:syncStatus' },
|
||
'CongestionStatistics': {
|
||
'url': '/restconf/data/sonusSystem:system/sonusOrcaSystem:systemCongestionCurrentStatistics',
|
||
'path': 'sonusOrcaSystem:systemCongestionCurrentStatistics'
|
||
},
|
||
'CongestionStatus': { 'url': '/restconf/data/sonusSystem:system/sonusOrcaSystem:systemCongestionStatus', 'path': 'sonusOrcaSystem:systemCongestionStatus' },
|
||
'callCountStatus': { 'url': '/restconf/data/sonusGlobal:global/sonusActiveCall:callCountStatus', 'path': 'sonusActiveCall:callCountStatus' },
|
||
'callCountCurrentStatistics': { 'url': '/restconf/data/sonusGlobal:global/callCountCurrentStatistics', 'path': 'sonusGlobal:callCountCurrentStatistics' },
|
||
'licenseInfo': { 'url': '/restconf/data/sonusSystem:system/licenseInfo', 'path': 'sonusSystem:licenseInfo' },
|
||
'dnsGroup': { 'url': '/restconf/data/sonusAddressContext:addressContext=default/sonusDns:dnsGroup=', 'path': 'sonusDns:dnsGroup' },
|
||
'globalTrunkGroupStatus': { 'url': '/restconf/data/sonusGlobal:global/sonusGlobalTrunkGroup:globalTrunkGroupStatus=', 'path': 'sonusGlobalTrunkGroup:globalTrunkGroupStatus' }
|
||
};
|
||
|
||
|
||
return JSON.stringify(Ribbon.getMetricsData(endpoints));
|
||
|
||
}
|
||
catch (error) {
|
||
Zabbix.log(3, '[ Ribbon SBC SWe core ] ERROR: ' + error);
|
||
error_msg = 'Failed to get data from API:' + error;
|
||
|
||
return JSON.stringify({ 'error': error_msg });
|
||
}
|
||
description: 'Gets the system information.'
|
||
timeout: '30'
|
||
parameters:
|
||
- name: password
|
||
value: '{$RIBBON.PASSWORD}'
|
||
- name: proxy
|
||
value: '{$RIBBON.PROXY}'
|
||
- name: tls_verify
|
||
value: '{$HTTP.TLS.VERIFY:"Ribbon SBC SWe Core"}'
|
||
- name: url
|
||
value: '{$RIBBON.URL}'
|
||
- name: username
|
||
value: '{$RIBBON.USERNAME}'
|
||
tags:
|
||
- tag: component
|
||
value: raw
|
||
- uuid: f3d28176e1234b99aadb19c81b83850a
|
||
name: 'Get data check'
|
||
type: DEPENDENT
|
||
key: ribbon.system.data.get.check
|
||
delay: '0'
|
||
value_type: CHAR
|
||
trends: '0'
|
||
description: 'Checks that the Ribbon metric data has been received correctly.'
|
||
preprocessing:
|
||
- type: JSONPATH
|
||
parameters:
|
||
- $.error
|
||
error_handler: CUSTOM_VALUE
|
||
- type: DISCARD_UNCHANGED_HEARTBEAT
|
||
parameters:
|
||
- 3h
|
||
master_item:
|
||
key: ribbon.system.data.get
|
||
tags:
|
||
- tag: component
|
||
value: status
|
||
triggers:
|
||
- uuid: 50ed5b65a1b048c99c9f5f5101630fe6
|
||
expression: 'length(last(/Ribbon SBC SWe Core by HTTP/ribbon.system.data.get.check))>0'
|
||
name: 'Ribbon: Failed to get metric data'
|
||
event_name: 'Ribbon: Failed to get API metrics for the Ribbon'
|
||
opdata: 'Current value: {ITEM.LASTVALUE1}'
|
||
priority: WARNING
|
||
description: 'Failed to get API metrics for the Ribbon.'
|
||
tags:
|
||
- tag: scope
|
||
value: availability
|
||
- uuid: ea77f9d8f1ba4a9fbe40549ce0d17091
|
||
name: 'DSP congestion level'
|
||
type: DEPENDENT
|
||
key: ribbon.system.dsp.rate.level
|
||
delay: '0'
|
||
description: 'The current DSP congestion level.'
|
||
preprocessing:
|
||
- type: JSONPATH
|
||
parameters:
|
||
- '$.CongestionStatus[0].systemCongestionDSPLevel'
|
||
- type: DISCARD_UNCHANGED_HEARTBEAT
|
||
parameters:
|
||
- 12h
|
||
master_item:
|
||
key: ribbon.system.data.get
|
||
tags:
|
||
- tag: component
|
||
value: system
|
||
- uuid: 93d7698912ce4805aa9dafe927699233
|
||
name: 'Call status: Emergency establishing'
|
||
type: DEPENDENT
|
||
key: ribbon.system.emergency.call.establishing
|
||
delay: '0'
|
||
description: 'Number of establishing emergency calls (i.e. not yet stable).'
|
||
preprocessing:
|
||
- type: JSONPATH
|
||
parameters:
|
||
- '$.callCountStatus[0].totalCallsEmergEstablishing'
|
||
- type: DISCARD_UNCHANGED_HEARTBEAT
|
||
parameters:
|
||
- 12h
|
||
master_item:
|
||
key: ribbon.system.data.get
|
||
tags:
|
||
- tag: component
|
||
value: calls
|
||
- tag: component
|
||
value: system
|
||
- uuid: eb174749ba8e4f74abdd4fb60627f761
|
||
name: 'Call status: Emergency stable'
|
||
type: DEPENDENT
|
||
key: ribbon.system.emergency.call.stable
|
||
delay: '0'
|
||
description: 'Number of stable emergency calls.'
|
||
preprocessing:
|
||
- type: JSONPATH
|
||
parameters:
|
||
- '$.callCountStatus[0].totalCallsEmergStable'
|
||
- type: DISCARD_UNCHANGED_HEARTBEAT
|
||
parameters:
|
||
- 12h
|
||
master_item:
|
||
key: ribbon.system.data.get
|
||
tags:
|
||
- tag: component
|
||
value: calls
|
||
- tag: component
|
||
value: system
|
||
- uuid: 0209ccef35384da29d1bb002788a3fa8
|
||
name: 'Management mode'
|
||
type: DEPENDENT
|
||
key: ribbon.system.haMode
|
||
delay: '0'
|
||
value_type: CHAR
|
||
trends: '0'
|
||
description: |
|
||
Management mode of the system. Possible values:
|
||
- haMode1to1
|
||
- haModeNto1
|
||
valuemap:
|
||
name: 'Ribbon: System HA status'
|
||
preprocessing:
|
||
- type: JSONPATH
|
||
parameters:
|
||
- '$.admin[0].haMode'
|
||
- type: JAVASCRIPT
|
||
parameters:
|
||
- |
|
||
const idx = [
|
||
'haMode1to1',
|
||
'haModeNto1',
|
||
'unknown'
|
||
].indexOf(value);
|
||
|
||
return idx !== -1 ? idx : 2;
|
||
- type: DISCARD_UNCHANGED_HEARTBEAT
|
||
parameters:
|
||
- 12h
|
||
master_item:
|
||
key: ribbon.system.data.get
|
||
tags:
|
||
- tag: component
|
||
value: system
|
||
- uuid: fafaaff0021e4ae8bfd53d55a0e83bc2
|
||
name: 'Call statistics: HPC queue abandons'
|
||
type: DEPENDENT
|
||
key: ribbon.system.hpc.queue.abandons
|
||
delay: '0'
|
||
description: 'The current number of HPC calls that were placed in HPC Call Queuing queues, but were subsequently abandoned before they could be completed.'
|
||
preprocessing:
|
||
- type: JSONPATH
|
||
parameters:
|
||
- '$.callCountCurrentStatistics[0].hpcQueueAbandons'
|
||
- type: DISCARD_UNCHANGED_HEARTBEAT
|
||
parameters:
|
||
- 12h
|
||
master_item:
|
||
key: ribbon.system.data.get
|
||
tags:
|
||
- tag: component
|
||
value: calls
|
||
- tag: component
|
||
value: system
|
||
- uuid: 220d681a8be3491aa96c0d4bcb90c101
|
||
name: 'Call statistics: HPC queue attempts'
|
||
type: DEPENDENT
|
||
key: ribbon.system.hpc.queue.attempts
|
||
delay: '0'
|
||
description: 'The current number of HPC calls that were successfully placed on HPC Call Queuing queues.'
|
||
preprocessing:
|
||
- type: JSONPATH
|
||
parameters:
|
||
- '$.callCountCurrentStatistics[0].hpcQueueAttempts'
|
||
- type: DISCARD_UNCHANGED_HEARTBEAT
|
||
parameters:
|
||
- 12h
|
||
master_item:
|
||
key: ribbon.system.data.get
|
||
tags:
|
||
- tag: component
|
||
value: calls
|
||
- tag: component
|
||
value: system
|
||
- uuid: e1ef92e48d6a4f048624f9ad26f06fa8
|
||
name: 'Call statistics: HPC queue overflows'
|
||
type: DEPENDENT
|
||
key: ribbon.system.hpc.queue.overflows
|
||
delay: '0'
|
||
description: 'The current number of HPC calls for which HPC call queuing attempts were unsuccessful because queues were full.'
|
||
preprocessing:
|
||
- type: JSONPATH
|
||
parameters:
|
||
- '$.callCountCurrentStatistics[0].hpcQueueOverflows'
|
||
- type: DISCARD_UNCHANGED_HEARTBEAT
|
||
parameters:
|
||
- 12h
|
||
master_item:
|
||
key: ribbon.system.data.get
|
||
tags:
|
||
- tag: component
|
||
value: calls
|
||
- tag: component
|
||
value: system
|
||
- uuid: 4f2b31343898463d847d3ddefcadb3ee
|
||
name: 'Call statistics: HPC queue timeouts'
|
||
type: DEPENDENT
|
||
key: ribbon.system.hpc.queue.timeouts
|
||
delay: '0'
|
||
description: 'The current number of HPC calls removed from HPC Call Queuing queues due to expiration of the queue timeout timer.'
|
||
preprocessing:
|
||
- type: JSONPATH
|
||
parameters:
|
||
- '$.callCountCurrentStatistics[0].hpcQueueTimeouts'
|
||
- type: DISCARD_UNCHANGED_HEARTBEAT
|
||
parameters:
|
||
- 12h
|
||
master_item:
|
||
key: ribbon.system.data.get
|
||
tags:
|
||
- tag: component
|
||
value: calls
|
||
- tag: component
|
||
value: system
|
||
- uuid: a5cf7bc5ff094df69ecae1c97c627171
|
||
name: 'IRTT congestion level'
|
||
type: DEPENDENT
|
||
key: ribbon.system.irtt.rate.level
|
||
delay: '0'
|
||
description: 'The current IRTT congestion level.'
|
||
preprocessing:
|
||
- type: JSONPATH
|
||
parameters:
|
||
- '$.CongestionStatus[0].systemCongestionIRTTLevel'
|
||
- type: DISCARD_UNCHANGED_HEARTBEAT
|
||
parameters:
|
||
- 12h
|
||
master_item:
|
||
key: ribbon.system.data.get
|
||
tags:
|
||
- tag: component
|
||
value: system
|
||
- uuid: f91884e60fcb407c9163678620f3f8aa
|
||
name: 'System name'
|
||
type: DEPENDENT
|
||
key: ribbon.system.name
|
||
delay: '0'
|
||
value_type: CHAR
|
||
trends: '0'
|
||
description: 'Name of the system.'
|
||
preprocessing:
|
||
- type: JSONPATH
|
||
parameters:
|
||
- '$.admin[0].actualSystemName'
|
||
- type: DISCARD_UNCHANGED_HEARTBEAT
|
||
parameters:
|
||
- 12h
|
||
master_item:
|
||
key: ribbon.system.data.get
|
||
tags:
|
||
- tag: component
|
||
value: system
|
||
- uuid: 7172b4e5f9da4e5ebd8afe5e553457f5
|
||
name: 'Call status: Signalling active'
|
||
type: DEPENDENT
|
||
key: ribbon.system.non.call.active
|
||
delay: '0'
|
||
description: 'Current number of active non-call associated signalling channels in the server.'
|
||
preprocessing:
|
||
- type: JSONPATH
|
||
parameters:
|
||
- '$.callCountStatus[0].activeCallsNonUser'
|
||
- type: DISCARD_UNCHANGED_HEARTBEAT
|
||
parameters:
|
||
- 12h
|
||
master_item:
|
||
key: ribbon.system.data.get
|
||
tags:
|
||
- tag: component
|
||
value: calls
|
||
- tag: component
|
||
value: system
|
||
- uuid: 7e8c3eaf11124075aa9ecfdf08c4a2cd
|
||
name: 'Call status: Signalling stable'
|
||
type: DEPENDENT
|
||
key: ribbon.system.non.call.stable
|
||
delay: '0'
|
||
description: 'Current number of stable non-call associated signalling channels in the server.'
|
||
preprocessing:
|
||
- type: JSONPATH
|
||
parameters:
|
||
- '$.callCountStatus[0].stableCallsNonUser'
|
||
- type: DISCARD_UNCHANGED_HEARTBEAT
|
||
parameters:
|
||
- 12h
|
||
master_item:
|
||
key: ribbon.system.data.get
|
||
tags:
|
||
- tag: component
|
||
value: calls
|
||
- tag: component
|
||
value: system
|
||
- uuid: cb23fde59fb34988aba1132eaace6df6
|
||
name: 'Call status: Signalling total'
|
||
type: DEPENDENT
|
||
key: ribbon.system.non.call.total
|
||
delay: '0'
|
||
description: 'Total number of non-user calls on this server.'
|
||
preprocessing:
|
||
- type: JSONPATH
|
||
parameters:
|
||
- '$.callCountStatus[0].totalCallsNonUser'
|
||
- type: DISCARD_UNCHANGED_HEARTBEAT
|
||
parameters:
|
||
- 12h
|
||
master_item:
|
||
key: ribbon.system.data.get
|
||
tags:
|
||
- tag: component
|
||
value: calls
|
||
- tag: component
|
||
value: system
|
||
- uuid: acb2541b36294604b5c6bb260cccdd09
|
||
name: 'Call statistics: MRF sessions'
|
||
type: DEPENDENT
|
||
key: ribbon.system.session.mrf
|
||
delay: '0'
|
||
description: 'The current high water mark of the total number of MRF calls.'
|
||
preprocessing:
|
||
- type: JSONPATH
|
||
parameters:
|
||
- '$.callCountCurrentStatistics[0].mrfSessionsCount'
|
||
- type: DISCARD_UNCHANGED_HEARTBEAT
|
||
parameters:
|
||
- 12h
|
||
master_item:
|
||
key: ribbon.system.data.get
|
||
tags:
|
||
- tag: component
|
||
value: calls
|
||
- tag: component
|
||
value: system
|
||
- uuid: 5856ac0adb1d4d7fb2aee5c3f41af29a
|
||
name: 'Call statistics: SLB sessions'
|
||
type: DEPENDENT
|
||
key: ribbon.system.session.slb
|
||
delay: '0'
|
||
description: 'The current high water mark of the total number of SLB calls.'
|
||
preprocessing:
|
||
- type: JSONPATH
|
||
parameters:
|
||
- '$.callCountCurrentStatistics[0].slbSessionsCount'
|
||
- type: DISCARD_UNCHANGED_HEARTBEAT
|
||
parameters:
|
||
- 12h
|
||
master_item:
|
||
key: ribbon.system.data.get
|
||
tags:
|
||
- tag: component
|
||
value: calls
|
||
- tag: component
|
||
value: system
|
||
- uuid: d546591b91314e35b4823af140a25c52
|
||
name: 'Call statistics: SOSBC sessions'
|
||
type: DEPENDENT
|
||
key: ribbon.system.session.sosbc
|
||
delay: '0'
|
||
description: 'The current high water mark of the total number of SOSBC calls.'
|
||
preprocessing:
|
||
- type: JSONPATH
|
||
parameters:
|
||
- '$.callCountCurrentStatistics[0].sosbcSessionsCount'
|
||
- type: DISCARD_UNCHANGED_HEARTBEAT
|
||
parameters:
|
||
- 12h
|
||
master_item:
|
||
key: ribbon.system.data.get
|
||
tags:
|
||
- tag: component
|
||
value: calls
|
||
- tag: component
|
||
value: system
|
||
- uuid: 3f72e3c4ad8c44398a70975456b27b25
|
||
name: 'Call statistics: WebSocket sessions'
|
||
type: DEPENDENT
|
||
key: ribbon.system.session.websocket
|
||
delay: '0'
|
||
description: 'The current high water mark of the total number of WebSocket calls.'
|
||
preprocessing:
|
||
- type: JSONPATH
|
||
parameters:
|
||
- '$.callCountCurrentStatistics[0].webSocketSessionsCount'
|
||
- type: DISCARD_UNCHANGED_HEARTBEAT
|
||
parameters:
|
||
- 12h
|
||
master_item:
|
||
key: ribbon.system.data.get
|
||
tags:
|
||
- tag: component
|
||
value: calls
|
||
- tag: component
|
||
value: system
|
||
discovery_rules:
|
||
- uuid: 1feaa9fc301f4bc7be3b18c73ba0562e
|
||
name: 'Call engine discovery'
|
||
type: DEPENDENT
|
||
key: ribbon.ce.discovery
|
||
delay: '0'
|
||
filter:
|
||
evaltype: AND
|
||
conditions:
|
||
- macro: '{#CE.HW.TYPE}'
|
||
value: '{$RIBBON.CE.DISCOVERY.HW.TYPE.MATCHES}'
|
||
formulaid: A
|
||
- macro: '{#CE.HW.TYPE}'
|
||
value: '{$RIBBON.CE.DISCOVERY.HW.TYPE.NOT_MATCHES}'
|
||
operator: NOT_MATCHES_REGEX
|
||
formulaid: B
|
||
- macro: '{#CE.NAME}'
|
||
value: '{$RIBBON.CE.DISCOVERY.NAME.MATCHES}'
|
||
formulaid: C
|
||
- macro: '{#CE.NAME}'
|
||
value: '{$RIBBON.CE.DISCOVERY.NAME.NOT_MATCHES}'
|
||
operator: NOT_MATCHES_REGEX
|
||
formulaid: D
|
||
- macro: '{#CE.ROLE}'
|
||
value: '{$RIBBON.CE.DISCOVERY.ROLE.MATCHES}'
|
||
formulaid: E
|
||
- macro: '{#CE.ROLE}'
|
||
value: '{$RIBBON.CE.DISCOVERY.ROLE.NOT_MATCHES}'
|
||
operator: NOT_MATCHES_REGEX
|
||
formulaid: F
|
||
description: 'Used for the discovery of call engines.'
|
||
item_prototypes:
|
||
- uuid: 6dc847b33a0744da9f9830b1b4359f96
|
||
name: 'Call engine [{#CE.NAME}]: HW sub-type'
|
||
type: DEPENDENT
|
||
key: 'ribbon.ce.hw.sub.type[{#CE.NAME}]'
|
||
delay: '0'
|
||
value_type: CHAR
|
||
trends: '0'
|
||
description: 'HW sub-type of the server.'
|
||
preprocessing:
|
||
- type: JSONPATH
|
||
parameters:
|
||
- '$.serverAdmin.[?(@.name == "{#CE.NAME}")].hwSubType.first()'
|
||
- type: DISCARD_UNCHANGED_HEARTBEAT
|
||
parameters:
|
||
- 12h
|
||
master_item:
|
||
key: ribbon.system.data.get
|
||
tags:
|
||
- tag: call-engine-name
|
||
value: '{#CE.NAME}'
|
||
- tag: component
|
||
value: call-engine
|
||
- uuid: f324e184bb244bd3b03065401d851efb
|
||
name: 'Call engine [{#CE.NAME}]: HW type'
|
||
type: DEPENDENT
|
||
key: 'ribbon.ce.hw.type[{#CE.NAME}]'
|
||
delay: '0'
|
||
value_type: CHAR
|
||
trends: '0'
|
||
description: 'HW type of the server.'
|
||
preprocessing:
|
||
- type: JSONPATH
|
||
parameters:
|
||
- '$.serverAdmin.[?(@.name == "{#CE.NAME}")].hwType.first()'
|
||
- type: DISCARD_UNCHANGED_HEARTBEAT
|
||
parameters:
|
||
- 12h
|
||
master_item:
|
||
key: ribbon.system.data.get
|
||
tags:
|
||
- tag: call-engine-name
|
||
value: '{#CE.NAME}'
|
||
- tag: component
|
||
value: call-engine
|
||
- uuid: d239b5defa964c719a93814a94d7f1b2
|
||
name: 'Call engine [{#CE.NAME}]: Name'
|
||
type: DEPENDENT
|
||
key: 'ribbon.ce.name[{#CE.NAME}]'
|
||
delay: '0'
|
||
value_type: CHAR
|
||
trends: '0'
|
||
description: 'Name of the CE instance provided by the user.'
|
||
preprocessing:
|
||
- type: JSONPATH
|
||
parameters:
|
||
- '$.serverAdmin.[?(@.name == "{#CE.NAME}")].actualCeName.first()'
|
||
- type: DISCARD_UNCHANGED_HEARTBEAT
|
||
parameters:
|
||
- 12h
|
||
master_item:
|
||
key: ribbon.system.data.get
|
||
tags:
|
||
- tag: call-engine-name
|
||
value: '{#CE.NAME}'
|
||
- tag: component
|
||
value: call-engine
|
||
- uuid: 10c202d6dd844e1aa3fbe8433d3fee2d
|
||
name: 'Call engine [{#CE.NAME}]: Role'
|
||
type: DEPENDENT
|
||
key: 'ribbon.ce.role[{#CE.NAME}]'
|
||
delay: '0'
|
||
description: 'Server admin role. When set to primary, the role designates a server for internal processing.'
|
||
valuemap:
|
||
name: 'Ribbon: Call engine role'
|
||
preprocessing:
|
||
- type: JSONPATH
|
||
parameters:
|
||
- '$.serverAdmin.[?(@.name == "{#CE.NAME}")].role.first()'
|
||
- type: JAVASCRIPT
|
||
parameters:
|
||
- |
|
||
const idx = [
|
||
'primary',
|
||
'secondary'
|
||
].indexOf(value);
|
||
|
||
return idx !== -1 ? idx : 2;
|
||
- type: DISCARD_UNCHANGED_HEARTBEAT
|
||
parameters:
|
||
- 1h
|
||
master_item:
|
||
key: ribbon.system.data.get
|
||
tags:
|
||
- tag: call-engine-name
|
||
value: '{#CE.NAME}'
|
||
- tag: component
|
||
value: call-engine
|
||
host_prototypes:
|
||
- uuid: df47e752f85d4c22a519b4f9e6e04ab9
|
||
host: '{#CE.NAME}'
|
||
name: '{#CE.NAME}'
|
||
group_links:
|
||
- group:
|
||
name: Applications
|
||
templates:
|
||
- name: 'Ribbon SBC SWe CE by HTTP'
|
||
macros:
|
||
- macro: '{$RIBBON.CE.NAME}'
|
||
value: '{#CE.NAME}'
|
||
description: 'Name of call engine.'
|
||
master_item:
|
||
key: ribbon.system.data.get
|
||
preprocessing:
|
||
- type: JAVASCRIPT
|
||
parameters:
|
||
- |
|
||
const json_data = JSON.parse(value)["serverAdmin"];
|
||
var output_data = [];
|
||
|
||
for (var entity in json_data) {
|
||
output_data.push({
|
||
"{#CE.NAME}": json_data[entity]["name"],
|
||
"{#CE.ROLE}": json_data[entity]["role"],
|
||
"{#CE.HW.TYPE}": json_data[entity]["hwType"]
|
||
});
|
||
};
|
||
|
||
return JSON.stringify(output_data);
|
||
- type: DISCARD_UNCHANGED_HEARTBEAT
|
||
parameters:
|
||
- 1h
|
||
- uuid: 1dc609eea19f4c56a055d6ecd0ca3c1f
|
||
name: 'DNS discovery'
|
||
type: DEPENDENT
|
||
key: ribbon.dns.discovery
|
||
delay: '0'
|
||
filter:
|
||
evaltype: AND
|
||
conditions:
|
||
- macro: '{#DNS.GROUP}'
|
||
value: '{$RIBBON.DNS.GROUP.DISCOVERY.NAME.MATCHES}'
|
||
formulaid: A
|
||
- macro: '{#DNS.GROUP}'
|
||
value: '{$RIBBON.DNS.GROUP.DISCOVERY.NAME.NOT_MATCHES}'
|
||
operator: NOT_MATCHES_REGEX
|
||
formulaid: B
|
||
- macro: '{#DNS.STATE}'
|
||
value: enabled
|
||
formulaid: C
|
||
description: 'Used for the discovery of DNS statistics.'
|
||
item_prototypes:
|
||
- uuid: aeb501d0b80847868e80c796912f4bd1
|
||
name: 'DNS [{#DNS.GROUP}][{#DNS.SERVER}][{#DNS.IP}]: TCP connection failed'
|
||
type: DEPENDENT
|
||
key: 'ribbon.dns.connection.failed[{#DNS.GROUP}/{#DNS.SERVER}/{#DNS.IP}]'
|
||
delay: '0'
|
||
description: 'Total number of DNS TCP connection failed.'
|
||
preprocessing:
|
||
- type: JSONPATH
|
||
parameters:
|
||
- $.tcpConnectionFailed
|
||
- type: DISCARD_UNCHANGED_HEARTBEAT
|
||
parameters:
|
||
- 1h
|
||
master_item:
|
||
key: 'ribbon.dns.get.stats.data[{#DNS.GROUP}/{#DNS.SERVER}/{#DNS.IP}]'
|
||
tags:
|
||
- tag: component
|
||
value: dns
|
||
- tag: dns-group
|
||
value: '{#DNS.GROUP}'
|
||
- tag: dns-ip
|
||
value: '{#DNS.IP}'
|
||
- tag: dns-server
|
||
value: '{#DNS.SERVER}'
|
||
- tag: dns-type
|
||
value: '{#DNS.TYPE}'
|
||
- uuid: 3426b7302ef449b38e2ea49047569329
|
||
name: 'DNS [{#DNS.GROUP}][{#DNS.SERVER}][{#DNS.IP}]: TCP connection torn down'
|
||
type: DEPENDENT
|
||
key: 'ribbon.dns.connection.torn.down[{#DNS.GROUP}/{#DNS.SERVER}/{#DNS.IP}]'
|
||
delay: '0'
|
||
description: 'Total number of DNS TCP connection torn down.'
|
||
preprocessing:
|
||
- type: JSONPATH
|
||
parameters:
|
||
- $.tcpConnectiontorndown
|
||
- type: DISCARD_UNCHANGED_HEARTBEAT
|
||
parameters:
|
||
- 1h
|
||
master_item:
|
||
key: 'ribbon.dns.get.stats.data[{#DNS.GROUP}/{#DNS.SERVER}/{#DNS.IP}]'
|
||
tags:
|
||
- tag: component
|
||
value: dns
|
||
- tag: dns-group
|
||
value: '{#DNS.GROUP}'
|
||
- tag: dns-ip
|
||
value: '{#DNS.IP}'
|
||
- tag: dns-server
|
||
value: '{#DNS.SERVER}'
|
||
- tag: dns-type
|
||
value: '{#DNS.TYPE}'
|
||
- uuid: 036858d6e02a482a87da5c66c2bb3a4f
|
||
name: 'DNS [{#DNS.GROUP}][{#DNS.SERVER}][{#DNS.IP}]: TCP connection'
|
||
type: DEPENDENT
|
||
key: 'ribbon.dns.connection[{#DNS.GROUP}/{#DNS.SERVER}/{#DNS.IP}]'
|
||
delay: '0'
|
||
description: 'Total number of DNS TCP connection.'
|
||
preprocessing:
|
||
- type: JSONPATH
|
||
parameters:
|
||
- $.totalTcpConnection
|
||
- type: DISCARD_UNCHANGED_HEARTBEAT
|
||
parameters:
|
||
- 1h
|
||
master_item:
|
||
key: 'ribbon.dns.get.stats.data[{#DNS.GROUP}/{#DNS.SERVER}/{#DNS.IP}]'
|
||
tags:
|
||
- tag: component
|
||
value: dns
|
||
- tag: dns-group
|
||
value: '{#DNS.GROUP}'
|
||
- tag: dns-ip
|
||
value: '{#DNS.IP}'
|
||
- tag: dns-server
|
||
value: '{#DNS.SERVER}'
|
||
- tag: dns-type
|
||
value: '{#DNS.TYPE}'
|
||
- uuid: 8981ce984a194bfbbe535753a81a9099
|
||
name: 'DNS [{#DNS.GROUP}][{#DNS.SERVER}][{#DNS.IP}]: Errors'
|
||
type: DEPENDENT
|
||
key: 'ribbon.dns.errors[{#DNS.GROUP}/{#DNS.SERVER}/{#DNS.IP}]'
|
||
delay: '0'
|
||
description: 'Total number of DNS errors.'
|
||
preprocessing:
|
||
- type: JSONPATH
|
||
parameters:
|
||
- $.errors
|
||
- type: DISCARD_UNCHANGED_HEARTBEAT
|
||
parameters:
|
||
- 1h
|
||
master_item:
|
||
key: 'ribbon.dns.get.stats.data[{#DNS.GROUP}/{#DNS.SERVER}/{#DNS.IP}]'
|
||
tags:
|
||
- tag: component
|
||
value: dns
|
||
- tag: dns-group
|
||
value: '{#DNS.GROUP}'
|
||
- tag: dns-ip
|
||
value: '{#DNS.IP}'
|
||
- tag: dns-server
|
||
value: '{#DNS.SERVER}'
|
||
- tag: dns-type
|
||
value: '{#DNS.TYPE}'
|
||
trigger_prototypes:
|
||
- uuid: e1bc3be5563147c3a38ee20f99f9330c
|
||
expression: 'last(/Ribbon SBC SWe Core by HTTP/ribbon.dns.errors[{#DNS.GROUP}/{#DNS.SERVER}/{#DNS.IP}]) >= {$RIBBON.DNS.ERRORS.TRIGGER.THRESHOLD}'
|
||
name: 'Ribbon: DNS [{#DNS.GROUP}][{#DNS.SERVER}][{#DNS.IP}]: High number of errors'
|
||
opdata: 'Current number of errors: {ITEM.LASTVALUE}'
|
||
priority: WARNING
|
||
description: 'The number of DNS errors is high.'
|
||
tags:
|
||
- tag: scope
|
||
value: availability
|
||
- uuid: d34426bc96e44b77a85b65f433bb0f27
|
||
name: 'DNS [{#DNS.GROUP}][{#DNS.SERVER}][{#DNS.IP}]: Raw data'
|
||
type: DEPENDENT
|
||
key: 'ribbon.dns.get.stats.data[{#DNS.GROUP}/{#DNS.SERVER}/{#DNS.IP}]'
|
||
delay: '0'
|
||
history: '0'
|
||
value_type: TEXT
|
||
trends: '0'
|
||
description: 'Raw data of the DNS statistics.'
|
||
preprocessing:
|
||
- type: JSONPATH
|
||
parameters:
|
||
- '$.dnsGroup[?(@.name=="{#DNS.GROUP}")].dnsServerStatistics[?(@.ipAddress=="{#DNS.IP}")].first()'
|
||
master_item:
|
||
key: ribbon.system.data.get
|
||
tags:
|
||
- tag: component
|
||
value: dns
|
||
- tag: component
|
||
value: raw
|
||
- tag: dns-group
|
||
value: '{#DNS.GROUP}'
|
||
- tag: dns-ip
|
||
value: '{#DNS.IP}'
|
||
- tag: dns-server
|
||
value: '{#DNS.SERVER}'
|
||
- tag: dns-type
|
||
value: '{#DNS.TYPE}'
|
||
- uuid: 02a9cf1f50e3466b9a100e5dc108d16e
|
||
name: 'DNS [{#DNS.GROUP}][{#DNS.SERVER}][{#DNS.IP}]: Query'
|
||
type: DEPENDENT
|
||
key: 'ribbon.dns.query[{#DNS.GROUP}/{#DNS.SERVER}/{#DNS.IP}]'
|
||
delay: '0'
|
||
description: 'Total number of DNS queries received by the server.'
|
||
preprocessing:
|
||
- type: JSONPATH
|
||
parameters:
|
||
- $.queries
|
||
- type: DISCARD_UNCHANGED_HEARTBEAT
|
||
parameters:
|
||
- 1h
|
||
master_item:
|
||
key: 'ribbon.dns.get.stats.data[{#DNS.GROUP}/{#DNS.SERVER}/{#DNS.IP}]'
|
||
tags:
|
||
- tag: component
|
||
value: dns
|
||
- tag: dns-group
|
||
value: '{#DNS.GROUP}'
|
||
- tag: dns-ip
|
||
value: '{#DNS.IP}'
|
||
- tag: dns-server
|
||
value: '{#DNS.SERVER}'
|
||
- tag: dns-type
|
||
value: '{#DNS.TYPE}'
|
||
- uuid: 67a79aebf33046f397ecc565d3e95695
|
||
name: 'DNS [{#DNS.GROUP}][{#DNS.SERVER}][{#DNS.IP}]: Referrals'
|
||
type: DEPENDENT
|
||
key: 'ribbon.dns.referrals[{#DNS.GROUP}/{#DNS.SERVER}/{#DNS.IP}]'
|
||
delay: '0'
|
||
description: 'Total number of DNS referrals.'
|
||
preprocessing:
|
||
- type: JSONPATH
|
||
parameters:
|
||
- $.referrals
|
||
- type: DISCARD_UNCHANGED_HEARTBEAT
|
||
parameters:
|
||
- 1h
|
||
master_item:
|
||
key: 'ribbon.dns.get.stats.data[{#DNS.GROUP}/{#DNS.SERVER}/{#DNS.IP}]'
|
||
tags:
|
||
- tag: component
|
||
value: dns
|
||
- tag: dns-group
|
||
value: '{#DNS.GROUP}'
|
||
- tag: dns-ip
|
||
value: '{#DNS.IP}'
|
||
- tag: dns-server
|
||
value: '{#DNS.SERVER}'
|
||
- tag: dns-type
|
||
value: '{#DNS.TYPE}'
|
||
- uuid: 2729f041ee1b451da2af1676acab928f
|
||
name: 'DNS [{#DNS.GROUP}][{#DNS.SERVER}][{#DNS.IP}]: Timeouts'
|
||
type: DEPENDENT
|
||
key: 'ribbon.dns.timeouts[{#DNS.GROUP}/{#DNS.SERVER}/{#DNS.IP}]'
|
||
delay: '0'
|
||
description: 'Total number of DNS timeouts.'
|
||
preprocessing:
|
||
- type: JSONPATH
|
||
parameters:
|
||
- $.timeouts
|
||
- type: DISCARD_UNCHANGED_HEARTBEAT
|
||
parameters:
|
||
- 1h
|
||
master_item:
|
||
key: 'ribbon.dns.get.stats.data[{#DNS.GROUP}/{#DNS.SERVER}/{#DNS.IP}]'
|
||
tags:
|
||
- tag: component
|
||
value: dns
|
||
- tag: dns-group
|
||
value: '{#DNS.GROUP}'
|
||
- tag: dns-ip
|
||
value: '{#DNS.IP}'
|
||
- tag: dns-server
|
||
value: '{#DNS.SERVER}'
|
||
- tag: dns-type
|
||
value: '{#DNS.TYPE}'
|
||
trigger_prototypes:
|
||
- uuid: bc7d79451e4340f9b1c8417236fd1433
|
||
expression: 'last(/Ribbon SBC SWe Core by HTTP/ribbon.dns.errors[{#DNS.GROUP}/{#DNS.SERVER}/{#DNS.IP}])/last(/Ribbon SBC SWe Core by HTTP/ribbon.dns.query[{#DNS.GROUP}/{#DNS.SERVER}/{#DNS.IP}])*100>{$RIBBON.DNS.ERRORS.PERCENT.TRIGGER.THRESHOLD}'
|
||
name: 'Ribbon: DNS [{#DNS.GROUP}][{#DNS.SERVER}][{#DNS.IP}]: High percentage of errors'
|
||
opdata: 'Current error: {ITEM.LASTVALUE1} of {ITEM.LASTVALUE2} queries'
|
||
priority: WARNING
|
||
description: 'The percentage of DNS errors is high.'
|
||
tags:
|
||
- tag: scope
|
||
value: availability
|
||
- uuid: c3f4e1d5b1e14f2fa9f3e6d3e8b7a6c1
|
||
expression: 'last(/Ribbon SBC SWe Core by HTTP/ribbon.dns.timeouts[{#DNS.GROUP}/{#DNS.SERVER}/{#DNS.IP}])/last(/Ribbon SBC SWe Core by HTTP/ribbon.dns.query[{#DNS.GROUP}/{#DNS.SERVER}/{#DNS.IP}])*100>{$RIBBON.DNS.TIMEOUTS.PERCENT.TRIGGER.THRESHOLD}'
|
||
name: 'Ribbon: DNS [{#DNS.GROUP}][{#DNS.SERVER}][{#DNS.IP}]: High percentage of timeouts'
|
||
opdata: 'Current timeouts: {ITEM.LASTVALUE1} of {ITEM.LASTVALUE2} queries'
|
||
priority: WARNING
|
||
description: 'The percentage of DNS timeouts is high.'
|
||
tags:
|
||
- tag: scope
|
||
value: availability
|
||
master_item:
|
||
key: ribbon.system.data.get
|
||
preprocessing:
|
||
- type: JAVASCRIPT
|
||
parameters:
|
||
- |
|
||
var data = JSON.parse(value),
|
||
dns = getField(data, 'dnsGroup'),
|
||
dns_servers = [];
|
||
|
||
function getField(data, path, defaultValue) {
|
||
var steps = path.split('.'),
|
||
step = steps.shift();
|
||
|
||
while (typeof step !== 'undefined') {
|
||
if (typeof data === 'undefined' || typeof data[step] === 'undefined') {
|
||
return defaultValue;
|
||
}
|
||
|
||
data = data[step];
|
||
step = steps.shift();
|
||
}
|
||
return data;
|
||
};
|
||
|
||
dns.forEach(function (item) {
|
||
|
||
var group = getField(item, "name"),
|
||
type = getField(item, "type"),
|
||
servers = getField(item, "server", {}),
|
||
servers = Array.isArray(servers) ? servers : [servers];
|
||
|
||
servers.forEach(function (server) {
|
||
dns_servers.push({
|
||
"{#DNS.GROUP}": group,
|
||
"{#DNS.TYPE}": type,
|
||
"{#DNS.SERVER}": getField(server, "name", ''),
|
||
"{#DNS.IP}": getField(server, "ipAddress", ''),
|
||
"{#DNS.STATE}": getField(server, "state", '')
|
||
});
|
||
});
|
||
});
|
||
|
||
return JSON.stringify(dns_servers);
|
||
- type: DISCARD_UNCHANGED_HEARTBEAT
|
||
parameters:
|
||
- 1h
|
||
- uuid: 1e3d38f447114daab812c98af635dc30
|
||
name: 'License discovery'
|
||
type: DEPENDENT
|
||
key: ribbon.license.discovery
|
||
delay: '0'
|
||
filter:
|
||
evaltype: AND
|
||
conditions:
|
||
- macro: '{#LICENSE.NAME}'
|
||
value: '{$RIBBON.LICENSE.DISCOVERY.NAME.MATCHES}'
|
||
formulaid: A
|
||
- macro: '{#LICENSE.NAME}'
|
||
value: '{$RIBBON.LICENSE.DISCOVERY.NAME.NOT_MATCHES}'
|
||
operator: NOT_MATCHES_REGEX
|
||
formulaid: B
|
||
description: 'Used for the discovery of license info.'
|
||
item_prototypes:
|
||
- uuid: 4d378c397f214642aa2348bf60719805
|
||
name: 'License [{#LICENSE.NAME}]: Expiry date'
|
||
type: DEPENDENT
|
||
key: 'ribbon.license.expiry.date[{#LICENSE.NAME}/{#LICENSE.SOURCE}]'
|
||
delay: '0'
|
||
value_type: CHAR
|
||
trends: '0'
|
||
description: 'Expiry date of the license.'
|
||
preprocessing:
|
||
- type: JSONPATH
|
||
parameters:
|
||
- '$.licenseInfo.[?(@.featureName == "{#LICENSE.NAME}" && @.source == "{#LICENSE.SOURCE}")].expirationDate.first()'
|
||
- type: DISCARD_UNCHANGED_HEARTBEAT
|
||
parameters:
|
||
- 1h
|
||
master_item:
|
||
key: ribbon.system.data.get
|
||
tags:
|
||
- tag: component
|
||
value: license
|
||
- tag: license-name
|
||
value: '{#LICENSE.NAME}'
|
||
- uuid: 76038b1448e54068a32195e88b96578f
|
||
name: 'License [{#LICENSE.NAME}]: Current usage'
|
||
type: DEPENDENT
|
||
key: 'ribbon.license.usage.current[{#LICENSE.NAME}/{#LICENSE.SOURCE}]'
|
||
delay: '0'
|
||
description: 'Current usage of the license.'
|
||
preprocessing:
|
||
- type: JSONPATH
|
||
parameters:
|
||
- '$.licenseInfo.[?(@.featureName == "{#LICENSE.NAME}" && @.source == "{#LICENSE.SOURCE}")].inUse.first()'
|
||
- type: DISCARD_UNCHANGED_HEARTBEAT
|
||
parameters:
|
||
- 1h
|
||
master_item:
|
||
key: ribbon.system.data.get
|
||
tags:
|
||
- tag: component
|
||
value: license
|
||
- tag: license-name
|
||
value: '{#LICENSE.NAME}'
|
||
- uuid: 0e9b831e5d75425fa8f71ea23a21826a
|
||
name: 'License [{#LICENSE.NAME}]: Usage limit'
|
||
type: DEPENDENT
|
||
key: 'ribbon.license.usage.limit[{#LICENSE.NAME}/{#LICENSE.SOURCE}]'
|
||
delay: '0'
|
||
description: 'Usage limit of the license.'
|
||
preprocessing:
|
||
- type: JSONPATH
|
||
parameters:
|
||
- '$.licenseInfo.[?(@.featureName == "{#LICENSE.NAME}" && @.source == "{#LICENSE.SOURCE}")].usageLimit.first()'
|
||
- type: DISCARD_UNCHANGED_HEARTBEAT
|
||
parameters:
|
||
- 1h
|
||
master_item:
|
||
key: ribbon.system.data.get
|
||
tags:
|
||
- tag: component
|
||
value: license
|
||
- tag: license-name
|
||
value: '{#LICENSE.NAME}'
|
||
master_item:
|
||
key: ribbon.system.data.get
|
||
preprocessing:
|
||
- type: JAVASCRIPT
|
||
parameters:
|
||
- |
|
||
const json_data = JSON.parse(value)["licenseInfo"];
|
||
var output_data = [];
|
||
|
||
for (var entity in json_data) {
|
||
output_data.push({
|
||
"{#LICENSE.NAME}": json_data[entity]["featureName"],
|
||
"{#LICENSE.SOURCE}": json_data[entity]["source"]
|
||
});
|
||
};
|
||
|
||
return JSON.stringify(output_data);
|
||
- type: DISCARD_UNCHANGED_HEARTBEAT
|
||
parameters:
|
||
- 1h
|
||
- uuid: f10278da819b4ba5b76f505e4289f63a
|
||
name: 'Sync module discovery'
|
||
type: DEPENDENT
|
||
key: ribbon.sync.module.discovery
|
||
delay: '0'
|
||
filter:
|
||
evaltype: AND
|
||
conditions:
|
||
- macro: '{#SYNC.MODULE}'
|
||
value: '{$RIBBON.SYNC.MODULE.DISCOVERY.NAME.MATCHES}'
|
||
formulaid: A
|
||
- macro: '{#SYNC.MODULE}'
|
||
value: '{$RIBBON.SYNC.MODULE.DISCOVERY.NAME.NOT_MATCHES}'
|
||
operator: NOT_MATCHES_REGEX
|
||
formulaid: B
|
||
description: 'Used for the discovery of sync modules.'
|
||
item_prototypes:
|
||
- uuid: 9478b97203694c498e8a88b2d2cd7c35
|
||
name: 'Module [{#SYNC.MODULE}]: Sync status'
|
||
type: DEPENDENT
|
||
key: 'ribbon.sync.module.status[{#SYNC.MODULE}]'
|
||
delay: '0'
|
||
value_type: CHAR
|
||
trends: '0'
|
||
description: 'Indicates the inter-CE data synchronization state.'
|
||
preprocessing:
|
||
- type: JSONPATH
|
||
parameters:
|
||
- '$.syncStatus.[?(@.syncModule == "{#SYNC.MODULE}")].status.first()'
|
||
- type: DISCARD_UNCHANGED_HEARTBEAT
|
||
parameters:
|
||
- 1h
|
||
master_item:
|
||
key: ribbon.system.data.get
|
||
tags:
|
||
- tag: component
|
||
value: sync-module
|
||
- tag: module
|
||
value: '{#SYNC.MODULE}'
|
||
trigger_prototypes:
|
||
- uuid: 851d014e5d454d29a38ec4754ce1d6ac
|
||
expression: 'last(/Ribbon SBC SWe Core by HTTP/ribbon.sync.module.status[{#SYNC.MODULE}])<>"syncCompleted"'
|
||
name: 'Ribbon: Module [{#SYNC.MODULE}]: Sync status is not "Completed"'
|
||
opdata: 'Current status: {ITEM.LASTVALUE}'
|
||
priority: AVERAGE
|
||
description: 'The module sync status is not "Completed".'
|
||
tags:
|
||
- tag: scope
|
||
value: availability
|
||
master_item:
|
||
key: ribbon.system.data.get
|
||
preprocessing:
|
||
- type: JAVASCRIPT
|
||
parameters:
|
||
- |
|
||
const json_data = JSON.parse(value)['syncStatus'];
|
||
var output_data = [];
|
||
|
||
for (var entity in json_data) {
|
||
output_data.push({
|
||
"{#SYNC.MODULE}": json_data[entity]["syncModule"]
|
||
});
|
||
};
|
||
|
||
return JSON.stringify(output_data);
|
||
- type: DISCARD_UNCHANGED_HEARTBEAT
|
||
parameters:
|
||
- 1h
|
||
- uuid: cde1b0d0f05e4cdea40c15756057e3ef
|
||
name: 'Trunk group discovery'
|
||
type: DEPENDENT
|
||
key: ribbon.trunk.group.discovery
|
||
delay: '0'
|
||
filter:
|
||
evaltype: AND
|
||
conditions:
|
||
- macro: '{#TRUNK.GROUP}'
|
||
value: '{$RIBBON.TRUNK.GROUP.DISCOVERY.NAME.MATCHES}'
|
||
formulaid: A
|
||
- macro: '{#TRUNK.GROUP}'
|
||
value: '{$RIBBON.TRUNK.GROUP.DISCOVERY.NAME.NOT_MATCHES}'
|
||
operator: NOT_MATCHES_REGEX
|
||
formulaid: B
|
||
description: 'Used for the discovery of trunk group statistics.'
|
||
item_prototypes:
|
||
- uuid: 3dc2bc687ac34b56b6baeebee2eee175
|
||
name: 'Trunk [{#TRUNK.GROUP}][{#TRUNK.ZONE}]: Total available calls'
|
||
type: DEPENDENT
|
||
key: 'ribbon.trunk.available.calls[{#TRUNK.GROUP}/{#TRUNK.ZONE}]'
|
||
delay: '0'
|
||
value_type: FLOAT
|
||
description: 'The sum of all available or unblocked calls for this trunk group.'
|
||
preprocessing:
|
||
- type: JSONPATH
|
||
parameters:
|
||
- $.totalCallsAvailable
|
||
- type: DISCARD_UNCHANGED_HEARTBEAT
|
||
parameters:
|
||
- 1h
|
||
master_item:
|
||
key: 'ribbon.trunk.get.stats.data[{#TRUNK.GROUP}/{#TRUNK.ZONE}]'
|
||
tags:
|
||
- tag: component
|
||
value: calls
|
||
- tag: component
|
||
value: trunk
|
||
- tag: trunk-group
|
||
value: '{#TRUNK.GROUP}'
|
||
- tag: trunk-zone
|
||
value: '{#TRUNK.ZONE}'
|
||
- uuid: a80bd3155466423e962d93833c29a7d7
|
||
name: 'Trunk [{#TRUNK.GROUP}][{#TRUNK.ZONE}]: Bandwidth available'
|
||
type: DEPENDENT
|
||
key: 'ribbon.trunk.bw.available[{#TRUNK.GROUP}/{#TRUNK.ZONE}]'
|
||
delay: '0'
|
||
value_type: FLOAT
|
||
units: '!kbit/s'
|
||
description: 'Available bandwidth for allocation (in Kbits/sec).'
|
||
preprocessing:
|
||
- type: JSONPATH
|
||
parameters:
|
||
- $.bwAvailable
|
||
- type: DISCARD_UNCHANGED_HEARTBEAT
|
||
parameters:
|
||
- 1h
|
||
master_item:
|
||
key: 'ribbon.trunk.get.stats.data[{#TRUNK.GROUP}/{#TRUNK.ZONE}]'
|
||
tags:
|
||
- tag: component
|
||
value: bandwidth
|
||
- tag: component
|
||
value: trunk
|
||
- tag: trunk-group
|
||
value: '{#TRUNK.GROUP}'
|
||
- tag: trunk-zone
|
||
value: '{#TRUNK.ZONE}'
|
||
- uuid: 59f4808a47dc498085febaf9a6346ea3
|
||
name: 'Trunk [{#TRUNK.GROUP}][{#TRUNK.ZONE}]: Bandwidth current limit'
|
||
type: DEPENDENT
|
||
key: 'ribbon.trunk.bw.current.limit[{#TRUNK.GROUP}/{#TRUNK.ZONE}]'
|
||
delay: '0'
|
||
value_type: FLOAT
|
||
units: '!kbit/s'
|
||
description: 'The current bandwidth limit for this IP trunk group. It is initially set to the configured bandwidth limit, but may be reduced due to packet outage detection events (in Kbits/sec).'
|
||
preprocessing:
|
||
- type: JSONPATH
|
||
parameters:
|
||
- $.bwCurrentLimit
|
||
- type: DISCARD_UNCHANGED_HEARTBEAT
|
||
parameters:
|
||
- 1h
|
||
master_item:
|
||
key: 'ribbon.trunk.get.stats.data[{#TRUNK.GROUP}/{#TRUNK.ZONE}]'
|
||
tags:
|
||
- tag: component
|
||
value: bandwidth
|
||
- tag: component
|
||
value: trunk
|
||
- tag: trunk-group
|
||
value: '{#TRUNK.GROUP}'
|
||
- tag: trunk-zone
|
||
value: '{#TRUNK.ZONE}'
|
||
- uuid: 2a94701789934237a306d4cee56a6931
|
||
name: 'Trunk [{#TRUNK.GROUP}][{#TRUNK.ZONE}]: Bandwidth inbound usage'
|
||
type: DEPENDENT
|
||
key: 'ribbon.trunk.bw.inbound.usage[{#TRUNK.GROUP}/{#TRUNK.ZONE}]'
|
||
delay: '0'
|
||
value_type: FLOAT
|
||
units: '!kbit/s'
|
||
description: 'Bandwidth in use for inbound traffic (in Kbits/sec).'
|
||
preprocessing:
|
||
- type: JSONPATH
|
||
parameters:
|
||
- $.bwInboundUsage
|
||
- type: DISCARD_UNCHANGED_HEARTBEAT
|
||
parameters:
|
||
- 1h
|
||
master_item:
|
||
key: 'ribbon.trunk.get.stats.data[{#TRUNK.GROUP}/{#TRUNK.ZONE}]'
|
||
tags:
|
||
- tag: component
|
||
value: bandwidth
|
||
- tag: component
|
||
value: trunk
|
||
- tag: trunk-group
|
||
value: '{#TRUNK.GROUP}'
|
||
- tag: trunk-zone
|
||
value: '{#TRUNK.ZONE}'
|
||
- uuid: 2218ec6ed3e7470d98a42153f4fe5bb7
|
||
name: 'Trunk [{#TRUNK.GROUP}][{#TRUNK.ZONE}]: Bandwidth outbound usage'
|
||
type: DEPENDENT
|
||
key: 'ribbon.trunk.bw.outbound.usage[{#TRUNK.GROUP}/{#TRUNK.ZONE}]'
|
||
delay: '0'
|
||
value_type: FLOAT
|
||
units: '!kbit/s'
|
||
description: 'Bandwidth in use for outbound traffic (in Kbits/sec).'
|
||
preprocessing:
|
||
- type: JSONPATH
|
||
parameters:
|
||
- $.bwOutboundUsage
|
||
- type: DISCARD_UNCHANGED_HEARTBEAT
|
||
parameters:
|
||
- 1h
|
||
master_item:
|
||
key: 'ribbon.trunk.get.stats.data[{#TRUNK.GROUP}/{#TRUNK.ZONE}]'
|
||
tags:
|
||
- tag: component
|
||
value: bandwidth
|
||
- tag: component
|
||
value: trunk
|
||
- tag: trunk-group
|
||
value: '{#TRUNK.GROUP}'
|
||
- tag: trunk-zone
|
||
value: '{#TRUNK.ZONE}'
|
||
- uuid: 320d5534056742589e120c743f3c7a99
|
||
name: 'Trunk [{#TRUNK.GROUP}][{#TRUNK.ZONE}]: Raw data'
|
||
type: DEPENDENT
|
||
key: 'ribbon.trunk.get.stats.data[{#TRUNK.GROUP}/{#TRUNK.ZONE}]'
|
||
delay: '0'
|
||
history: '0'
|
||
value_type: TEXT
|
||
trends: '0'
|
||
description: 'Raw data of trunk group statistics.'
|
||
preprocessing:
|
||
- type: JSONPATH
|
||
parameters:
|
||
- '$.globalTrunkGroupStatus[?(@.name=="{#TRUNK.GROUP}" && @.zone == "{#TRUNK.ZONE}")].first()'
|
||
master_item:
|
||
key: ribbon.system.data.get
|
||
tags:
|
||
- tag: component
|
||
value: raw
|
||
- tag: component
|
||
value: trunk
|
||
- tag: trunk-group
|
||
value: '{#TRUNK.GROUP}'
|
||
- tag: trunk-zone
|
||
value: '{#TRUNK.ZONE}'
|
||
- uuid: 769834a24caa42c4b4dbd223142eed68
|
||
name: 'Trunk [{#TRUNK.GROUP}][{#TRUNK.ZONE}]: Inbound call usage'
|
||
type: DEPENDENT
|
||
key: 'ribbon.trunk.inbound.usage.calls[{#TRUNK.GROUP}/{#TRUNK.ZONE}]'
|
||
delay: '0'
|
||
value_type: FLOAT
|
||
description: 'Relevant only for IP trunk groups configured for inbound or both directions. Reflects the current inbound or incoming usage count of the IP trunk group (in number of calls).'
|
||
preprocessing:
|
||
- type: JSONPATH
|
||
parameters:
|
||
- $.inboundCallsUsage
|
||
- type: DISCARD_UNCHANGED_HEARTBEAT
|
||
parameters:
|
||
- 1h
|
||
master_item:
|
||
key: 'ribbon.trunk.get.stats.data[{#TRUNK.GROUP}/{#TRUNK.ZONE}]'
|
||
tags:
|
||
- tag: component
|
||
value: calls
|
||
- tag: component
|
||
value: trunk
|
||
- tag: trunk-group
|
||
value: '{#TRUNK.GROUP}'
|
||
- tag: trunk-zone
|
||
value: '{#TRUNK.ZONE}'
|
||
- uuid: 89721a0f5621478f9ed6b76258e7f690
|
||
name: 'Trunk [{#TRUNK.GROUP}][{#TRUNK.ZONE}]: Outbound call usage'
|
||
type: DEPENDENT
|
||
key: 'ribbon.trunk.outbound.usage.calls[{#TRUNK.GROUP}/{#TRUNK.ZONE}]'
|
||
delay: '0'
|
||
value_type: FLOAT
|
||
description: 'This reflects the current outbound, non-priority usage count of this IP trunk group (in number of calls).'
|
||
preprocessing:
|
||
- type: JSONPATH
|
||
parameters:
|
||
- $.outboundCallsUsage
|
||
- type: DISCARD_UNCHANGED_HEARTBEAT
|
||
parameters:
|
||
- 1h
|
||
master_item:
|
||
key: 'ribbon.trunk.get.stats.data[{#TRUNK.GROUP}/{#TRUNK.ZONE}]'
|
||
tags:
|
||
- tag: component
|
||
value: calls
|
||
- tag: component
|
||
value: trunk
|
||
- tag: trunk-group
|
||
value: '{#TRUNK.GROUP}'
|
||
- tag: trunk-zone
|
||
value: '{#TRUNK.ZONE}'
|
||
- uuid: fbb82a63eed74bf781ac725bcf68ce4f
|
||
name: 'Trunk [{#TRUNK.GROUP}][{#TRUNK.ZONE}]: Packet out detect state'
|
||
type: DEPENDENT
|
||
key: 'ribbon.trunk.packet.out.detect.state[{#TRUNK.GROUP}/{#TRUNK.ZONE}]'
|
||
delay: '0'
|
||
description: 'Indicates the packet outage detection state of the trunk. `normal` - No packet outage declared. `packetOutageState` - Packet outage declared. The current bandwidth limit may be reduced according to the outage detection policy.'
|
||
valuemap:
|
||
name: 'Ribbon: Trunk packet out detect state'
|
||
preprocessing:
|
||
- type: JSONPATH
|
||
parameters:
|
||
- $.packetOutDetectState
|
||
- type: JAVASCRIPT
|
||
parameters:
|
||
- |
|
||
const idx = [
|
||
'packetOutageState',
|
||
'normal'
|
||
].indexOf(value);
|
||
|
||
return idx !== -1 ? idx : 2;
|
||
- type: DISCARD_UNCHANGED_HEARTBEAT
|
||
parameters:
|
||
- 1h
|
||
master_item:
|
||
key: 'ribbon.trunk.get.stats.data[{#TRUNK.GROUP}/{#TRUNK.ZONE}]'
|
||
tags:
|
||
- tag: component
|
||
value: trunk
|
||
- tag: trunk-group
|
||
value: '{#TRUNK.GROUP}'
|
||
- tag: trunk-zone
|
||
value: '{#TRUNK.ZONE}'
|
||
trigger_prototypes:
|
||
- uuid: d18a4f15d3134cdcb8ce70556bfbcbee
|
||
expression: 'last(/Ribbon SBC SWe Core by HTTP/ribbon.trunk.packet.out.detect.state[{#TRUNK.GROUP}/{#TRUNK.ZONE}])<>1'
|
||
name: 'Ribbon: Trunk [{#TRUNK.GROUP}][{#TRUNK.ZONE}]: Packet out detect state is not "normal"'
|
||
opdata: 'Current state: {ITEM.LASTVALUE}'
|
||
priority: AVERAGE
|
||
description: 'Indicates that a packet outage has been declared on this trunk.'
|
||
tags:
|
||
- tag: scope
|
||
value: availability
|
||
- uuid: ff1e154269e647b5add00b88dd3b3891
|
||
name: 'Trunk [{#TRUNK.GROUP}][{#TRUNK.ZONE}]: Priority call usage'
|
||
type: DEPENDENT
|
||
key: 'ribbon.trunk.priority.usage.calls[{#TRUNK.GROUP}/{#TRUNK.ZONE}]'
|
||
delay: '0'
|
||
value_type: FLOAT
|
||
description: 'Relevant only for IP trunk groups that are configured with priority call reservation enabled. Reflects the current priority usage count of the IP trunk group (in number of calls).'
|
||
preprocessing:
|
||
- type: JSONPATH
|
||
parameters:
|
||
- $.priorityCallUsage
|
||
- type: DISCARD_UNCHANGED_HEARTBEAT
|
||
parameters:
|
||
- 1h
|
||
master_item:
|
||
key: 'ribbon.trunk.get.stats.data[{#TRUNK.GROUP}/{#TRUNK.ZONE}]'
|
||
tags:
|
||
- tag: component
|
||
value: calls
|
||
- tag: component
|
||
value: trunk
|
||
- tag: trunk-group
|
||
value: '{#TRUNK.GROUP}'
|
||
- tag: trunk-zone
|
||
value: '{#TRUNK.ZONE}'
|
||
- uuid: bdbe03787d544f41bdbcbb8e3eb6c621
|
||
name: 'Trunk [{#TRUNK.GROUP}][{#TRUNK.ZONE}]: State'
|
||
type: DEPENDENT
|
||
key: 'ribbon.trunk.state[{#TRUNK.GROUP}/{#TRUNK.ZONE}]'
|
||
delay: '0'
|
||
value_type: CHAR
|
||
trends: '0'
|
||
description: 'Current operational state of the IP trunk group.'
|
||
preprocessing:
|
||
- type: JSONPATH
|
||
parameters:
|
||
- $.state
|
||
- type: DISCARD_UNCHANGED_HEARTBEAT
|
||
parameters:
|
||
- 1h
|
||
master_item:
|
||
key: 'ribbon.trunk.get.stats.data[{#TRUNK.GROUP}/{#TRUNK.ZONE}]'
|
||
tags:
|
||
- tag: component
|
||
value: trunk
|
||
- tag: trunk-group
|
||
value: '{#TRUNK.GROUP}'
|
||
- tag: trunk-zone
|
||
value: '{#TRUNK.ZONE}'
|
||
trigger_prototypes:
|
||
- uuid: 4caad3b7c12d4ac897a7534babf1a9a2
|
||
expression: 'last(/Ribbon SBC SWe Core by HTTP/ribbon.trunk.state[{#TRUNK.GROUP}/{#TRUNK.ZONE}])<>"inService"'
|
||
name: 'Ribbon: Trunk [{#TRUNK.GROUP}][{#TRUNK.ZONE}]: State is not "inService"'
|
||
opdata: 'Current state: {ITEM.LASTVALUE}'
|
||
priority: WARNING
|
||
description: 'Indicates that the trunk is not in service.'
|
||
tags:
|
||
- tag: scope
|
||
value: availability
|
||
master_item:
|
||
key: ribbon.system.data.get
|
||
preprocessing:
|
||
- type: JAVASCRIPT
|
||
parameters:
|
||
- |
|
||
const json_data = JSON.parse(value)["globalTrunkGroupStatus"];
|
||
var output_data = [];
|
||
|
||
for (var entity in json_data) {
|
||
output_data.push({
|
||
"{#TRUNK.GROUP}": json_data[entity]["name"],
|
||
"{#TRUNK.ZONE}": json_data[entity]["zone"]
|
||
});
|
||
};
|
||
|
||
return JSON.stringify(output_data);
|
||
- type: DISCARD_UNCHANGED_HEARTBEAT
|
||
parameters:
|
||
- 1h
|
||
tags:
|
||
- tag: class
|
||
value: software
|
||
- tag: subclass
|
||
value: communication
|
||
- tag: target
|
||
value: ribbon
|
||
- tag: target
|
||
value: ribbon-swe-core
|
||
macros:
|
||
- macro: '{$HTTP.TLS.VERIFY}'
|
||
value: full
|
||
description: 'TLS certificate verification for the script item: "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 "Ribbon SBC SWe Core", e.g. {$HTTP.TLS.VERIFY:"Ribbon SBC SWe Core"}.'
|
||
- macro: '{$RIBBON.CE.DISCOVERY.HW.TYPE.MATCHES}'
|
||
value: '.*'
|
||
description: 'Sets the regex string of call engine hardware types to be allowed in discovery.'
|
||
- macro: '{$RIBBON.CE.DISCOVERY.HW.TYPE.NOT_MATCHES}'
|
||
value: CHANGE_IF_NEEDED
|
||
description: 'Sets the regex string of call engine hardware types to be ignored in discovery.'
|
||
- macro: '{$RIBBON.CE.DISCOVERY.NAME.MATCHES}'
|
||
value: '.*'
|
||
description: 'Sets the regex string of call engine names to be allowed in discovery.'
|
||
- macro: '{$RIBBON.CE.DISCOVERY.NAME.NOT_MATCHES}'
|
||
value: CHANGE_IF_NEEDED
|
||
description: 'Sets the regex string of call engine names to be ignored in discovery.'
|
||
- macro: '{$RIBBON.CE.DISCOVERY.ROLE.MATCHES}'
|
||
value: '.*'
|
||
description: 'Sets the regex string of call engine roles to be allowed in discovery.'
|
||
- macro: '{$RIBBON.CE.DISCOVERY.ROLE.NOT_MATCHES}'
|
||
value: CHANGE_IF_NEEDED
|
||
description: 'Sets the regex string of call engine roles to be ignored in discovery.'
|
||
- macro: '{$RIBBON.DNS.ERRORS.PERCENT.TRIGGER.THRESHOLD}'
|
||
value: '70'
|
||
description: 'The threshold of DNS errors in percent.'
|
||
- macro: '{$RIBBON.DNS.ERRORS.TRIGGER.THRESHOLD}'
|
||
value: '1000'
|
||
description: 'The threshold of DNS errors.'
|
||
- macro: '{$RIBBON.DNS.GROUP.DISCOVERY.NAME.MATCHES}'
|
||
value: '.*'
|
||
description: 'Sets the regex string of DNS group names to be allowed in discovery.'
|
||
- macro: '{$RIBBON.DNS.GROUP.DISCOVERY.NAME.NOT_MATCHES}'
|
||
value: CHANGE_IF_NEEDED
|
||
description: 'Sets the regex string of DNS group names to be ignored in discovery.'
|
||
- macro: '{$RIBBON.DNS.TIMEOUTS.PERCENT.TRIGGER.THRESHOLD}'
|
||
value: '70'
|
||
description: 'The threshold of DNS timeouts in percent.'
|
||
- macro: '{$RIBBON.LICENSE.DISCOVERY.NAME.MATCHES}'
|
||
value: '.*'
|
||
description: 'Sets the regex string of license names to be allowed in discovery.'
|
||
- macro: '{$RIBBON.LICENSE.DISCOVERY.NAME.NOT_MATCHES}'
|
||
value: CHANGE_IF_NEEDED
|
||
description: 'Sets the regex string of license names to be ignored in discovery.'
|
||
- macro: '{$RIBBON.PASSWORD}'
|
||
type: SECRET_TEXT
|
||
description: 'Ribbon SBC user password.'
|
||
- macro: '{$RIBBON.PROXY}'
|
||
description: 'Sets the HTTP proxy value. If this macro is empty, then no proxy is used.'
|
||
- macro: '{$RIBBON.SYNC.MODULE.DISCOVERY.NAME.MATCHES}'
|
||
value: '.*'
|
||
description: 'Sets the regex string of sync module names to be allowed in discovery.'
|
||
- macro: '{$RIBBON.SYNC.MODULE.DISCOVERY.NAME.NOT_MATCHES}'
|
||
value: CHANGE_IF_NEEDED
|
||
description: 'Sets the regex string of sync module names to be ignored in discovery.'
|
||
- macro: '{$RIBBON.TRUNK.GROUP.DISCOVERY.NAME.MATCHES}'
|
||
value: '.*'
|
||
description: 'Sets the regex string of trunk group names to be allowed in discovery.'
|
||
- macro: '{$RIBBON.TRUNK.GROUP.DISCOVERY.NAME.NOT_MATCHES}'
|
||
value: CHANGE_IF_NEEDED
|
||
description: 'Sets the regex string of trunk group names to be ignored in discovery.'
|
||
- macro: '{$RIBBON.URL}'
|
||
description: 'Ribbon SBC API IP.'
|
||
- macro: '{$RIBBON.USERNAME}'
|
||
description: 'Ribbon SBC username.'
|
||
dashboards:
|
||
- uuid: 02584a811ff84a01ab69ac2640d8ea1d
|
||
name: 'Ribbon SWe core overview'
|
||
pages:
|
||
- name: 'Ribbon: Overview'
|
||
widgets:
|
||
- type: item
|
||
name: 'System name'
|
||
width: '36'
|
||
hide_header: 'YES'
|
||
fields:
|
||
- type: INTEGER
|
||
name: desc_v_pos
|
||
value: '0'
|
||
- type: ITEM
|
||
name: itemid.0
|
||
value:
|
||
host: 'Ribbon SBC SWe Core by HTTP'
|
||
key: ribbon.system.name
|
||
- type: INTEGER
|
||
name: show.0
|
||
value: '1'
|
||
- type: INTEGER
|
||
name: show.1
|
||
value: '2'
|
||
- type: INTEGER
|
||
name: value_bold
|
||
value: '0'
|
||
- type: svggraph
|
||
name: 'Call statistic'
|
||
'y': '2'
|
||
width: '36'
|
||
height: '6'
|
||
fields:
|
||
- type: STRING
|
||
name: ds.0.color.0
|
||
value: FFD54F
|
||
- type: STRING
|
||
name: ds.0.color.1
|
||
value: 0EC9AC
|
||
- type: STRING
|
||
name: ds.0.color.2
|
||
value: 524BBC
|
||
- type: STRING
|
||
name: ds.0.color.3
|
||
value: ED1248
|
||
- type: STRING
|
||
name: ds.0.color.4
|
||
value: D1E754
|
||
- type: STRING
|
||
name: ds.0.color.5
|
||
value: 2AB5FF
|
||
- type: INTEGER
|
||
name: ds.0.dataset_type
|
||
value: '0'
|
||
- type: INTEGER
|
||
name: ds.0.fill
|
||
value: '5'
|
||
- type: ITEM
|
||
name: ds.0.itemids.0
|
||
value:
|
||
host: 'Ribbon SBC SWe Core by HTTP'
|
||
key: ribbon.system.call.concurrent
|
||
- type: ITEM
|
||
name: ds.0.itemids.1
|
||
value:
|
||
host: 'Ribbon SBC SWe Core by HTTP'
|
||
key: ribbon.system.call.encrypt
|
||
- type: ITEM
|
||
name: ds.0.itemids.2
|
||
value:
|
||
host: 'Ribbon SBC SWe Core by HTTP'
|
||
key: ribbon.system.call.nice.rec
|
||
- type: ITEM
|
||
name: ds.0.itemids.3
|
||
value:
|
||
host: 'Ribbon SBC SWe Core by HTTP'
|
||
key: ribbon.system.call.sip.rec
|
||
- type: ITEM
|
||
name: ds.0.itemids.4
|
||
value:
|
||
host: 'Ribbon SBC SWe Core by HTTP'
|
||
key: ribbon.system.call.srtp
|
||
- type: ITEM
|
||
name: ds.0.itemids.5
|
||
value:
|
||
host: 'Ribbon SBC SWe Core by HTTP'
|
||
key: ribbon.system.call.video
|
||
- type: INTEGER
|
||
name: ds.0.missingdatafunc
|
||
value: '3'
|
||
- type: INTEGER
|
||
name: ds.0.width
|
||
value: '3'
|
||
- type: INTEGER
|
||
name: legend_columns
|
||
value: '1'
|
||
- type: INTEGER
|
||
name: legend_lines
|
||
value: '6'
|
||
- type: INTEGER
|
||
name: legend_statistic
|
||
value: '1'
|
||
- type: STRING
|
||
name: reference
|
||
value: AAAAA
|
||
- type: svggraph
|
||
name: 'HPC queue'
|
||
'y': '8'
|
||
width: '36'
|
||
height: '6'
|
||
fields:
|
||
- type: STRING
|
||
name: ds.0.color.0
|
||
value: FFD54F
|
||
- type: STRING
|
||
name: ds.0.color.1
|
||
value: 0EC9AC
|
||
- type: STRING
|
||
name: ds.0.color.2
|
||
value: 524BBC
|
||
- type: STRING
|
||
name: ds.0.color.3
|
||
value: ED1248
|
||
- type: INTEGER
|
||
name: ds.0.dataset_type
|
||
value: '0'
|
||
- type: INTEGER
|
||
name: ds.0.fill
|
||
value: '5'
|
||
- type: ITEM
|
||
name: ds.0.itemids.0
|
||
value:
|
||
host: 'Ribbon SBC SWe Core by HTTP'
|
||
key: ribbon.system.hpc.queue.abandons
|
||
- type: ITEM
|
||
name: ds.0.itemids.1
|
||
value:
|
||
host: 'Ribbon SBC SWe Core by HTTP'
|
||
key: ribbon.system.hpc.queue.attempts
|
||
- type: ITEM
|
||
name: ds.0.itemids.2
|
||
value:
|
||
host: 'Ribbon SBC SWe Core by HTTP'
|
||
key: ribbon.system.hpc.queue.overflows
|
||
- type: ITEM
|
||
name: ds.0.itemids.3
|
||
value:
|
||
host: 'Ribbon SBC SWe Core by HTTP'
|
||
key: ribbon.system.hpc.queue.timeouts
|
||
- type: INTEGER
|
||
name: ds.0.missingdatafunc
|
||
value: '3'
|
||
- type: INTEGER
|
||
name: ds.0.width
|
||
value: '3'
|
||
- type: INTEGER
|
||
name: legend_columns
|
||
value: '1'
|
||
- type: INTEGER
|
||
name: legend_lines
|
||
value: '4'
|
||
- type: INTEGER
|
||
name: legend_statistic
|
||
value: '1'
|
||
- type: STRING
|
||
name: reference
|
||
value: AAAAC
|
||
- type: item
|
||
name: 'Management mode'
|
||
x: '36'
|
||
width: '36'
|
||
hide_header: 'YES'
|
||
fields:
|
||
- type: INTEGER
|
||
name: desc_v_pos
|
||
value: '0'
|
||
- type: ITEM
|
||
name: itemid.0
|
||
value:
|
||
host: 'Ribbon SBC SWe Core by HTTP'
|
||
key: ribbon.system.haMode
|
||
- type: INTEGER
|
||
name: show.0
|
||
value: '1'
|
||
- type: INTEGER
|
||
name: show.1
|
||
value: '2'
|
||
- type: INTEGER
|
||
name: value_bold
|
||
value: '0'
|
||
- type: honeycomb
|
||
name: 'Congestion level'
|
||
x: '36'
|
||
'y': '2'
|
||
width: '36'
|
||
height: '6'
|
||
fields:
|
||
- type: STRING
|
||
name: bg_color
|
||
value: 81D4FA
|
||
- type: STRING
|
||
name: items.0
|
||
value: 'Call rate congestion level'
|
||
- type: STRING
|
||
name: items.1
|
||
value: 'CPU congestion level'
|
||
- type: STRING
|
||
name: items.2
|
||
value: 'DSP congestion level'
|
||
- type: STRING
|
||
name: items.3
|
||
value: 'IRTT congestion level'
|
||
- type: STRING
|
||
name: items.4
|
||
value: 'System congestion level'
|
||
- type: STRING
|
||
name: primary_label
|
||
value: '{{ITEM.NAME}.regsub("(.*)congestion level", \1)}'
|
||
- type: INTEGER
|
||
name: primary_label_size_type
|
||
value: '1'
|
||
- type: STRING
|
||
name: reference
|
||
value: AAAAB
|
||
- type: INTEGER
|
||
name: secondary_label_decimal_places
|
||
value: '0'
|
||
- type: STRING
|
||
name: thresholds.0.color
|
||
value: 81C784
|
||
- type: STRING
|
||
name: thresholds.0.threshold
|
||
value: '0'
|
||
- type: STRING
|
||
name: thresholds.1.color
|
||
value: CDDC39
|
||
- type: STRING
|
||
name: thresholds.1.threshold
|
||
value: '1'
|
||
- type: STRING
|
||
name: thresholds.2.color
|
||
value: FF8F00
|
||
- type: STRING
|
||
name: thresholds.2.threshold
|
||
value: '2'
|
||
- type: STRING
|
||
name: thresholds.3.color
|
||
value: E65660
|
||
- type: STRING
|
||
name: thresholds.3.threshold
|
||
value: '3'
|
||
- type: svggraph
|
||
name: 'Call status'
|
||
x: '36'
|
||
'y': '8'
|
||
width: '36'
|
||
height: '6'
|
||
fields:
|
||
- type: STRING
|
||
name: ds.0.color.0
|
||
value: FFD54F
|
||
- type: STRING
|
||
name: ds.0.color.1
|
||
value: 0EC9AC
|
||
- type: STRING
|
||
name: ds.0.color.2
|
||
value: 524BBC
|
||
- type: STRING
|
||
name: ds.0.color.3
|
||
value: ED1248
|
||
- type: STRING
|
||
name: ds.0.color.4
|
||
value: D1E754
|
||
- type: STRING
|
||
name: ds.0.color.5
|
||
value: 2AB5FF
|
||
- type: INTEGER
|
||
name: ds.0.dataset_type
|
||
value: '0'
|
||
- type: INTEGER
|
||
name: ds.0.fill
|
||
value: '5'
|
||
- type: ITEM
|
||
name: ds.0.itemids.0
|
||
value:
|
||
host: 'Ribbon SBC SWe Core by HTTP'
|
||
key: ribbon.system.call.active
|
||
- type: ITEM
|
||
name: ds.0.itemids.1
|
||
value:
|
||
host: 'Ribbon SBC SWe Core by HTTP'
|
||
key: ribbon.system.call.attempts
|
||
- type: ITEM
|
||
name: ds.0.itemids.2
|
||
value:
|
||
host: 'Ribbon SBC SWe Core by HTTP'
|
||
key: ribbon.system.call.stable
|
||
- type: ITEM
|
||
name: ds.0.itemids.3
|
||
value:
|
||
host: 'Ribbon SBC SWe Core by HTTP'
|
||
key: ribbon.system.call.completions
|
||
- type: ITEM
|
||
name: ds.0.itemids.4
|
||
value:
|
||
host: 'Ribbon SBC SWe Core by HTTP'
|
||
key: ribbon.system.call.total
|
||
- type: ITEM
|
||
name: ds.0.itemids.5
|
||
value:
|
||
host: 'Ribbon SBC SWe Core by HTTP'
|
||
key: ribbon.system.call.updates
|
||
- type: INTEGER
|
||
name: ds.0.missingdatafunc
|
||
value: '3'
|
||
- type: INTEGER
|
||
name: ds.0.width
|
||
value: '3'
|
||
- type: INTEGER
|
||
name: legend_columns
|
||
value: '1'
|
||
- type: INTEGER
|
||
name: legend_lines
|
||
value: '6'
|
||
- type: INTEGER
|
||
name: legend_statistic
|
||
value: '1'
|
||
- type: STRING
|
||
name: reference
|
||
value: AAAAD
|
||
- name: 'Ribbon: DNS'
|
||
widgets:
|
||
- type: svggraph
|
||
name: Query
|
||
width: '36'
|
||
height: '6'
|
||
fields:
|
||
- type: STRING
|
||
name: ds.0.color
|
||
value: A1887F
|
||
- type: STRING
|
||
name: ds.0.items.0
|
||
value: '''DNS *: Query'''
|
||
- type: INTEGER
|
||
name: legend_columns
|
||
value: '1'
|
||
- type: INTEGER
|
||
name: legend_lines
|
||
value: '6'
|
||
- type: INTEGER
|
||
name: legend_statistic
|
||
value: '1'
|
||
- type: STRING
|
||
name: reference
|
||
value: ECVDV
|
||
- type: INTEGER
|
||
name: righty
|
||
value: '0'
|
||
- type: svggraph
|
||
name: Timeouts
|
||
'y': '6'
|
||
width: '36'
|
||
height: '6'
|
||
fields:
|
||
- type: STRING
|
||
name: ds.0.color
|
||
value: 1565C0
|
||
- type: STRING
|
||
name: ds.0.items.0
|
||
value: 'DNS *: Timeouts'
|
||
- type: INTEGER
|
||
name: legend_columns
|
||
value: '1'
|
||
- type: INTEGER
|
||
name: legend_lines
|
||
value: '6'
|
||
- type: INTEGER
|
||
name: legend_statistic
|
||
value: '1'
|
||
- type: STRING
|
||
name: reference
|
||
value: OZIZA
|
||
- type: INTEGER
|
||
name: righty
|
||
value: '0'
|
||
- type: INTEGER
|
||
name: simple_triggers
|
||
value: '1'
|
||
- type: svggraph
|
||
name: Errors
|
||
x: '36'
|
||
width: '36'
|
||
height: '6'
|
||
fields:
|
||
- type: STRING
|
||
name: ds.0.color
|
||
value: FF5722
|
||
- type: STRING
|
||
name: ds.0.items.0
|
||
value: 'DNS *: Errors'
|
||
- type: INTEGER
|
||
name: legend_columns
|
||
value: '1'
|
||
- type: INTEGER
|
||
name: legend_lines
|
||
value: '6'
|
||
- type: INTEGER
|
||
name: legend_statistic
|
||
value: '1'
|
||
- type: STRING
|
||
name: reference
|
||
value: MPGLZ
|
||
- type: INTEGER
|
||
name: righty
|
||
value: '0'
|
||
- type: svggraph
|
||
name: Connections
|
||
x: '36'
|
||
'y': '6'
|
||
width: '36'
|
||
height: '6'
|
||
fields:
|
||
- type: STRING
|
||
name: ds.0.color
|
||
value: 7E57C2
|
||
- type: STRING
|
||
name: ds.0.items.0
|
||
value: 'DNS *: TCP connection'
|
||
- type: STRING
|
||
name: ds.1.items.0
|
||
value: 'DNS *: TCP connection failed'
|
||
- type: STRING
|
||
name: ds.2.color
|
||
value: FFD54F
|
||
- type: STRING
|
||
name: ds.2.items.0
|
||
value: 'DNS *: TCP connection torn down'
|
||
- type: INTEGER
|
||
name: legend_columns
|
||
value: '1'
|
||
- type: INTEGER
|
||
name: legend_lines
|
||
value: '6'
|
||
- type: INTEGER
|
||
name: legend_statistic
|
||
value: '1'
|
||
- type: STRING
|
||
name: reference
|
||
value: EAGUY
|
||
- type: INTEGER
|
||
name: righty
|
||
value: '0'
|
||
- name: 'Ribbon: Trunk'
|
||
widgets:
|
||
- type: svggraph
|
||
name: Calls
|
||
width: '36'
|
||
height: '6'
|
||
fields:
|
||
- type: STRING
|
||
name: ds.0.color
|
||
value: 3949AB
|
||
- type: STRING
|
||
name: ds.0.items.0
|
||
value: 'Trunk *: Total available calls'
|
||
- type: STRING
|
||
name: ds.1.items.0
|
||
value: 'Trunk *: Inbound calls usage'
|
||
- type: STRING
|
||
name: ds.2.color
|
||
value: FFD54F
|
||
- type: STRING
|
||
name: ds.2.items.0
|
||
value: 'Trunk *: Outbound calls usage'
|
||
- type: INTEGER
|
||
name: legend_columns
|
||
value: '1'
|
||
- type: INTEGER
|
||
name: legend_lines
|
||
value: '6'
|
||
- type: INTEGER
|
||
name: legend_statistic
|
||
value: '1'
|
||
- type: STRING
|
||
name: reference
|
||
value: NOKXU
|
||
- type: INTEGER
|
||
name: righty
|
||
value: '0'
|
||
- type: svggraph
|
||
name: Bandwidth
|
||
x: '36'
|
||
width: '36'
|
||
height: '6'
|
||
fields:
|
||
- type: STRING
|
||
name: ds.0.color
|
||
value: 7CB342
|
||
- type: STRING
|
||
name: ds.0.items.0
|
||
value: 'Trunk *: Bandwidth available'
|
||
- type: STRING
|
||
name: ds.1.color
|
||
value: CC6600
|
||
- type: STRING
|
||
name: ds.1.items.0
|
||
value: 'Trunk *: Bandwidth inbound usage'
|
||
- type: STRING
|
||
name: ds.2.items.0
|
||
value: 'Trunk *: Bandwidth outbound usage'
|
||
- type: INTEGER
|
||
name: legend_columns
|
||
value: '1'
|
||
- type: INTEGER
|
||
name: legend_lines
|
||
value: '6'
|
||
- type: INTEGER
|
||
name: legend_statistic
|
||
value: '1'
|
||
- type: STRING
|
||
name: reference
|
||
value: ZETRZ
|
||
- type: INTEGER
|
||
name: righty
|
||
value: '0'
|
||
valuemaps:
|
||
- uuid: 4d1dd88f5c48462fa55ba7bd73476cb7
|
||
name: 'Ribbon: Call engine role'
|
||
mappings:
|
||
- value: '0'
|
||
newvalue: primary
|
||
- value: '1'
|
||
newvalue: secondary
|
||
- value: '2'
|
||
newvalue: unknown
|
||
- uuid: bed1403dbaf0419987856c5c33a061b6
|
||
name: 'Ribbon: System HA status'
|
||
mappings:
|
||
- value: '0'
|
||
newvalue: haMode1to1
|
||
- value: '1'
|
||
newvalue: haModeNto1
|
||
- value: '2'
|
||
newvalue: unknown
|
||
- uuid: 1262d32d602344e49fae29f64f6c2eb7
|
||
name: 'Ribbon: Trunk packet out detect state'
|
||
mappings:
|
||
- value: '0'
|
||
newvalue: packetOutageState
|
||
- value: '1'
|
||
newvalue: normal
|
||
- value: '2'
|
||
newvalue: unknown
|
||
graphs:
|
||
- uuid: 476512eb28de43c6bcc2bfdfc2240904
|
||
name: 'Call statistics'
|
||
graph_items:
|
||
- drawtype: GRADIENT_LINE
|
||
color: 199C0D
|
||
item:
|
||
host: 'Ribbon SBC SWe Core by HTTP'
|
||
key: ribbon.system.call.video
|
||
- sortorder: '1'
|
||
drawtype: GRADIENT_LINE
|
||
color: F63100
|
||
item:
|
||
host: 'Ribbon SBC SWe Core by HTTP'
|
||
key: ribbon.system.call.srtp
|
||
- sortorder: '2'
|
||
drawtype: GRADIENT_LINE
|
||
color: 00611C
|
||
item:
|
||
host: 'Ribbon SBC SWe Core by HTTP'
|
||
key: ribbon.system.call.encrypt
|
||
- sortorder: '3'
|
||
drawtype: GRADIENT_LINE
|
||
color: F7941D
|
||
item:
|
||
host: 'Ribbon SBC SWe Core by HTTP'
|
||
key: ribbon.system.call.concurrent
|
||
- uuid: db7a698f6488496f8a1bbdb00545141e
|
||
name: 'Call status'
|
||
graph_items:
|
||
- drawtype: GRADIENT_LINE
|
||
color: 199C0D
|
||
item:
|
||
host: 'Ribbon SBC SWe Core by HTTP'
|
||
key: ribbon.system.call.total
|
||
- sortorder: '1'
|
||
drawtype: GRADIENT_LINE
|
||
color: F63100
|
||
item:
|
||
host: 'Ribbon SBC SWe Core by HTTP'
|
||
key: ribbon.system.call.updates
|
||
- sortorder: '2'
|
||
drawtype: GRADIENT_LINE
|
||
color: 00611C
|
||
item:
|
||
host: 'Ribbon SBC SWe Core by HTTP'
|
||
key: ribbon.system.call.stable
|
||
- sortorder: '3'
|
||
drawtype: GRADIENT_LINE
|
||
color: F7941D
|
||
item:
|
||
host: 'Ribbon SBC SWe Core by HTTP'
|
||
key: ribbon.system.call.active
|
||
- sortorder: '4'
|
||
drawtype: GRADIENT_LINE
|
||
color: FC6EA3
|
||
item:
|
||
host: 'Ribbon SBC SWe Core by HTTP'
|
||
key: ribbon.system.call.completions
|
||
- sortorder: '5'
|
||
drawtype: GRADIENT_LINE
|
||
color: 6C59DC
|
||
item:
|
||
host: 'Ribbon SBC SWe Core by HTTP'
|
||
key: ribbon.system.call.attempts
|
||
- uuid: 9f0b5130421143f592f9d068d4e1c5f3
|
||
name: 'Emergency call status'
|
||
graph_items:
|
||
- drawtype: GRADIENT_LINE
|
||
color: 199C0D
|
||
item:
|
||
host: 'Ribbon SBC SWe Core by HTTP'
|
||
key: ribbon.system.emergency.call.stable
|
||
- sortorder: '1'
|
||
drawtype: GRADIENT_LINE
|
||
color: F63100
|
||
item:
|
||
host: 'Ribbon SBC SWe Core by HTTP'
|
||
key: ribbon.system.emergency.call.establishing
|
||
- uuid: 1041f98ee1cf44d29fa37b7b716c6a53
|
||
name: 'HPC queue'
|
||
graph_items:
|
||
- drawtype: GRADIENT_LINE
|
||
color: 199C0D
|
||
item:
|
||
host: 'Ribbon SBC SWe Core by HTTP'
|
||
key: ribbon.system.hpc.queue.timeouts
|
||
- sortorder: '1'
|
||
drawtype: GRADIENT_LINE
|
||
color: F63100
|
||
item:
|
||
host: 'Ribbon SBC SWe Core by HTTP'
|
||
key: ribbon.system.hpc.queue.abandons
|
||
- sortorder: '2'
|
||
drawtype: GRADIENT_LINE
|
||
color: 00611C
|
||
item:
|
||
host: 'Ribbon SBC SWe Core by HTTP'
|
||
key: ribbon.system.hpc.queue.overflows
|
||
- sortorder: '3'
|
||
drawtype: GRADIENT_LINE
|
||
color: F7941D
|
||
item:
|
||
host: 'Ribbon SBC SWe Core by HTTP'
|
||
key: ribbon.system.hpc.queue.attempts
|
||
- uuid: 33b98206ab36464eb434307807227c9c
|
||
name: 'Signalling call status'
|
||
graph_items:
|
||
- drawtype: GRADIENT_LINE
|
||
color: 199C0D
|
||
item:
|
||
host: 'Ribbon SBC SWe Core by HTTP'
|
||
key: ribbon.system.non.call.total
|
||
- sortorder: '1'
|
||
drawtype: GRADIENT_LINE
|
||
color: F63100
|
||
item:
|
||
host: 'Ribbon SBC SWe Core by HTTP'
|
||
key: ribbon.system.non.call.stable
|
||
- sortorder: '2'
|
||
drawtype: GRADIENT_LINE
|
||
color: 00611C
|
||
item:
|
||
host: 'Ribbon SBC SWe Core by HTTP'
|
||
key: ribbon.system.non.call.active
|