Giter VIP home page Giter VIP logo

monitoring-livestatus's Introduction

Monitoring-Livestatus
=====================

    Monitoring::Livestatus can be used to access the data of the check_mk
    Livestatus Addon for Nagios and Icinga.

INSTALLATION

    To install this module type the following:

     perl Makefile.PL
     make
     make test
     make install

DEPENDENCIES

    This module requires no other modules.

SYNOPSIS
    my $ml = Monitoring::Livestatus->new( socket => '/var/lib/livestatus/livestatus.sock' );
    my $hosts = $ml->selectall_arrayref("GET hosts");

AUTHOR
    Sven Nierlein <[email protected]>

COPYRIGHT AND LICENCE

    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.

monitoring-livestatus's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

monitoring-livestatus's Issues

FTBFS with recent perl

Hi Sven,

I do maintain the lib in debian and during rebuilds we encountered that the testsuite fails:

Thread 2 terminated abnormally: hash- or arrayref expected (not a simple scalar, use allow_nonref to allow this) at t/20-Monitoring-Livestatus-test_socket.t line 315, line 4.
failed to connect at t/20-Monitoring-Livestatus-test_socket.t line 156.

See http://bugs.debian.org/838976 for details. Could you please take a look? Otherwise I will check the details as soon as I find some spare time.

Thanks
Alex

t/20-Monitoring-Livestatus-test_socket.t fails (related to JSON::XS?)

My smokers show the following failure (threaded perls only):

Thread 1 terminated abnormally: hash- or arrayref expected (not a simple scalar, use allow_nonref to allow this) at t/20-Monitoring-Livestatus-test_socket.t line 318, <GEN1> line 4.
failed to connect - Connection refused at t/20-Monitoring-Livestatus-test_socket.t line 159.
# Looks like you planned 109 tests but ran 6.
# Looks like your test exited with 111 just after 6.
Perl exited with active threads:
    1 running and unjoined
    1 finished and unjoined
    0 running and detached
t/20-Monitoring-Livestatus-test_socket.t .......... 
Dubious, test returned 111 (wstat 28416, 0x6f00)
Failed 103/109 subtests 

t/23-Monitoring-Livestatus-BigData.t fails on BSD systems (incompatible du)

On my FreeBSD 10.1 smoker I see the following:

#   Failed test 'testfile: /tmp/testresult.json.data written'
#   at t/23-Monitoring-Livestatus-BigData.t line 27.
du: illegal option -- b
usage: du [-Aclnx] [-H | -L | -P] [-g | -h | -k | -m] [-a | -s | -d depth] [-B blocksize] [-I mask] [-t threshold] [file ...]

#   Failed test 'testfile has  bytes'
#   at t/23-Monitoring-Livestatus-BigData.t line 33.
failed to connect - Connection refused at t/23-Monitoring-Livestatus-BigData.t line 52.
# Looks like your test exited with 61 just after 7.
t/23-Monitoring-Livestatus-BigData.t ..............
Dubious, test returned 61 (wstat 15616, 0x3d00)
Failed 9/14 subtests

The du -b option found on Linux systems is not available here, and there does not seem to exist a replacement option.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.