POST check with IAM auth

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
tsawyer
Posts: 13
Joined: Tue Apr 24, 2018 1:23 pm

POST check with IAM auth

Post by tsawyer »

We are using Postman to run a check on a webAPI hosted in AWS. I want to add this check to Nagios, but I can't for the life of me figure out how to pass the IAM keys in a check_http request. I've tried using Postman to generate the headers then copied those into my request, but nothing works. Is there a module that can do this for me?
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: POST check with IAM auth

Post by cdienger »

What full command are you using? Is the service expecting a certain header? Here's an example of how to add a header and value:

Code: Select all

./check_http -H www.website.com --header="keys: thisismyiamkeyvalue" -v
The "-v" is used to display verbose information including headers that are sent with the request.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked