---
name: "Monitoring::Livestatus::MULTI"
section: "3pm"
platform: "linux"
package: "libmonitoring-livestatus-perl"
version: "0.74-1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/Monitoring::Livestatus::MULTI"
---

# Monitoring::Livestatus::MULTI(3pm)

connector with multiple peers

## NAME

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

## SYNOPSIS

```
    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.

## AUTHOR

Sven Nierlein, \<nierlein@cpan.org\>

## COPYRIGHT AND LICENSE

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.
