What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general.

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
More than 500,000 users rely on Paessler PRTG every day. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags


View all Tags

Trying to setup a http action to cachet

Votes:

0

I'm trying to setup a Notification trigger for http action to post to our status page using API.

I keep getting an HTTP 401 unauthorised error. I want to use an API key to connect. So far I have this working from postman.

my headers in postman are Content-Type:application/x-www-form-urlencoded X-Cachet-Token: <token removed for privacy>

body in postman is

-d {: name:Test1 message:Created via API status:2 visible:1 component_id:1 component_status:2 }:

Has anyone done this or if someone could provide some thoughts that would be great!

http-api notifications prtg

Created on May 14, 2019 11:50:06 AM



1 Reply

Votes:

0

Hi there,

If you send this API call via a script from a PowerShell, does it work from there? I'm afraid that Cachet is not our product and therefore we cannot guide you through the API documentation which is required to authenticate. If you need any assistance from the PRTG side, I'll be happy to assist you.


Kind regards,
Felix Saure, Tech Support Team

Created on May 15, 2019 9:15:19 AM by  Felix Saure [Paessler Support]




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.