Page 1 of 1

URL Monitoring: Redirect url and pass user name and password

Posted: Wed May 08, 2019 2:47 am
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

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

Posted: Wed May 08, 2019 4:27 pm
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