NAME

HV::Monitor - A generalized module for gathering stats for a hypervisor.

VERSION

Version 0.1.0

SYNOPSIS

use HV::Monitor;

METHODS

new

Inits the object.

One option is taken and that is a hash ref.

# init with the cbsd backend
my $hm->new({backend=>'CBSD'});

The keys are list as below.

- backend :: The name of the backend to use.
    Default :: CBSD

load

This loads the specified backend.

eval{ $hm->load; };
if ( $@ ){
    print "Failed to load the backend... ".$@;
}

run

Runs the poller backend and report the results.

If nothing is nothing is loaded, load will be called.

my $status=$hm->run;

AUTHOR

Zane C. Bowers-Hadley, <vvelox at vvelox.net>

BUGS

Please report any bugs or feature requests to bug-hv-monitor at rt.cpan.org, or through the web interface at https://rt.cpan.org/NoAuth/ReportBug.html?Queue=HV-Monitor. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc HV::Monitor

You can also look for information at:

ACKNOWLEDGEMENTS

LICENSE AND COPYRIGHT

This software is Copyright (c) 2022 by Zane C. Bowers-Hadley.

This is free software, licensed under:

The Artistic License 2.0 (GPL Compatible)