diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2018-12-19 19:55:07 +0300 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2018-12-19 19:55:07 +0300 |
commit | 1c7dd274bfa6d8c436750f9d7797aaadca561324 (patch) | |
tree | 84f76c7599a335296363ee6f8579c1ba094f41b3 /pkgs/check_json/check_json.conf | |
parent | 0e50bd3cf87814dfc6d168a361a6adc34b692bdb (diff) | |
download | nixsap-1c7dd274bfa6d8c436750f9d7797aaadca561324.tar.gz |
Add check_json
Diffstat (limited to 'pkgs/check_json/check_json.conf')
-rw-r--r-- | pkgs/check_json/check_json.conf | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/pkgs/check_json/check_json.conf b/pkgs/check_json/check_json.conf new file mode 100644 index 0000000..8ee9e15 --- /dev/null +++ b/pkgs/check_json/check_json.conf @@ -0,0 +1,18 @@ +object CheckCommand "http_json" { + import "plugin-check-command" + + command = [ "check_json" ] + + arguments = { + "-q" = "$http_json_query$" + "-u" = "$http_json_url$" + "-t" = "$http_json_title$" + "-p" = "$http_json_name$" + "-m" = "$http_json_unit$" + "-n" = "$http_json_netrc$" + "-w" = "$http_json_warn$" + "-c" = "$http_json_crit$" + } + vars.http_json_title = "$service.name$" +} + |