New Question
 
 
PRTG Network Monitor

Intuitive to Use.
Easy to manage.

200.000 administrators have chosen PRTG to monitor their network. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free PRTG
Download >>

 

What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general. You are invited to get involved by asking and answering questions!

Learn more

 

Top Tags


View all Tags


PRTG Ticket Sensor

Votes:

0

Your Vote:

Up

Down

Hi there! How can i create a Sensor who shows me the actuel open Tickets (from PRTG Ticket system)

api sensor tickets

Created on Mar 29, 2019 10:54:21 AM by  Albert Miethaner (0) 1



1 Reply

Votes:

0

Your Vote:

Up

Down

Hi Albert,

Thank you for your post.

PRTG does not have a native Sensor to monitor the number of (open) tickets in PRTG. However, it's possible to receive this data via the PRTG API. In your case, you can use the "PRTG HTTP API: XML Table Query Builder", which can be found here: "Setup > PRTG API > Live Data". With this feature it's simple to create the required API Call. For example, the following API call will list all tickets with the status "1" (="open"):

<Your PRTG Web Server>/api/table.json?content=tickets&output=json&columns=objid,datetime,priority,parentid,message,user,status,name,type&filter_status=1&username=YourUser&passhash=hash
(Please note that you must enter the corresponding username & passhash)

The received JSON result shows the value "treesize"corresponds to the total number of open tickets.
I recommend to use the API Call in combination with the "REST Custom Sensor" (https://www.paessler.com/manuals/prtg/rest_custom_sensor). Please note that you must create a new template for the option "REST Configuration" in the Sensor settings. This template is used to map returned JSON or XML to sensor values.

Best Regards,
Moritz Heller
Paessler Support Team

Created on Apr 1, 2019 11:14:54 AM by  Moritz Heller [Paessler Support]



Please log in or register to enter your reply.


Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.