MOnitoring OKTA URLS

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
matson-itops
Posts: 108
Joined: Wed Nov 18, 2015 11:19 pm

MOnitoring OKTA URLS

Post by matson-itops »

Currently we have basic url checks for our java applications like so
http://xxx.xxx.xxx.xxx:8080/app or http://xxx.xxx.xxx.xxx:8080/healthcheck

We are able to monitor each JVM directly, so that if any app behind the load balancer is down
We know immediately. We also monitor the load balanced url.

HOWEVER
Once we have integrated the app with OKTA, we get redirected back okta like so
http://xxx.xxx.xxxx.xxx:800/app  okta server (authentication)  load balanced url.

We need a way to monitor a specific instance of an okta integrated app.
I’m sure this is a well know and well solved problem, but I have not come across anything.

Please advise.
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: MOnitoring OKTA URLS

Post by cdienger »

The check_http plugin can use the -f option to dictate how redirects are handled:

-f, --onredirect=<ok|warning|critical|follow|sticky|stickyport>

https://nagios-plugins.org/doc/man/check_http.html

Does this help?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
matson-itops
Posts: 108
Joined: Wed Nov 18, 2015 11:19 pm

Re: MOnitoring OKTA URLS

Post by matson-itops »

moving in right direction but not quite.
i tried the options below with check_http

I would like it to follow the redirect to okta login page, and then login but also stick to the IP

-f sticky -a username:password -I xxx.xxx.xxx.xxx -u '/myApp/' -p 8080
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: MOnitoring OKTA URLS

Post by ssax »

Does OKTA use basic authentication? Like it pops up a box that asks for username/password that isn't form based?

If it is form based, you may need to look at using the web transaction wizard, please read that section starting on page 6 of this guide:

https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Locked