ripienaar/ruby-nagios — pull request #8 by dmytro (2012-01-01 02:56:18+00:00)
Title: Parsers for nagios.cfg and objects.cache

These are new additions to the library. Other code of the ruby-nagios is not affected.

* Parsers for main configuration file (nagios.cfg) and objects cache
file (objects.cache). Two new classes Nagios::Config and
Nagios::Objects.
- Using Nagios::Objects would allow searches for hostgroups,
servicegroups, etc.
* Generic search method for Nagios::Objects class, mimicked after
ActiveRecord find_*_by_* method.
* nagios.rb file to simplify require of all classes.