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
Website URL Monitoring Wizard - Invalid URL
Re: Website URL Monitoring Wizard - Invalid URL
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
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
Hi Yancy
I have removed the lines from the file and it accepted the URL with ,. Thanks a lot for your immediate repsonse.
Murali
I have removed the lines from the file and it accepted the URL with ,. Thanks a lot for your immediate repsonse.
Murali