Have change all https to http and it dont get any better with this,
Yesterday i change the listen port from 8080 to 8443 and the execute of the script comes down to id 6.
Test: SLSV65_Test_BOI_testdata.xml - 6
Desc: Search for good card 370409524 Stage 2
POST Request: https://ipaddress:8443/boi/card/cardSea ... geNumber=1
Verify Response Code: "200"
Passed HTTP Response Code Verification
Verify: 'SL Access Card'
Failed Positive Verification
TEST CASE FAILED : case #6: Failed Positive Verification, can not find a string matching regex: SL\\ Access\\ Card - Unable to search for 370409524
Response Time = 0.237 sec
Webinject Error
Re: Webinject Error
The webinject seems to be working then as it's returning with ID 6. Are you expecting a different result?
Former Nagios Employee
Re: Webinject Error
Yes it seems so, do you where i can set this error message as an waning instead of error so its not showing up in nagios as critical?
Re: Webinject Error
It currently does not have warning / critical alerts, and with this script it will change quite frequently based on the XML running against it. You could always modify the bash script, and modify it to change the exit code / alert echo accordingly. This page shows a bit more about bash scripting with Nagios - http://www.yourownlinux.com/2014/06/how ... cript.html
Former Nagios Employee
Re: Webinject Error
Hi sutenag
Were you by chance using web inject through a proxy? We recently discovered and fixed an issue webinject had with making proper https requests through a proxy. You can find a solution for this here:
https://support.nagios.com/forum/viewto ... =6&t=47326
Were you by chance using web inject through a proxy? We recently discovered and fixed an issue webinject had with making proper https requests through a proxy. You can find a solution for this here:
https://support.nagios.com/forum/viewto ... =6&t=47326
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.