-
Notifications
You must be signed in to change notification settings - Fork 1
/
HAVELSAN Geko Details.yaml
61 lines (61 loc) · 2.08 KB
/
HAVELSAN Geko Details.yaml
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
zabbix_export:
version: '6.0'
date: '2024-11-27T07:25:41Z'
groups:
- uuid: 7df96b18c230490a9a0a9e2307226338
name: Templates
templates:
- uuid: ad033421c35e421483ba8bd8789abebb
template: 'Havelsan Geko Details'
name: 'Havelsan Geko Details'
groups:
- name: Templates
items:
- uuid: bda29225d27d4f6c9a90f0cdebaafb1f
name: 'HAVELSAN Availability'
type: CALCULATED
key: hvl.availability
params: 'last(//net.tcp.service[http,,80])'
triggers:
- uuid: 84cedc3bef1748108f111aa0f449d472
expression: 'last(/Havelsan Geko Details/hvl.availability,#2)=0'
name: 'En az 1 dakikadır kameraya ulaşılamıyor'
priority: HIGH
- uuid: 7f157a8b822e4178b3a2bc71a0511d4f
expression: 'last(/Havelsan Geko Details/hvl.availability,#3)=0'
name: 'En az 3 dakikadır kameraya ulaşılamıyor'
priority: DISASTER
- uuid: be5a0a6f95bc41e79a360fc34940dbeb
name: 'Device Type'
type: HTTP_AGENT
key: hvl.dev.type
delay: 1d
preprocessing:
- type: JAVASCRIPT
parameters:
- |2
if (value.includes("Sensor-1")) {
value = "13";
}
else if(value.includes("geko_plus"))
{
value = "10";
}
else if(value.includes("Eltek"))
{
value = "18"; // UPS
}
else if(value.includes("login"))
{
value = "19"; // CCTV
}
else {
value = "0";
}
return value;
url: 'http://{$IP}'
status_codes: ''
- uuid: ae699931d457471eb6ad7db65643fddd
name: 'HAVELSAN Port 80 Check'
type: SIMPLE
key: 'net.tcp.service[http,,80]'