Monitoring::Livestatus::INET - connector with tcp sockets
use Monitoring::Livestatus; my $nl = Monitoring::Livestatus::INET->new( 'localhost:9999' ); my $hosts = $nl->selectall_arrayref("GET hosts");
Creates an Monitoring::Livestatus::INET object. new takes at least the server. Arguments are the same as in Monitoring::Livestatus. If the constructor is only passed a single argument, it is assumed to be a the server specification. Use either socker OR server.
Monitoring::Livestatus::INET
new
Monitoring::Livestatus
server
Sven Nierlein, <nierlein@cpan.org>
Copyright (C) 2009 by Sven Nierlein
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Monitoring::Livestatus, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Monitoring::Livestatus
CPAN shell
perl -MCPAN -e shell install Monitoring::Livestatus
For more information on module installation, please visit the detailed CPAN module installation guide.