nagios-http-json | generic plugin for Nagios which checks json values | Monitoring library
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.
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
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.
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
Quality
nagios-http-json has 0 bugs and 60 code smells.
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.
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.
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
Copy
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
Copy
{ "value": 1000 }
{
"capacity": {
"value": 1000
}
}
[
{
"capacity": {
"value": 1000
}
}
]
[
{
"capacity": {
"value": 1000
}
},
{
"capacity": {
Copy
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:08I ended up modifying the plugin check_http_json.py
, and adding a custom check for a "%all" instead of index position:
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.
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:
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page