Hi
we want to Monitor 0365 with Webincjet. For this we Need to authenticate . As within o365 Webpage Redirect is use we can not authenticate against O365.
Do somebody have a solution
<case
id="1"
method="get"
url="https://home.dynamics.com/"
verifypositive="Dynamics"
errormessage="Not get W"
/>
<case
id="2"
description1="Authentication on Dynamics"
method="post"
url="https://login.microsoftonline.com/common/login"
postbody="login=test.account1@xyz.com&passwd=tttt^"
verifynegative=">Error"
errormessage="Unable to authenticate user test.account1@xyz.com in Dynamics"
/>
</testcases>
Nagios monitoring 0365
Re: Nagios monitoring 0365
Selenium is a pretty common solution:
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Otherwise I've been exploring developing a plugin that works with CasperJS to reduce the overhead needed for such use cases, since Nagios XI already includes a PhantomJS binary. If you like, I can pass along once it's all documented and finished.
Also this plugin appears to be making calls to some Office365 endpoints using mechanize:
https://gist.github.com/dlundgren/f4778 ... 9f727f9a7c
Similar concepts could probably be applied to your use case if you're willing to write a bit of code.
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Otherwise I've been exploring developing a plugin that works with CasperJS to reduce the overhead needed for such use cases, since Nagios XI already includes a PhantomJS binary. If you like, I can pass along once it's all documented and finished.
Also this plugin appears to be making calls to some Office365 endpoints using mechanize:
https://gist.github.com/dlundgren/f4778 ... 9f727f9a7c
Similar concepts could probably be applied to your use case if you're willing to write a bit of code.
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
-
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Nagios monitoring 0365
I've noticed in the past that there is often a third page that displays quickly, so you may need an additional case.
Aside from that, @mcapra is correct about Selenium.
Aside from that, @mcapra is correct about Selenium.