Hello XI support
Unsure how WebInject check produces (Return code of 255 is out of bound) when testing against https://login.microsoft.com ?
- what could be the reason and how to troubleshoot?
- almost like it is newer gets to execute the script:
it keeps creating tmp files under /usr/local/nagiosxi/etc/components/webinject (already tried one more portal with same results)
<testcases repeat="1">
<case
id="1"
description1="Connecting to Office 365 Teamsites"
method="get"
url="https://login.microsoftonline.com"
parseresponse='mykey="|"'
verifypositive="Work or school, or personal Microsoft account"
errormessage="Unable to connect to the login page of Office 365 Teamsites"
/>
<case
id="2"
description1="Authentication on Office 365 Teamsites"
method="post"
url="https://login.microsoftonline.com/login.srf"
postbody="os_username=[email protected]&os_password=PASSWORD&mykey={PARSEDRESULT}"
verifynegative="Sorry, your username and/or password are incorrect. Please try again"
errormessage="Unable to authenticate user Office 365 Teamsites"^M
/>
<case
id="3"
description1="Navigate through Office 365 Teamsites while authenticated"
method="get"
url="https://portal.office.com/default.aspx?"
verifypositive="Office 365 admin center"
errormessage="Unable to navigate through Office 365 Teamsites even though correctly authenticated"^
/>
</testcases>
WebInject check produces (Return code of 255 is out of bound
Re: WebInject check produces (Return code of 255 is out of b
What are the permissions on the files you're testing against? Can you run ls -la against them and post the result?
Former Nagios Employee
Re: WebInject check produces (Return code of 255 is out of b
Files were initially created by WebInject Wizard. so not that.rkennedy wrote:What are the permissions on the files you're testing against? Can you run ls -la against them and post the result?
but I copy & pasted content into the wizard :-\
When creating same check with Wizard's initial one-line address, no such errors
I think we could close this one (no such errors w/o copy&paste into Wizard screen)
Re: WebInject check produces (Return code of 255 is out of b
Got it, closing this one out since it sounds like it fixed itself.
Former Nagios Employee