sni / monitoring-livestatus Goto Github PK
View Code? Open in Web Editor NEWLivestatus Perl API to access runtime data from Nagios, Naemon, Icinga and Shinken.
Home Page: http://search.cpan.org/dist/Monitoring-Livestatus/
Livestatus Perl API to access runtime data from Nagios, Naemon, Icinga and Shinken.
Home Page: http://search.cpan.org/dist/Monitoring-Livestatus/
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.
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
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
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.
Hello,
Do you have any idea about this crash dump ?
NagiosEnterprises/nagioscore#775
Do you think that the problem could come from livestatus?
Thank you for your help,
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.