Skip to content

CTOR-2346 [apps::monitoring::prtg::api] - new plugin - #6323

Open
garnier-quentin wants to merge 28 commits into
centreon:developfrom
garnier-quentin:CTOR-2346-prtg-new
Open

CTOR-2346 [apps::monitoring::prtg::api] - new plugin#6323
garnier-quentin wants to merge 28 commits into
centreon:developfrom
garnier-quentin:CTOR-2346-prtg-new

Conversation

@garnier-quentin

Copy link
Copy Markdown
Contributor

Community contributors

Description

New plugin to monitor devices and sensors using APIv1

Type of change

  • Patch fixing an issue (non-breaking change)
  • New functionality (non-breaking change)
  • Functionality enhancement or optimization (non-breaking change)
  • Breaking change (patch or feature) that might cause side effects breaking part of the Software

How this pull request can be tested ?

# perl centreon_plugins.pl --plugin=apps::monitoring::prtg::api::plugin --mode=sensors --hostname='10.0.0.1' --api-token='*****' --proto='https' --port='443' --insecure --custom-perfdata-instances='%(deviceName) %(sensorName)' --include-device-id='^7706$' --exclude-device-id='' --include-device-name='' --exclude-device-name='' --include-sensor-name='' --exclude-sensor-name='' --include-sensor-id='^7710$' --exclude-sensor-id='' --unknown-devices-detected='@0' --warning-devices-detected='' --critical-devices-detected='' --unknown-sensor-status='%{sensorStatus} =~ /unknown|unusual|noProbe|pausedbyLicense/' --warning-sensor-status='%{sensorStatus} =~ /warning/' --critical-sensor-status='%{sensorStatus} =~ /down|critical/' --warning-sensor-current='' --critical-sensor-current='' --verbose
OK: device '081 - 071 - IP Publique - MACON - ANTENNE DE SAONE ET LOIRE' sensor 'Trafic WAN' status: ok, current: 350.00 Kb/s | 'devices.detected.count'=1;;;0; '081 - 071 - IP Publique - MACON - ANTENNE DE SAONE ET LOIRE~Trafic WAN#sensor.current.bitspersecond'=350000;;;0;
checking device '081 - 071 - IP Publique - MACON - ANTENNE DE SAONE ET LOIRE'
    sensor 'Trafic WAN' status: ok, current: 350.00 Kb/s

Checklist

  • I have followed the coding style guidelines provided by Centreon
  • I have commented my code, especially hard-to-understand areas of the PR.
  • I have rebased my development branch on the base branch (develop).
  • I have provide data or shown output displaying the result of this code in the plugin area concerned.

@garnier-quentin
garnier-quentin requested a review from a team as a code owner July 27, 2026 13:23
@garnier-quentin
garnier-quentin removed the request for review from a team July 27, 2026 13:23
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.

3 participants