Skip to content

API does not create all ports for sensors with selectable options #419

Description

@BadBrambacherQuelle

What's going on?

I am encountering an issue with PRTG sensors that have selectable options, such as the bandwidth/traffic sensor which can theoretically monitor all interfaces (every port for this example). When I create such a sensor using the API, only the first channel f.e. "001 FastEthernet..." is created and monitored, while the other ports are ignored.

Is there an existing function in the PrtgAPI to allow the creation of sensors for all available interfaces, or is there an alternative solution for this use case? I did some research and also executed the get-help command for Sensors but didnt find a solution. Could you help me with my problem?

Thank you in advance for your support!

Due Dilligance

  • It wasn't covered by the wiki, I swear!
  • I have tried doing some basic research on this issue but haven't been able to come up with anything. Please help!

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionQuestions raised by people who don't know how to program or read the wiki :P

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions