From d6f5861edfc27e8405c7c8c2e239e09b2034d19c Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Mon, 1 Aug 2022 16:10:07 +0200 Subject: [PATCH] TT#99002 Add new SNMP SIP metrics The old obsolete metrics got removed in commit 8a99fc180918044d44ef42fb41d2dffab249a921, but these had been replaced by newer entries in the sipTable. Use those so that we can keep detecting regressions or misbehavior. Change-Id: I41c21f7dd47bb5f9a6a584672836c9dd5c176380 --- templates/915_service-snmp.yaml.tt2 | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/templates/915_service-snmp.yaml.tt2 b/templates/915_service-snmp.yaml.tt2 index 697a048..c35feac 100644 --- a/templates/915_service-snmp.yaml.tt2 +++ b/templates/915_service-snmp.yaml.tt2 @@ -70,5 +70,18 @@ command: - "/::hbStatusHost\\.\\d = /" - "/::hbStatusNode\\.\\d = /" - "/::mailQueue\\.\\d = /" +[% IF is_mgmt -%] + - "/::sipAnswerSeizureRatio\\.\\d = /" + - "/::sipNetworkEfficiencyRatio\\.\\d = /" +[% END -%] +[% IF is_proxy -%] + - "/::sipConcurrentCalls\.\\d = /" + - "/::sipDialogEarlyMedia\\.\\d = /" + - "/::sipDialogActive\\.\\d = /" + - "/::sipDialogLocal\\.\\d = /" + - "/::sipDialogRelay\\.\\d = /" + - "/::sipDialogIncoming\\.\\d = /" + - "/::sipDialogOutgoing\\.\\d = /" +[% END -%] stderr: [] timeout: 10000