plugin w wget to check website can't interpret javascript
Posted: Thu Jan 17, 2013 6:11 pm
This is a long-shot, but maybe someone here has some advice.
For years, we've happily used a plugin that's a shell script that calls wget. The wget logs in to our website, navigates to a test account page, and the script ensures website functionality by grep-ing the returned html for expected strings.
That was all fine until the website redesign, which uses jsf/ajax in the design. Now, evidently, the page expects the browser to interpret javascript. But poor wget is just made to scrape a page and return the results, not interpret javascript.
So i think I need some other tool. I'm looking through available Nagios plugins, but not too hopeful.
Any advice is appreciated. Thanks....Lyle
For years, we've happily used a plugin that's a shell script that calls wget. The wget logs in to our website, navigates to a test account page, and the script ensures website functionality by grep-ing the returned html for expected strings.
That was all fine until the website redesign, which uses jsf/ajax in the design. Now, evidently, the page expects the browser to interpret javascript. But poor wget is just made to scrape a page and return the results, not interpret javascript.
So i think I need some other tool. I'm looking through available Nagios plugins, but not too hopeful.
Any advice is appreciated. Thanks....Lyle