| Data-Apache-mod_status documentation | view source | Contained in the Data-Apache-mod_status distribution. |
Data::Apache::mod_status - get values from Apache mod_status page
use Data::Apache::mod_status;
my $mod_status = Data::Apache::mod_status->new(
'url' => $url,
)->refresh;
my $info = $mod_status->info;
my $workers = $mod_status->workers;
This module fetches page generated by Apache mod_status, scrapes it's content
and returns values in a object properties so that the values can be processed
further.
See mod_status-info in script for commandline script which can return this data
in a different formats - xml|data-dumper|ecsv|yaml|json|rrd.
URL where the apache mod status can be found
XML::LibXML::Document of the mod_info XML document. Loaded by refresh().
Data::Apache::mod_status::Workers object
Object constructor.
Fetches fresh mod_status page and stores xml in xml_dom.
Called by refresh() to populate workers and info properties.
Method that fetches mod_status page and returning it's content.
rrd/ in examples folder for examples how to create, update and graph mod_status
data using Data::Apache::mod_status and rrdtool.
Build-Depends: debhelper (>= 5), libmodule-build-perl, libtest-differences-perl,
libtest-exception-perl, libfile-slurp-perl, tidy
Depends: ${perl:Depends}, ${misc:Depends}, libxml-libxslt-perl,
libdatetime-format-strptime-perl, libmoose-perl, libwww-perl, libcarp-clan-perl,
libxml-libxml-perl, libipc-run3-perl, libmoose-perl, tidy
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Jozef Kutej
| Data-Apache-mod_status documentation | view source | Contained in the Data-Apache-mod_status distribution. |