Skip to main content

PRTG Connector (27.1)

This connector imports devices from PRTG into Alvao as objects, and creates a related ticket in Alvao based on a sensor state in PRTG. It also creates notes with updates for the sensor state.

The connector periodically (every hour) reads the information in PRTG and updates the corresponding objects representing the devices in Alvao.

When the import is running for the first time, Alvao objects are paired with PRTG devices by the BIOS serial number or Hostname object property.

If no Alvao object is found for a given BIOS serial number, or hostname respectively, a new Alvao object is created in the Imported objects folder in the object tree.

For all objects paired with a device in PRTG, the connector sets the PRTG device ID object property and uses the property instead of the BIOS serial number or Hostname property.

In the PRTG last check-in property, you will find the date and time of the last time the device was successfully found in PRTG.

Requirements​

  • ALVAO Asset Management or ALVAO Service Desk and ALVAO Monitoring Connectors module
  • PRTG
  • If Zabbix is deployed on-premises and Alvao is running as SaaS, the PRTG API must be exposed to the internet.

Importing assets from PRTG to Alvao​

To use this feature, you need the ALVAO Asset Management Monitoring Connector.

Setting up PRTG​

  1. Create a user group

    • User Group name: Alvao Connector group
    • You can leave default settings
    • Give Read access rights to groups of devices you want to synchronize with Alvao
  2. Create a user

    • Login and display name: Alvao Connector
    • Set any email address and any password
    • User Type: Read-only user (or read-write if you also use the Service desk part of the connector)
    • Primary Group: Alvao Connector group
  3. Create API key

    • Choose the new user, go to API Keys tab, add API Key
    • Name: Alvao Connector token
    • Access level: Read access
    • Copy the generated token and keep it in a safe place

Setting up Alvao​

  1. Go to Administration – Applications and select the PRTG Connector application
  2. Configure the following application settings:
    • PRTG.Url – enter your PRTG URL, e.g., https://prtg.contoso.com
    • PRTG.Token – enter the token created in previous steps
  3. Enable the application using the Enable command

Creating Alvao tickets based on PRTG sensor states​

Setting up Alvao​

  1. Go to Administration – Services and import the PRTG incident service template from the PRTG connector package.
  2. Create an account, and assign it the requester role of the previously created service.
  3. Go to Administration – Applications and select the PRTG Connector application
  4. Configure the following application settings:
  5. Enable the application using the Enable command

Setting up PRTG​

  1. Create a user and user group the same way as in Importing assets from PRTG to Alvao
    • if you have already done that, you can use the existing ones
  2. Give write access (or full access if you also want to import the devices to alvao) to the device groups you want to create Alvao tickets from
  3. Create notification template
    1. Login as the created user
    2. Go to Setup - Account Settings – Notification templates – Add notification template
      • Template name – Alvao handle notification
      • Schedule – None
      • Notification Summarization method – Always notify immediately, never summarize
      • Enable Execute HTTP Action:
        deviceId=%deviceid&sensorId=%sensorid&sensor=%sensor&status=%laststatus&dateTime=%datetime&timezone=%timezone&lastResult=%lastvalue&lastMessage=%message&probe=%probe&group=%group&device=%device&host=%host&lastScan=%lastcheck&lastUp=%lastup&lastDown=%lastdown&uptime=%uptime&downtime=%downtime&cumulatedSince=%cumsince&location=%location&alvaoServiceId={serviceID}&alvaoRequesterId={requesterID}&sharedSecret={shared secret}&ticketName=%device - %sensor&noteName=update
        • replace {serviceID} with id of the created service in Alvao
        • replace {requesterID} with id of the created user in Alvao
        • replace {shared secret} with the same secret as created in Alvao
        • optionally, you can modify ticketName and noteName - possible placeholders Placeholders for Notifications | PRTG Manual
      • setup notification triggers for the groups you want to create tickets for
      • you can also do that globally if you create the trigger in the “root” group
      • example of a notification trigger: example