Paessler PRTG

Download 0
Last updated Nov 27, 2026

prtg-get-object

Queries message logs for the specified period from a Paessler PRTG server.

Syntax

prtg-get-object profile=PROFILE [days=PERIOD]

Options

profile=PROFILE
Required. Identifier of the Paessler PRTG connect profile
days=PERIOD
Optional. Period to query. One of today, yesterday, 7days, 30days, 6months, 12months, case-insensitive. (default: 7days)

Output Fields

FieldTypeNameDescription
event_timedateEvent timeMessage time
event_time_serialdoubleEvent time serialOriginal PRTG numeric value of the message time
object_namestringObject namee.g. SSL Certificate Sensor (Port 443)
raw_object_namestringRaw object name
object_idlongObject ID
raw_object_idlongRaw object ID
statusstringStatuse.g. Up
status_codeintStatus codee.g. 607
msgstringMessagee.g. State Trigger sends Email (Sensor ID: 2157)
msg_htmlstringMessage (HTML)Original message including HTML tags
parentstringParente.g. Probe Device
raw_parentstringRaw parent
src_ipipSource IPOnly when the parent value is an IP address
appstringApplication typee.g. paessler.icmp
sensor_typestringSensor typee.g. paessler.icmp.ping_sensor.39
base_linkstringBase linke.g. /sensor.htm?id=2157
raw_base_linklongRaw base link

Error Codes

Parse errors

Error messageCauseSolution
Specify valid Paessler PRTG profile.profile option is missingSpecify the connect profile identifier
No available Paessler PRTG profile found.No Paessler PRTG connect profile with the identifierCheck the connect profile identifier
days should be one of today, yesterday, 7days, 30days, 6months, 12monthsUnsupported days valueUse one of the allowed values

Runtime errors

Error messageCauseSolution
please check connect profile and araqne log.The PRTG server response is not normal (wrong account, password, or endpoint, etc.)Check the endpoint, account, and password of the connect profile, and check the response in araqne.log
Connect timed outCannot connect to the PRTG serverCheck the endpoint address and firewall policy

Description

Gets message logs from the PRTG HTTP API. It receives up to 50000 records per request and pages through all logs in the specified period. You can also store the same logs with the logger.