Hello everyone,
we are using Zammad and PRTG. I would pretty much like to create a sensor that uses the Zammad API to read out the number of open tickets on an hourly basis.
I googled alot and tried alot but all I can find is that people want PRTG to create and close tickets on it's own. But that is what I need.
If I understand correctly, all that would be required is a sensor that is scripted to use CURL (or something similar) to connect to the Zammad API and read out the number op open tickets and give the result to a channel. But I am neither a programmer nor do I have any experience in writing PRTG sensors / API scripts myself.
Is there anything available?
Article Comments
Thank you Oscar,
as I am a system administrator and not a programmer, I gave this task to one of my colleagues. Right now we are having a look into this via the Paessler documentation.
Jul, 2023 - Permalink
Hello HtHNightwolf,
Thank you for the post. Your research so far is correct, we do not have a native sensor with that capability.
However an alternative since you do not have scripting experience is to use the HTTP advanced sensor:
https://www.paessler.com/manuals/prtg/http_advanced_sensor
Is the custom headers field to use a token from the API and retrieve the values.
The Rest Custom sensor is another alternative:
https://www.paessler.com/manuals/prtg/rest_custom_sensor
As it lets you define a JWT or OAuth2 Bearer Token
If you need further help after playing with these, I recommend reaching out to us at support@paessler.com
Regards, Oscar
Jul, 2023 - Permalink