forked from bb-Ricardo/check_redfish
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathicinga2_check_redfish_command.conf
131 lines (126 loc) · 4.28 KB
/
icinga2_check_redfish_command.conf
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
object CheckCommand "redfish" {
import "ipv4-or-ipv6"
command = [ PluginContribDir + "/check_redfish/check_redfish.py" ]
arguments = {
"--host" = {
value = "$redfish_hostname$"
description = "hostname or address of the interface to query"
required = true
}
"--username" = {
value = "$redfish_username$"
description = "The login user name"
}
"--password" = {
value = "$redfish_password$"
description = "The login password"
}
"--authfile" = {
value = "$redfish_authfile$"
description = "Authentication file content: \
username=<username> \
password=<password>"
}
"--sessionfile" = {
value = "$redfish_sessionfile$"
description = "Name of the session file. make sure it is unique for every host"
}
"--sessionfiledir" = {
value = "$redfish_sessionfiledir$"
description = "Directory where the session files should be stored"
}
"--warning" = {
value = "$redfish_warning$"
description = "Warning threshold for certain checks. See documentation"
}
"--critical" = {
value = "$redfish_critical$"
description = "Critical threshold for certain checks. See documentation"
}
"--detailed" = {
set_if = "$redfish_detailed$"
description = "always print detailed result instead of a condensed one line result"
}
"--max" = {
value = "$redfish_max$"
description = "maximum of returned event log entries"
}
"--storage" = {
set_if = "$redfish_storage$"
description = "request storage health"
}
"--proc" = {
set_if = "$redfish_proc$"
description = "request processor health"
}
"--memory" = {
set_if = "$redfish_memory$"
description = "request memory module health"
}
"--power" = {
set_if = "$redfish_power$"
description = "request power supply health"
}
"--temp" = {
set_if = "$redfish_temp$"
description = "request temperature sensors health"
}
"--fan" = {
set_if = "$redfish_fan$"
description = "request fan health"
}
"--nic" = {
set_if = "$redfish_nic$"
description = "request network interface health"
}
"--bmc" = {
set_if = "$redfish_bmc$"
description = "request bmc info and status"
}
"--info" = {
set_if = "$redfish_info$"
description = "request summary of system information"
}
"--firmware" = {
set_if = "$redfish_firmware$"
description = "request firmware information"
}
"--sel" = {
set_if = "$redfish_sel$"
description = "request System Log status"
}
"--mel" = {
set_if = "$redfish_mel$"
description = "request Management Processor Log status"
}
"--all" = {
set_if = "$redfish_all$"
description = "request data from all components"
}
"--retries" = {
value = "$redfish_retries$"
description = "set number of maximum retries"
}
"--timeout" = {
value = "$redfish_timeout$"
description = "set number of request timeout per try/retry"
}
"--inventory" = {
set_if = "$redfish_inventory$"
description = "request only inventory data from system"
}
"--inventory_id" = {
value = "$redfish_inventory_id$"
description = "the object identifier in the destination inventory system"
}
"--inventory_file" = {
value = "$redfish_inventory_file$"
description = "the inventory file to write inventory JSON data to"
}
}
env = {
CHECK_REDFISH_USERNAME = "$redfish_env_username$"
CHECK_REDFISH_PASSWORD = "$redfish_env_password$"
}
}
// EOF