http://shop.advanceautoparts.com/webapp ... pable=true
This is the HTTP URL that must be sent to test, and it tells me invalid URL...why
Running the same wexact thing in HYPERIC and it works
I am trying to demo nagios xi and get this error
-
- Posts: 4
- Joined: Tue Oct 05, 2010 12:22 pm
-
- Posts: 972
- Joined: Mon Feb 15, 2010 2:23 pm
Re: I am trying to demo nagios xi and get this error
http://shop.advanceautoparts.com/webapp ... pable=true
I'd guess it's because your URL is getting encoded, check the settings in the CCM. I would not thing that this is too long or that there is an issue with '_'s in variable names. That is to say the most likely reason is some where along the way your URL is getting changed so that it would pass through some API, like an "HTML hidden input."
Code: Select all
http://shop.advanceautoparts.com/webapp/wcs/stores/servlet/AjaxOrderItemAdd?storeId=10151&langId=-1&catalogId=10051&vehicleId_1=439458&vehicleDescription_1=2009+BMW+328I+3.0L+2996CC+L6+FI+VIN%3A+N52&category=&partType=&orderId=.&outOrderName=orderId&URL=OrderCalculate%3FupdatePrices%3D1%26calculationUsageId%3D-1%26URL%3DOrderItemDisplay%3FpartNumber*%3D%26quantity*%3D%26orderItemId*%3D&status=N&partNumber_1=15670614&quantity_1=1&isShippable=true
-
- Posts: 4
- Joined: Tue Oct 05, 2010 12:22 pm
Re: I am trying to demo nagios xi and get this error
I am sorry I did not understand the previous post....
I know more now then I did before however while trying to use your monitoring wizard, I tried to submit the following URL...
http://www.bjupresshomeschool.com/webap ... ___2240484
It replied with invalid url
I removed the dashes...and it accepted the URL
http://www.bjupresshomeschool.com/webap ... ___2240484
The dashes are valid in the web browser and needed to properly monitor the site....
Please advise?
I know more now then I did before however while trying to use your monitoring wizard, I tried to submit the following URL...
http://www.bjupresshomeschool.com/webap ... ___2240484
It replied with invalid url
I removed the dashes...and it accepted the URL
http://www.bjupresshomeschool.com/webap ... ___2240484
The dashes are valid in the web browser and needed to properly monitor the site....
Please advise?
-
- Posts: 4380
- Joined: Mon Jun 14, 2010 10:21 am
Re: I am trying to demo nagios xi and get this error
Can you give us a little more detail on this? Which check are you running? Are you inserting this URL as a host address? Use you using a wizard or the CCM to set up this service?This is the HTTP URL that must be sent to test, and it tells me invalid URL...why
There are some security features in xi that sometimes filter characters from form entries to prevent hacks and cross site scripting. Can you send both the URL that you're inputting into xi, and then also send the actual URL that xi outputs? I want to see if it's changing or encoding any of the characters. Also, make sure to put the URL into the "code" tags so we can see the whole thing. Thanks.
-
- Posts: 4380
- Joined: Mon Jun 14, 2010 10:21 am
Re: I am trying to demo nagios xi and get this error
Let me test this url on our end and I'll see what I can find out....
-
- Posts: 4380
- Joined: Mon Jun 14, 2010 10:21 am
Re: I am trying to demo nagios xi and get this error
This looks like it might actually be a bug in our form validation. My guess is that it's not allowing the character because of security concerns. I'm going to report this on the bug tracker. I did, however, find what appears to be a workaround.
If you add a backslash before each of the dashes, it will escape the illegal character and allow it to pass through. I also tested it in the browser and this will bring up the page correctly. Not ideal, but it should work until we get the big fixed.
http://www.bjupresshomeschool.com/webap ... ___2240484
If you add a backslash before each of the dashes, it will escape the illegal character and allow it to pass through. I also tested it in the browser and this will bring up the page correctly. Not ideal, but it should work until we get the big fixed.
http://www.bjupresshomeschool.com/webap ... ___2240484
-
- Posts: 4380
- Joined: Mon Jun 14, 2010 10:21 am
Re: I am trying to demo nagios xi and get this error
Reported on the bug tracker. You can follow the progress with the link below. Thanks for the heads up!
http://tracker.nagios.com/view.php?id=92
http://tracker.nagios.com/view.php?id=92