aboutsummaryrefslogtreecommitdiff
path: root/pkgs/check_json/check_json.conf
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/check_json/check_json.conf')
-rw-r--r--pkgs/check_json/check_json.conf18
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$"
+}
+