Skip to content

add(plugin): LatenceTech RestAPI#5604

Closed
thibaults-centreon wants to merge 3 commits into
developfrom
CTOR-1339-New-Plugin-Latencetech
Closed

add(plugin): LatenceTech RestAPI#5604
thibaults-centreon wants to merge 3 commits into
developfrom
CTOR-1339-New-Plugin-Latencetech

Conversation

@thibaults-centreon

Copy link
Copy Markdown
Contributor

Ref CTOR-1339

New plugin to monitor metrics from Latencetech agents using the RestAPI
Available modes:

  • connectivity
  • discovery
  • forecast
  • latency
  • radio
  • throughput
  • twamp

--api-key is mandatory for all modes
--customer-id is mandatory for all modes
--agent-id is mandatory for all modes except for discovery (which retrieves all agents IDs for a given customer ID)

doc: https://docs.latence.ca/14-analyzer-api/

Example:

./centreon_plugins.pl --plugin=apps::monitoring::latencetech::restapi::plugin  --mode=connectivity --hostname=example.local  --proto=http --customer-id=0  --timeout=30 --api-key='12345678' --agent-id=0 --verbose
WARNING: Agent '0-ExampleAgent' Connectivity health: "Warning" | '0-ExampleAgent#tcp.response.time.milliseconds'=8.95ms;;;0; '0-ExampleAgent#udp.response.time.milliseconds'=9.34ms;;;0; '0-ExampleAgent#http.response.time.milliseconds'=8.79ms;;;0; '0-ExampleAgent#https.response.time.milliseconds'=16.92ms;;;0; '0-ExampleAgent#icmp.response.time.milliseconds'=9.33ms;;;0; '0-ExampleAgent#twamp.response.time.milliseconds'=8.94ms;;;0; '0-ExampleAgent#download.bandwidth.mbps'=1375.48Mbps;;;0; '0-ExampleAgent#upload.bandwidth.mbps'=949.75Mbps;;;0; '0-ExampleAgent#jitter.time.milliseconds'=5.28ms;;;0; '0-ExampleAgent#application.latency.milliseconds'=11.00ms;;;0; '0-ExampleAgent#network.latency.milliseconds'=9.13ms;;;0; '0-ExampleAgent#expected.latency.milliseconds'=40.00ms;;;0; '0-ExampleAgent#network.stability.percentage'=68.20%;;;0;100 '0-ExampleAgent#expected.stability.percentage'=98.00%;;;0;100 '0-ExampleAgent#volatility.percentage'=44.10%;;;0;100 '0-ExampleAgent#qoe.rate.value'=0.000;;;0;5 '0-ExampleAgent#packetloss.rate.percentage'=0.00%;;;0;100 '0-ExampleAgent#expected.packetloss.rate.percentage'=0.10%;;;0;100
Agent '0-ExampleAgent' TCP Response Time: 8.95ms, UDP Response Time: 9.34ms, HTTP Response Time: 8.79ms, HTTPS Response Time: 16.92ms, ICMP Response Time: 9.33ms, TWAMP Response Time: 8.94ms, DL bandwidth: 1375.48Mbps, UL bandwidth: 949.75Mbps, Jitter Time: 5.28ms, Application latency: 11.00ms, Network latency: 9.13ms, Expected latency: 40.00ms, Network stability: 68.20%, Expected stability: 98.00%, Volatility: 44.10%, Quality of Experience: 0.000, Packet loss rate: 0.00%, Expected packet loss rate: 0.10%, Connectivity health: "Warning"

@github-actions

github-actions Bot commented May 28, 2025

Copy link
Copy Markdown

Logo
Checkmarx One – Scan Summary & Detailsa96c9a67-3ada-4440-96ec-34f4f8ed15cc

Great job, no security vulnerabilities found in this Pull Request

@sdepassio

Copy link
Copy Markdown
Contributor

New PR for this pack: #5706

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants