Monitoring::Livestatus::MULTI(3pm)

Monitoring::Livestatus::MULTI3pm

Connector with multiple peers

Usage

    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

new ( [ARGS] )

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

Methods

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.

Releases

Unchanged in 2 releases since Debian 7 (Wheezy).

  1. 7–8

Author

Sven Nierlein, <[email protected]>

From libmonitoring-livestatus-perl 0.74-1 in Debian 8 (Jessie). Parsed by carta from the page's man source.