nagios-http-json | generic plugin for Nagios which checks json values | Monitoring library

 by   drewkerrigan Python Version: v2.1.1 License: Non-SPDX

kandi X-RAY | nagios-http-json Summary

kandi X-RAY | nagios-http-json Summary

nagios-http-json is a Python library typically used in Performance Management, Monitoring applications. nagios-http-json has no bugs and it has low support. However nagios-http-json has 1 vulnerabilities, it build file is not available and it has a Non-SPDX License. You can download it from GitHub.

A generic plugin for Nagios which checks json values from a given HTTP endpoint against argument specified rules and determines the status and performance data for that service.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              nagios-http-json has a low active ecosystem.
              It has 56 star(s) with 53 fork(s). There are 9 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 4 open issues and 30 have been closed. On average issues are closed in 350 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of nagios-http-json is v2.1.1

            kandi-Quality Quality

              nagios-http-json has 0 bugs and 60 code smells.

            kandi-Security Security

              nagios-http-json has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              nagios-http-json code analysis shows 1 unresolved vulnerabilities (0 blocker, 1 critical, 0 major, 0 minor).
              There are 1 security hotspots that need review.

            kandi-License License

              nagios-http-json has a Non-SPDX License.
              Non-SPDX licenses can be open source with a non SPDX compliant license, or non open source licenses, and you need to review them closely before use.

            kandi-Reuse Reuse

              nagios-http-json releases are available to install and integrate.
              nagios-http-json has no build file. You will be need to create the build yourself to build the component from source.
              Installation instructions are not available. Examples and code snippets are available.
              nagios-http-json saves you 375 person hours of effort in developing the same functionality from scratch.
              It has 894 lines of code, 78 functions and 7 files.
              It has high code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed nagios-http-json and discovered the below as its top functions. This is intended to give you an instant insight into nagios-http-json implemented functionality, and help decide if they suit your requirements.
            • Check the critical attributes
            • Check equality
            • Check the non - equal equality_list
            • Check that a list of keys exists
            • Checks the metrics
            • Returns the value for the given key
            • Get the sub array element from the data
            • Get a sub element from the data
            • Expand keys in src
            • Expand key
            • Returns a human - readable message
            • Gets the correct status code
            • Append the given metrics
            • Parse command line arguments
            • Gets the code of the exception
            • Prints a message
            • Return a string containing the warning
            • Check for unknown values
            Get all kandi verified functions for this library.

            nagios-http-json Key Features

            No Key Features are available at this moment for nagios-http-json.

            nagios-http-json Examples and Code Snippets

            Nagios Json Plugin,CLI Usage
            Pythondot img1Lines of Code : 92dot img1License : Non-SPDX (NOASSERTION)
            copy iconCopy
            usage: check_http_json.py [-h] [-d] [-s] -H HOST [-k] [-V] [--cacert CACERT]
                                      [--cert CERT] [--key KEY] [-P PORT] [-p PATH]
                                      [-t TIMEOUT] [-B AUTH] [-D DATA] [-A HEADERS]
                                      [-f  
            Nagios Json Plugin,Examples,Key Naming
            Pythondot img2Lines of Code : 41dot img2License : Non-SPDX (NOASSERTION)
            copy iconCopy
            { "value": 1000 }
            
            {
                "capacity": {
                    "value": 1000
                }
            }
            
            [
                {
                    "capacity": {
                        "value": 1000
                    }
                }
            ]
            
            [
                {
                    "capacity": {
                        "value": 1000
                    }
                },
                {
                    "capacity": {
                  
            Configuration
            Pythondot img3Lines of Code : 16dot img3License : Non-SPDX (NOASSERTION)
            copy iconCopy
            cp check_http_json.py /usr/local/nagios/libexec/plugins/check_http_json.py
            chmod +x /usr/local/nagios/libexec/plugins/check_http_json.py
            
            
            define service {
                    use                             local-service
                    host_name                         

            Community Discussions

            Trending Discussions on nagios-http-json

            QUESTION

            Nagios Plugin: Wildcard for nagios-http-json keys
            Asked 2017-Jul-18 at 12:11

            Looking to use the nagios plugin nagios-http-json https://github.com/drewkerrigan/nagios-http-json to check a json response.

            There is an example (I slightly modified):

            ...

            ANSWER

            Answered 2017-Jul-18 at 12:08

            I ended up modifying the plugin check_http_json.py, and adding a custom check for a "%all" instead of index position:

            Source https://stackoverflow.com/questions/45158271

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install nagios-http-json

            You can download it from GitHub.
            You can use nagios-http-json like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.

            Support

            CLI UsageExamples Riak Stats DockerNagios Installation
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/drewkerrigan/nagios-http-json.git

          • CLI

            gh repo clone drewkerrigan/nagios-http-json

          • sshUrl

            git@github.com:drewkerrigan/nagios-http-json.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular Monitoring Libraries

            netdata

            by netdata

            sentry

            by getsentry

            skywalking

            by apache

            osquery

            by osquery

            cat

            by dianping

            Try Top Libraries by drewkerrigan

            ansible-magento

            by drewkerriganPython

            riak-inverted-index-demo

            by drewkerriganCSS

            riak-ruby-ledger

            by drewkerriganRuby

            quiver-export

            by drewkerriganPython

            riak-search-demo

            by drewkerriganRuby