ASNMTAP
view release on metacpan or search on metacpan
lib/ASNMTAP/Asnmtap/Plugins/Nagios.pod view on Meta::CPAN
=head1 NAME
ASNMTAP::Asnmtap::Plugins::Nagios provides a nice object oriented interface for building Nagios (http://www.nagios.org) compatible plugins.
ASNMTAP::Asnmtap::Plugins::Nagios Subclass of ASNMTAP::Asnmtap::Plugins
=head1 SYNOPSIS
use ASNMTAP::Asnmtap::Plugins::Nagios;
my $objectNagios = ASNMTAP::Asnmtap::Plugins::Nagios->new ();
=head1 Description
This module that provides a nice object oriented interface for building Nagios (http://www.nagios.org) compatible plugins.
=head1 EXAMPLE
use ASNMTAP::Asnmtap::Plugins::Nagios v3.002.003;
use ASNMTAP::Asnmtap::Plugins::Nagios;
my $objectNagios = ASNMTAP::Asnmtap::Plugins::Nagios->new ();
$objectNagios->dumpData ();
$objectNagios->exit (7);
=head1 ATTRIBUTES
=over 4
=item _programGetOptions:
-o, --ostype=<ostype>
AIX
Cygwin
FreeBSD
Linux
HP-UX
Irix
MacOS
MiNT
NetBSD
NetWare
OpenBSD
OS2
SCO
Solaris
Stratus
Unix
VMS
Win32
-m, --metric=<k|M|G>
where k=kB (default), M=MB or G=GB
=item _getOptionsArgs
scalar, the program command line entered options returned values (the equivalent of the assignment)
=item _getOptionsValues
=over 4
=item ostype
equals ostype
=item metric
equals kB for k, MB for M and GB for G
=back
=item _pluginValues
there are no specific plugin values defined for ASNMTAP::Asnmtap::Plugins::Nagios!
=back
=head1 Public functions
=over 4
=item convert_to_KB()
convert scalar value to KB
=item convert_from_KB_to_metric()
convert scalar value in KB to given metric where equals kB for k, MB for M and GB for G
=back
=head1 INHERITS from ASNMTAP::Asnmtap
=head2 Attributes
_programName
_programDescription
_programVersion
_programUsagePrefix
_programHelpPrefix
_programGetOptions
_debug
=head2 Object accessor methods
programName()
programDescription()
( run in 0.452 second using v1.01-cache-2.11-cpan-64ef6c95b5d )