Skip to content

PHP library to export mklivestatus socket as a JSON object. This is a public copy of the source for http://nagios.larsmichelsen.com/livestatusslave/ because his git repository is not clonable

License

Notifications You must be signed in to change notification settings

rubinlinux/mklivestatus-slave

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

###############################################################################
  LivestatusSlave 1.0                                                         #
###############################################################################
# 2010-03-27 Lars Michelsen <[email protected]>
#
# LivestatusSlave is a wrapper script to make the Livestatus unix socket
# available via HTTP. This could be usefull when querying livestatus via
# AJAX HTTP Request e.g. from JavaScript.
#
# MKLivestatus is a Nagios Event Broker (NEB) Module which can be used to
# extend the core of Nagios. The MKLivestatus module provides access to the
# live status information kept in the running Nagios process. It serves a
# unix socket for data exchange with external scripts/addons.
# MKLivestatus homepage is <http://mathias-kettner.de/checkmk_livestatus.html>
#
###############################################################################
  The LivestatusSlave is at home:                                             #
    <http://nagios.larsmichelsen.com/livestatusslave/>                        #
  Report Bugs:                                                                #
    <http://www.nagios-portal.org/wbb/index.php>                              #
###############################################################################
# REQUIREMENTS
###############################################################################
  LivestatusSlave needs a webserver which supports at least PHP 5. The PHP    #
  needs suport for json and socket functions. You might need to install       #
  additional packages to get those modules.                                   #
                                                                              #
  And you also need a running Nagios with a loaded MKLivestatus NEB module.   #
###############################################################################
# INSTALL
#
# Just drop the live.php somewhere on your system where it is reachable via
# a webserver which supports PHP.
#
# Then you need to edit the $conf Array in live.php to point to your
# Livestatus socket path.
###############################################################################
  Have fun and keep the spirit of open source!                                #
                            ###################################################
                            #
                           #
                            #
                             #
                            #
                           #
                          #
                           #
                            #

About

PHP library to export mklivestatus socket as a JSON object. This is a public copy of the source for http://nagios.larsmichelsen.com/livestatusslave/ because his git repository is not clonable

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages