TheEye - TheEye is a TAP based monitoring system
version 0.5
This is a short test snippet. look at the /bin directory for soem more ideas. howeveer, you can also simply use the scripts in bin and not play with the liraries at all.
use TheEye; use Data::Dumper; my $mon = TheEye->new(debug=> 1, test_dir => 't'); $mon->load_plugin('Store::RRD'); $mon->rrd_dir('rrds/'); my $results; @{$results} = $mon->run(); $mon->save($results); print Dumper($results);
The run function runs the tests in the test directory (and all directories under it recusively) and returns an array of test results (each TAP line is one test result array field). These resuts contain some meta data as eg. the time it took to run the test.
comments in TAP output are written into the reponse hash of the according test - not as a separate hash.
This is only a knob to override with plugins. the default does not save anything. use eg. the RRD plugin or write your own.
This is only a knob to override with plugins. the default does not draw anything. use eg. the RRD plugin or write your own.
This is the most basic version - we notify to STDERR and hope that someone picks it up. this is really only a more advanced override knob.
This loads a plugin from the TheEye::Plugin namespace
Lenz Gschwendtner, <norbu09 at cpan.org>
<norbu09 at cpan.org>
Please report any bugs or feature requests to bug-theeye at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=TheEye. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-theeye at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc TheEye
You can also look for information at:
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=TheEye
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/TheEye
CPAN Ratings
http://cpanratings.perl.org/d/TheEye
Search CPAN
http://search.cpan.org/dist/TheEye/
Copyright 2010 Lenz Gschwendtner.
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.
Lenz Gschwendtner <lenz@springtimesoft.com>
This software is copyright (c) 2014 by springtimesoft LTD.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install TheEye, copy and paste the appropriate command in to your terminal.
cpanm
cpanm TheEye
CPAN shell
perl -MCPAN -e shell install TheEye
For more information on module installation, please visit the detailed CPAN module installation guide.