Nagios::MKLivestatus::MULTI - connector with multiple peers
use Nagios::MKLivestatus; my $nl = Nagios::MKLivestatus::MULTI->new( qw{nagioshost1:9999 nagioshost2:9999 /var/spool/nagios/live.socket} ); my $hosts = $nl->selectall_arrayref("GET hosts");
Creates an Nagios::MKLivestatus::MULTI object. new takes at least the server. Arguments are the same as in Nagios::MKLivestatus.
Nagios::MKLivestatus::MULTI
new
See Nagios::MKLivestatus for more information.
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 Nagios::MKLivestatus, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Nagios::MKLivestatus
CPAN shell
perl -MCPAN -e shell install Nagios::MKLivestatus
For more information on module installation, please visit the detailed CPAN module installation guide.