aboutsummaryrefslogtreecommitdiff
path: root/pkgs/check_json/check_json.conf
blob: 8ee9e15f466e936f929431f3ac383c37bf36521d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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$"
}