URL Monitoring: Redirect url and pass user name and password

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
shtrudhan
Posts: 5
Joined: Sun Feb 18, 2018 4:09 am

URL Monitoring: Redirect url and pass user name and password

Post by shtrudhan »

Hi Team,

I want to monitor the application availability using the URL monitor. The simple url monitoring is working fine.
I have another use case where the url need to redirect to different url and where need to click the appropriate keyword and then ask for user name/password if the authentication is succeeded then return to original URL and find the keyword say url is up or down.

i try using the webinject but not full fill our requirement.

Regards
Shtrudhan Kumar
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: URL Monitoring: Redirect url and pass user name and pass

Post by npolovenko »

Hello, @shtrudhan. I can't think of another way if not with webinject. Although, a little while ago I practiced using testcafe, a javascript tool to write complex test cases for web applications. If you could write a script to run a test case and return the output in shell, then you could integrate your script with Nagios XI. You'd have to write your own test case as this is something outside of the regular support scope.
https://devexpress.github.io/testcafe/
http://nagios-plugins.org/doc/guidelines.html

Another suggestion is to figure out what authentication mechanism/type is used and try to find a plugin on the exchange that supports it.

Please check the plugins in this section:
https://exchange.nagios.org/directory/P ... ansactions
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked