Skip to content

Commit

Permalink
Merge pull request zabbix#65 from Tr3v0oR/patch-1
Browse files Browse the repository at this point in the history
Fix values ​
  • Loading branch information
oscar120584 authored Apr 8, 2022
2 parents 4152616 + 0fb30e5 commit 69f6c02
Showing 1 changed file with 7 additions and 95 deletions.
102 changes: 7 additions & 95 deletions Applications/template_pi-hole_api/6.0/template_pi-hole_api.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
zabbix_export:
version: '6.0'
date: '2021-11-21T22:00:37Z'
date: '2022-04-02T04:03:09Z'
groups:
-
uuid: 7df96b18c230490a9a0a9e2307226338
Expand Down Expand Up @@ -101,8 +101,6 @@ zabbix_export:
## Author
Undefined_ID
groups:
-
name: Templates
Expand Down Expand Up @@ -133,10 +131,6 @@ zabbix_export:
type: JSONPATH
parameters:
- $.ads_blocked_today
-
type: SIMPLE_CHANGE
parameters:
- ''
master_item:
key: json.pihole
tags:
Expand Down Expand Up @@ -189,10 +183,6 @@ zabbix_export:
type: JSONPATH
parameters:
- $.dns_queries_all_types
-
type: SIMPLE_CHANGE
parameters:
- ''
master_item:
key: json.pihole
tags:
Expand All @@ -210,10 +200,6 @@ zabbix_export:
type: JSONPATH
parameters:
- $.dns_queries_today
-
type: SIMPLE_CHANGE
parameters:
- ''
master_item:
key: json.pihole
tags:
Expand Down Expand Up @@ -249,10 +235,6 @@ zabbix_export:
type: JSONPATH
parameters:
- $.queries_cached
-
type: SIMPLE_CHANGE
parameters:
- ''
master_item:
key: json.pihole
tags:
Expand All @@ -270,10 +252,6 @@ zabbix_export:
type: JSONPATH
parameters:
- $.queries_forwarded
-
type: SIMPLE_CHANGE
parameters:
- ''
master_item:
key: json.pihole
tags:
Expand Down Expand Up @@ -311,10 +289,6 @@ zabbix_export:
type: JSONPATH
parameters:
- '$[''querytypes''][''A (IPv4)'']'
-
type: SIMPLE_CHANGE
parameters:
- ''
master_item:
key: json.pihole.querytypes
tags:
Expand All @@ -334,10 +308,6 @@ zabbix_export:
type: JSONPATH
parameters:
- '$[''querytypes''][''AAAA (IPv6)'']'
-
type: SIMPLE_CHANGE
parameters:
- ''
master_item:
key: json.pihole.querytypes
tags:
Expand All @@ -357,10 +327,6 @@ zabbix_export:
type: JSONPATH
parameters:
- '$[''querytypes''][''ANY'']'
-
type: SIMPLE_CHANGE
parameters:
- ''
master_item:
key: json.pihole.querytypes
tags:
Expand All @@ -373,16 +339,13 @@ zabbix_export:
type: DEPENDENT
key: json.pihole.querytypes.dnskey
delay: '0'
value_type: FLOAT
units: '!'
preprocessing:
-
type: JSONPATH
parameters:
- '$[''querytypes''][''DNSKEY'']'
-
type: SIMPLE_CHANGE
parameters:
- ''
master_item:
key: json.pihole.querytypes
tags:
Expand All @@ -395,16 +358,13 @@ zabbix_export:
type: DEPENDENT
key: json.pihole.querytypes.ds
delay: '0'
value_type: FLOAT
units: '!'
preprocessing:
-
type: JSONPATH
parameters:
- '$[''querytypes''][''DS'']'
-
type: SIMPLE_CHANGE
parameters:
- ''
master_item:
key: json.pihole.querytypes
tags:
Expand All @@ -417,16 +377,13 @@ zabbix_export:
type: DEPENDENT
key: json.pihole.querytypes.mx
delay: '0'
value_type: FLOAT
units: '!'
preprocessing:
-
type: JSONPATH
parameters:
- '$[''querytypes''][''MX'']'
-
type: SIMPLE_CHANGE
parameters:
- ''
master_item:
key: json.pihole.querytypes
tags:
Expand All @@ -446,10 +403,6 @@ zabbix_export:
type: JSONPATH
parameters:
- '$[''querytypes''][''NAPTR'']'
-
type: SIMPLE_CHANGE
parameters:
- ''
master_item:
key: json.pihole.querytypes
tags:
Expand All @@ -468,10 +421,6 @@ zabbix_export:
type: JSONPATH
parameters:
- '$[''querytypes''][''OTHER'']'
-
type: SIMPLE_CHANGE
parameters:
- ''
master_item:
key: json.pihole.querytypes
tags:
Expand All @@ -491,10 +440,6 @@ zabbix_export:
type: JSONPATH
parameters:
- '$[''querytypes''][''PTR'']'
-
type: SIMPLE_CHANGE
parameters:
- ''
master_item:
key: json.pihole.querytypes
tags:
Expand All @@ -507,16 +452,13 @@ zabbix_export:
type: DEPENDENT
key: json.pihole.querytypes.rrsig
delay: '0'
value_type: FLOAT
units: '!'
preprocessing:
-
type: JSONPATH
parameters:
- '$[''querytypes''][''RRSIG'']'
-
type: SIMPLE_CHANGE
parameters:
- ''
master_item:
key: json.pihole.querytypes
tags:
Expand All @@ -536,10 +478,6 @@ zabbix_export:
type: JSONPATH
parameters:
- '$[''querytypes''][''SOA'']'
-
type: SIMPLE_CHANGE
parameters:
- ''
master_item:
key: json.pihole.querytypes
tags:
Expand All @@ -559,10 +497,6 @@ zabbix_export:
type: JSONPATH
parameters:
- '$[''querytypes''][''SRV'']'
-
type: SIMPLE_CHANGE
parameters:
- ''
master_item:
key: json.pihole.querytypes
tags:
Expand All @@ -582,10 +516,6 @@ zabbix_export:
type: JSONPATH
parameters:
- '$[''querytypes''][''TXT'']'
-
type: SIMPLE_CHANGE
parameters:
- ''
master_item:
key: json.pihole.querytypes
tags:
Expand All @@ -603,10 +533,6 @@ zabbix_export:
type: JSONPATH
parameters:
- $.reply_CNAME
-
type: SIMPLE_CHANGE
parameters:
- ''
master_item:
key: json.pihole
tags:
Expand All @@ -619,15 +545,13 @@ zabbix_export:
type: DEPENDENT
key: json.pihole.reply_IP
delay: '0'
trends: '0'
value_type: TEXT
preprocessing:
-
type: JSONPATH
parameters:
- $.reply_IP
-
type: SIMPLE_CHANGE
parameters:
- ''
master_item:
key: json.pihole
tags:
Expand All @@ -645,10 +569,6 @@ zabbix_export:
type: JSONPATH
parameters:
- $.reply_NODATA
-
type: SIMPLE_CHANGE
parameters:
- ''
master_item:
key: json.pihole
tags:
Expand All @@ -666,10 +586,6 @@ zabbix_export:
type: JSONPATH
parameters:
- $.reply_NXDOMAIN
-
type: SIMPLE_CHANGE
parameters:
- ''
master_item:
key: json.pihole
tags:
Expand Down Expand Up @@ -704,10 +620,6 @@ zabbix_export:
type: JSONPATH
parameters:
- $.unique_domains
-
type: SIMPLE_CHANGE
parameters:
- ''
master_item:
key: json.pihole
tags:
Expand Down

0 comments on commit 69f6c02

Please sign in to comment.