Monitoring::Livestatus::Class::Base::Abstract - Base class to generate livestatus statments
Reference to context object Monitoring::Livestatus::Class
Example usage:
my $filter_obj = Monitoring::Livestatus::Class::Abstract::...->new(); $filter_obj->apply( { name => 'localhost' } ); $filter_obj->apply( { name => [ 'localhost', 'gateway' ] } ); $filter_obj->apply( [ { name => 'localhost' }, { name => 'gateway' } ] );
Returns: @statments|\@statments
See "AUTHOR" in Monitoring::Livestatus::Class and "CONTRIBUTORS" in Monitoring::Livestatus::Class.
Copyright 2009 Robert Bohne.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
To install Monitoring::Livestatus::Class, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Monitoring::Livestatus::Class
CPAN shell
perl -MCPAN -e shell install Monitoring::Livestatus::Class
For more information on module installation, please visit the detailed CPAN module installation guide.