Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- system:
- snmp:
- version: 3
- sequrityName: beast
- privType: AES
- privAuth: AuthPriv
- authType: SHA
- authPass: helloallhello
- privPass: helloallhello
- database:
- user: user
- password: pass
- database: db
- host: localhost
- port: 8086
- hosts:
- - salt
- - yandex.ru
- groups:
- - name: salt
- hosts:
- - salt
- triggers:
- - disk
- checks:
- - disk
- - name: external
- hosts:
- - yandex.ru
- triggers:
- - yandex
- - rambler
- checks:
- - name: network
- period: '* * * * *'
- snmp:
- version: 3
- sequrityName: othername
- privType: AES
- privAuth: AuthPriv
- authType: SHA
- authPass: hello
- privPass: helloall
- type: network.interface
- - name: disk
- period: '* * * * *'
- type: system.disk
- - name: ya
- period: '* * * * *'
- type: http.simple
- url: http://yandex.ru
- redirects: 3
- - name: rambler
- period: '* * * * *'
- type: http.simple
- url: http://rambler.ru
- redirects: 3
- triggers:
- - name: disk
- checks:
- - disk
- description: dist size here
- result: root:system.disk.free > 35GB && root:system.disk.used > 10GB && swap:system.disk.used > 1GB
- - name: networkt
- checks:
- - network
- - disk
- description: тупо проверка имени
- result: eth0:network.interface.name = "eth0" || lo:network.interface.name = "lo" || root:system.disk.free > 35GB
- - name: other
- checks:
- - network
- description: last here
- result: last(br0:network.interface.name,2) = "eth0"
- - name: yandex
- checks:
- - ya
- - rambler
- description: yandex status
- result: ya:http.simple.status = 200 && rambler:http.simple.status = 200
- - name: rambler
- checks:
- - rambler
- description: rambler status
- result: rambler:http.simple.status = 300
Advertisement
Add Comment
Please, Sign In to add comment