Connector with tcp sockets
use Monitoring::Livestatus; my $nl = Monitoring::Livestatus::INET->new( 'localhost:9999' ); my $hosts = $nl->selectall_arrayref("GET hosts");
Creates an \*(C`Monitoring::Livestatus::INET\*(C' object. \*(C`new\*(C' takes at least the server. Arguments are the same as in \*(C`Monitoring::Livestatus\*(C'. If the constructor is only passed a single argument, it is assumed to be a the \*(C`server\*(C' specification. Use either socker \s-1OR\s0 server.
Sven Nierlein, <[email protected]>
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.