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


Monitoring-Livestatus documentation  | view source Contained in the Monitoring-Livestatus distribution.

Index


NAME

Top

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

SYNOPSIS

Top

    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");

CONSTRUCTOR

Top

new ( [ARGS] )

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

METHODS

Top

do

See Monitoring::Livestatus for more information.

selectall_arrayref

See Monitoring::Livestatus for more information.

selectall_hashref

See Monitoring::Livestatus for more information.

selectcol_arrayref

See Monitoring::Livestatus for more information.

selectrow_array

See Monitoring::Livestatus for more information.

selectrow_arrayref

See Monitoring::Livestatus for more information.

selectrow_hashref

See Monitoring::Livestatus for more information.

selectscalar_value

See Monitoring::Livestatus for more information.

errors_are_fatal

See Monitoring::Livestatus for more information.

warnings

See Monitoring::Livestatus for more information.

verbose

See Monitoring::Livestatus for more information.

peer_addr

See Monitoring::Livestatus for more information.

peer_name

See Monitoring::Livestatus for more information.

peer_key

See Monitoring::Livestatus for more information.

disable

 $ml->disable()

disables this connection, returns the last state.

enable

 $ml->enable()

enables this connection, returns the last state.

AUTHOR

Top

Sven Nierlein, <nierlein@cpan.org>

COPYRIGHT AND LICENSE

Top


Monitoring-Livestatus documentation  | view source Contained in the Monitoring-Livestatus distribution.