Skip to content

Latest commit

 

History

History
76 lines (58 loc) · 1.89 KB

File metadata and controls

76 lines (58 loc) · 1.89 KB

PRTG API Token Usage

This project uses a PRTG API token instead of username/password.

Why API Token?

  • More secure
  • No credential exposure
  • Ideal for automation
  • Supported natively by PRTG

How It Works

API requests authenticate using:

apitoken=YOUR_TOKEN

instead of:

username=xxx&passhash=yyy

Token Permissions

Recommended:

  • Read-only access to required sensors
  • No admin permissions unless required

How to setup user for the API and get the API key from PRTG

  1. On the PRTG and the very top, click Setup.
  2. Under System Administration, click User Accounts.

User account tab

  1. At the very right of the screen, click + icon > Add User.

add user tab

  1. Under User Account Settings, fill in:
  • Login Name
  • Display Name
  • Primary Email Address
  • Password
  • Confirm Password

On the Account Settings select **Read-only user and click Create.

add user

  1. After user creation, click the created user.

click the user

  1. Click API Keys tab > + icon > Add API Key.

click the api tab

click api key

  1. In the Add New API Key window, fill in the Name. API Key will be display at the bottom of the window. Click ok.

    Note: Copy and store the API key because after clicking OK , the API key will not be visible again.

save the api key