Forum: Ruby Nagios ruby script - code review

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
36a4929af02fb0ae6a2225eee4fd948e?d=identicon&s=25 Vincent Reydet (lagounet)
on 2009-05-06 11:59
Hi,

I've wrote my first ruby script. It's a nagios plugin who get a full
webpage.

Main features:
    * Ruby small script, easy to understand and hack (I hope) ...
    * http/https
    * Use the powerful and simple hpricot lib to parse html
    * Multi-thread
    * Keyword check
    * Follow redirections

I would like to have opinions and advices about this code and enhance it
if needeed.

http://code.google.com/p/nagios-check-webpage/sour...

Thanks,
This topic is locked and can not be replied to.