logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Author

       Sven Nierlein, 2009-present, <sven@nierlein.org>

Constructor

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

Name

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

Synopsis

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

See Also