Page 1 of 1

Cannot create URL monitor with ? parameter symbol

Posted: Tue May 08, 2012 10:44 pm
by domcc1
Hi guys,

I'm a new Nagios user. I'm trying to create a Website URL Monitor for this URL:

http://wux0049.ppte.treasurywineestates ... nJDERTEUOM

When I use the wizard to create a 'check_xi_service_http' monitor it appears Nagios is having problems with the '?' character. It essentially strips it.

Any ideas on how to get this to work?


Regards,

David.

Re: Cannot create URL monitor with ? parameter symbol

Posted: Wed May 09, 2012 9:37 am
by scottwilkerson
This is confirmed and will be something we will need to look at in the wizard.

Until that bug is fixed you can modify the service to make it work, if you go to
Configure -> CCM -> Services -><This HTTP service> -> Modify

In the $ARG1$ change it from

Code: Select all

 -H wux0049.ppte.treasurywineestates.com -f ok -I 67.215.65.132 -u "/WmRoot/settings-jms-detail.dsp" -p 5530
to

Code: Select all

 -H wux0049.ppte.treasurywineestates.com -f ok -I 67.215.65.132 -u "/WmRoot/settings-jms-detail.dsp?aliasName=ConnJDERTEUOM" -p 5530
Save
Apply Configuration

Re: Cannot create URL monitor with ? parameter symbol

Posted: Wed May 09, 2012 8:37 pm
by domcc1
I was trying to fix it up in the Service Status Detail -> Configure -> Re-configure this service -> Monitor the service with this command... (Advanced users only), but going in via CCM works a treat!

Thank you Scott.