Welcome to mirror list, hosted at ThFree Co, Russian Federation.

template_app_nntp_service.yaml « classic « templates - github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ba467809ef1ecacc425a09d6becba6531d3dc8d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
zabbix_export:
  version: '5.4'
  date: '2021-05-09T00:00:00Z'
  groups:
    -
      name: Templates/Modules
  templates:
    -
      template: 'NNTP Service'
      name: 'NNTP Service'
      groups:
        -
          name: Templates/Modules
      items:
        -
          name: 'NNTP service is running'
          type: SIMPLE
          key: 'net.tcp.service[nntp]'
          history: 1w
          valuemap:
            name: 'Service state'
          tags:
            -
              tag: Application
              value: 'NNTP service'
          triggers:
            -
              expression: 'max(/NNTP Service/net.tcp.service[nntp],#3)=0'
              name: 'NNTP service is down on {HOST.NAME}'
              priority: AVERAGE
      valuemaps:
        -
          name: 'Service state'
          mappings:
            -
              value: '0'
              newvalue: Down
            -
              value: '1'
              newvalue: Up