Install Guide
Overview
This app collects PRTG message logs (sensor status changes, notifications, configuration changes, etc.) via the Paessler PRTG API. You can also query the same logs directly with the prtg-get-object query command.
Scope
Note
Works with Sonar 4.0.2502.0 or later.
Requirements
| Item | Requirement | Note |
|---|---|---|
| Sonar permission | System administration permission | Access to System > Connect Profiles and Collect > Loggers |
| PRTG account | An account and password that can log in to the PRTG web interface | Permission to view message logs is required |
| Network access | HTTPS (Sonar collector node → PRTG server, outbound) | Apply the firewall policy |
Logpresso Collection Settings
Step 1: Add a connect profile
Go to System > Connect Profiles, click Add, and enter the following values.
| Type | Item | Setting |
|---|---|---|
| Required | Name | A unique name that identifies the connect profile |
| Required | Identifier | A unique identifier used by loggers and query commands. e.g. prtg |
| Required | Type | Select Paessler PRTG |
| Required | Endpoint | PRTG server address in https://IP format. e.g. https://192.0.2.1 |
| Required | User | PRTG login account |
| Required | Password | PRTG login password |
| Optional | HTTP proxy | IP:port when connecting through a proxy |
Step 2: Add a logger
Go to Collect > Loggers, click Add, and enter the following values.
| Type | Item | Setting |
|---|---|---|
| Required | Name | A unique name that identifies the logger |
| Required | Execution mode | Select Interval or Schedule |
| Required | Interval | Collection interval in seconds. e.g. 3600 |
| Required | Storage location | Select the node that stores the logs |
| Optional | Collection location | Select the sentry that performs the collection |
| Required | Logger model | Select Paessler PRTG |
| Required | Table | Name of the table that stores the logs. e.g. NMS_PRTG |
| Required | Connect profile | Identifier of the connect profile added in step 1. e.g. prtg |
| Optional | Start date | Period to collect first. One of today, yesterday, 7days, 30days, 6months, 12months. 7days if empty |
Note
On the first run, the logger collects logs for the period set in Start date. After that, it stores only logs after the last collected time. If the logger is stopped and started again, it widens the query period to cover the stopped time. The PRTG API provides logs for up to 12 months.



