From 1c7dd274bfa6d8c436750f9d7797aaadca561324 Mon Sep 17 00:00:00 2001 From: Igor Pashev Date: Wed, 19 Dec 2018 19:55:07 +0300 Subject: Add check_json --- pkgs/check_json/check_json.conf | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 pkgs/check_json/check_json.conf (limited to 'pkgs/check_json/check_json.conf') 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$" +} + -- cgit v1.2.3