Monitoring::Livestatus::UNIX - connector with unix sockets


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

Index


NAME

Top

Monitoring::Livestatus::UNIX - connector with unix sockets

SYNOPSIS

Top

    use Monitoring::Livestatus;
    my $nl = Monitoring::Livestatus::UNIX->new( '/var/lib/livestatus/livestatus.sock' );
    my $hosts = $nl->selectall_arrayref("GET hosts");

CONSTRUCTOR

Top

new ( [ARGS] )

Creates an Monitoring::Livestatus::UNIX object. new takes at least the socketpath. Arguments are the same as in Monitoring::Livestatus. If the constructor is only passed a single argument, it is assumed to be a the socket specification. Use either socker OR server.

METHODS

Top

AUTHOR

Top

Sven Nierlein, <nierlein@cpan.org>

COPYRIGHT AND LICENSE

Top


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