Page 1 of 1

Website URL Monitoring Wizard - Invalid URL

Posted: Thu Aug 30, 2012 7:05 am
by mmchalla
Hi,

I am new to Nagios and I have a requirement to monitor a specific URL. I have used the Website URL Monitoring Wizard and see Invalid URL message in Step 2. The URL has , and when I remove that it is accepting. Please suggest me how to monitor URL that has ,

Thanks
Murali

Re: Website URL Monitoring Wizard - Invalid URL

Posted: Thu Aug 30, 2012 10:13 am
by yancy
mmchella,

We'll look into fixing the sanity filters for allowing a "," if it's a valid URL character.

In the meantime, you could remove that peice that does the check in the wizard.

edit the following:
/usr/local/nagiosxi/html/includes/configwizards/website/website.inc.php

remove the following two lines on 80 and 81

Code: Select all

                        else if(!valid_url($url))
                                $errmsg[$errors++]="Invalid URL.";

Re: Website URL Monitoring Wizard - Invalid URL

Posted: Fri Aug 31, 2012 5:18 am
by mmchalla
Hi Yancy

I have removed the lines from the file and it accepted the URL with ,. Thanks a lot for your immediate repsonse.

Murali