Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_webpage
Meet The New Nagios Core Services Platform
Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.
Monitoring Made Magically Better
- Nagios Core on Overdrive
- Powerful Monitoring Dashboards
- Time-Saving Configuration Wizards
- Open Source Powered Monitoring On Steroids
- And So Much More!
Main features:
* Ruby small script, easy to understand and hack ...
* http/https
* Use the powerful and simple hpricot lib to parse html
* Multi-thread
* Keyword check
* Follow redirections
Can anyone tell me if the script is well running on nagios 1.x or 3.x ?
* Ruby small script, easy to understand and hack ...
* http/https
* Use the powerful and simple hpricot lib to parse html
* Multi-thread
* Keyword check
* Follow redirections
Can anyone tell me if the script is well running on nagios 1.x or 3.x ?
Reviews (2)
bydsteiner, June 24, 2012
The script is working fine with nagios 3.x respective icinga 1.7.1. But I had to change following line:
print "|time="+sprintf("%.2f", totalTime)+"s, size="+"#{reports['totalSize']/1000}"+"KB;#{timeWarn};#{timeCritical};0;#{REQUEST_TIMEOUT}"
to
print "|time="+sprintf("%.2f", totalTime)+"s;#{timeWarn};#{timeCritical};0;#{REQUEST_TIMEOUT}, size="+"#{reports['totalSize']/1000}"+"KB"
The performance was not showing the warning values on the proper location.
print "|time="+sprintf("%.2f", totalTime)+"s, size="+"#{reports['totalSize']/1000}"+"KB;#{timeWarn};#{timeCritical};0;#{REQUEST_TIMEOUT}"
to
print "|time="+sprintf("%.2f", totalTime)+"s;#{timeWarn};#{timeCritical};0;#{REQUEST_TIMEOUT}, size="+"#{reports['totalSize']/1000}"+"KB"
The performance was not showing the warning values on the proper location.
bymaxidea, November 15, 2010
I got error "parse.rb:33: [BUG] Segmentation fault" when I using Hpricot to parsing HTML...
So I change to use Nokogiri.
The creator of Hpricot, recently posted that you should better use Nokogiri instead of HPricot
So I change to use Nokogiri.
The creator of Hpricot, recently posted that you should better use Nokogiri instead of HPricot