
Monitoring::Livestatus::MULTI - connector with multiple peers

use Monitoring::Livestatus;
my $nl = Monitoring::Livestatus::MULTI->new( qw{nagioshost1:9999 nagioshost2:9999 /var/spool/nagios/live.socket} );
my $hosts = $nl->selectall_arrayref("GET hosts");

Creates an Monitoring::Livestatus::MULTI object. new takes at least the server. Arguments are the same as in Monitoring::Livestatus.

See Monitoring::Livestatus for more information.
See Monitoring::Livestatus for more information.
See Monitoring::Livestatus for more information.
See Monitoring::Livestatus for more information.
See Monitoring::Livestatus for more information.
See Monitoring::Livestatus for more information.
See Monitoring::Livestatus for more information.
See Monitoring::Livestatus for more information.
See Monitoring::Livestatus for more information.
See Monitoring::Livestatus for more information.
See Monitoring::Livestatus for more information.
See Monitoring::Livestatus for more information.
See Monitoring::Livestatus for more information.
See Monitoring::Livestatus for more information.
$ml->disable()
disables this connection, returns the last state.
$ml->enable()
enables this connection, returns the last state.

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.