This repository has been archived by the owner on Mar 27, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
example_sprngd
55 lines (51 loc) · 1.59 KB
/
example_sprngd
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
name groups state acknowledged num_services_hard_ok num_services_hard_unknown num_services_hard_warn num_services_hard_crit
state -> service_crit -> service_warn -> service_unknown
if all is 0 return ok
if state != 0
elif service_crit != 0
elif service_warn != 0
elif service_unknown != 0
else
[
['row3', 'Network only',
[
['semagw001.marulkan.com', 'network', '0', '0', '1', '0', '0', '1'],
['monitor', 'win-servers,unix-servers,network', '0', '0', '10', '0', '0', '0']
]
],
['row2', 'Windows and Network',
[
['monitor', 'win-servers,unix-servers,network', '0', '0', '10', '0', '0', '0']
]
],
['row3', 'Network and Linux',
[
['monitor', 'win-servers,unix-servers,network', '0', '0', '10', '0', '0', '0']
]
],
['row1', 'Linux and Network',
[
['monitor', 'win-servers,unix-servers,network', '0', '0', '10', '0', '0', '0']
]
],
['row1', 'Linux only',
[
['bowser.marulkan.com', 'unix-servers', '0', '0', '5', '0', '0', '0'],
['crumble.marulkan.com', 'unix-servers', '0', '0', '6', '0', '0', '0'],
['mole.marulkan.com', 'unix-servers', '0', '0', '7', '0', '0', '0'],
['monitor', 'win-servers,unix-servers,network', '0', '0', '10', '0', '0', '0'],
['proxmox.marulkan.com', 'unix-servers', '0', '0', '9', '0', '0', '0'],
['semafs001.marulkan.com', 'unix-servers', '0', '0', '6', '0', '0', '0']
]
],
['row3', 'Network and Windows',
[
['monitor', 'win-servers,unix-servers,network', '0', '0', '10', '0', '0', '0']
]
],
['row2', 'Windows only',
[
['monitor', 'win-servers,unix-servers,network', '0', '0', '10', '0', '0', '0']
]
]
]