{"id":26128293,"url":"https://github.com/dinotools/monitoring-check_json","last_synced_at":"2025-04-13T17:51:12.809Z","repository":{"id":60832085,"uuid":"520349534","full_name":"DinoTools/monitoring-check_json","owner":"DinoTools","description":"Monitoring plugin to check JSON from REST APIs and files with Icinga, Nagios and other compatible monitoring solutions","archived":false,"fork":false,"pushed_at":"2025-02-17T18:23:37.000Z","size":56,"stargazers_count":4,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-27T08:48:09.570Z","etag":null,"topics":["icinga-plugin","icinga2-plugin","json","nagios-plugin"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DinoTools.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSES/CC0-1.0.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-08-02T04:22:30.000Z","updated_at":"2025-02-17T15:20:07.000Z","dependencies_parsed_at":"2024-05-15T23:58:43.892Z","dependency_job_id":"a6d84392-a110-48e2-8a75-f4641dda3edc","html_url":"https://github.com/DinoTools/monitoring-check_json","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DinoTools%2Fmonitoring-check_json","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DinoTools%2Fmonitoring-check_json/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DinoTools%2Fmonitoring-check_json/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DinoTools%2Fmonitoring-check_json/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DinoTools","download_url":"https://codeload.github.com/DinoTools/monitoring-check_json/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248758229,"owners_count":21156957,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["icinga-plugin","icinga2-plugin","json","nagios-plugin"],"created_at":"2025-03-10T18:59:38.639Z","updated_at":"2025-04-13T17:51:12.785Z","avatar_url":"https://github.com/DinoTools.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"check_json\n==========\n\nThis is a monitoring plugin for [Icinga](https://icinga.com/), [Nagios](https://www.nagios.org/) and other compatible\nmonitoring solutions to check JSON APIs and files. It uses the JMESPath query language to extract the data.\n\nFor more information have a look at https://jmespath.org/\n\nRequirements\n------------\n\n- Python 3.6+\n  - jmespath\n  - nagiosplugin\n  - requests\n\n\nExamples\n--------\n\n### Check JSON file\n\n```\n./check_json.py --file examples/simple_dict.json --check-value \"level;level;1;2\"\n```\n\n```\n./check_json.py --file examples/advanced_dict.json --check-text-ok \"first_status;results[?component=='first'].status;ok\"\n```\n\n```\n./check_json.py --file examples/advanced_dict.json --check-text-ok \"second_status;results[?component=='second'].status;ok\"\n```\n\n### Check JSON from URL\n\n```\n./check_json.py --url https://example.org/your/json/service --check-value \"level;level;1;2\"\n```\n\nTip\n---\n\nUse the verbose output to debug if the plugin is unablte to extract the right values.\n\n```\n./check_json.py -vvv ....\n```\n\n\nResources\n---------\n\n- Git-Repository: https://github.com/DinoTools/monitoring-check_json-api\n- Issues: https://github.com/DinoTools/monitoring-check_json-api/issues\n\nLicense\n-------\n\nGPLv3+\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdinotools%2Fmonitoring-check_json","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdinotools%2Fmonitoring-check_json","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdinotools%2Fmonitoring-check_json/lists"}