Skip to content

Commit 8ac5b5e

Browse files
authored
Merge pull request #51 from Icinga:feature/updates_config_for_icinga_2.14
Feature: Updates config for Icinga 2.14
2 parents cb65c22 + 1e69f63 commit 8ac5b5e

17 files changed

+537
-136
lines changed

config/director/Invoke-IcingaCheckMSSQLBackupStatus.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

config/director/Invoke-IcingaCheckMSSQLHealth.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

config/director/Invoke-IcingaCheckMSSQLPerfCounter.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

config/director/Invoke-IcingaCheckMSSQLResource.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

config/director/Mssql_Bundle.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

config/icinga/Invoke-IcingaCheckMSSQLBackupStatus.conf

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,5 +172,74 @@ object CheckCommand "Invoke-IcingaCheckMSSQLBackupStatus" {
172172
}
173173
}
174174
vars.IcingaCheckMSSQLBackupStatus_Switchparameter_NoPerfData = false
175+
vars.ifw_api_arguments = {
176+
"LastBackupAgeCritical" = {
177+
value = "$IcingaCheckMSSQLBackupStatus_Object_LastBackupAgeCritical$"
178+
}
179+
"SqlPort" = {
180+
value = "$IcingaCheckMSSQLBackupStatus_Int32_SqlPort$"
181+
}
182+
"LastBackupAgeWarning" = {
183+
value = "$IcingaCheckMSSQLBackupStatus_Object_LastBackupAgeWarning$"
184+
}
185+
"IncludeDays" = {
186+
value = "$IcingaCheckMSSQLBackupStatus_Object_IncludeDays$"
187+
}
188+
"ExecutionTimeCritical" = {
189+
value = "$IcingaCheckMSSQLBackupStatus_Object_ExecutionTimeCritical$"
190+
}
191+
"NoPerfData" = {
192+
set_if = "$IcingaCheckMSSQLBackupStatus_Switchparameter_NoPerfData$"
193+
}
194+
"SqlHost" = {
195+
value = "$IcingaCheckMSSQLBackupStatus_String_SqlHost$"
196+
}
197+
"ExecutionTimeWarning" = {
198+
value = "$IcingaCheckMSSQLBackupStatus_Object_ExecutionTimeWarning$"
199+
}
200+
"DatabaseStatusCritical" = {
201+
value = "$IcingaCheckMSSQLBackupStatus_Object_DatabaseStatusCritical$"
202+
}
203+
"ThresholdInterval" = {
204+
value = "$IcingaCheckMSSQLBackupStatus_String_ThresholdInterval$"
205+
}
206+
"SqlPassword" = {
207+
value = "$IcingaCheckMSSQLBackupStatus_Securestring_SqlPassword$"
208+
}
209+
"AvgBackupSizeWarning" = {
210+
value = "$IcingaCheckMSSQLBackupStatus_Object_AvgBackupSizeWarning$"
211+
}
212+
"LastBackupLogAgeWarning" = {
213+
value = "$IcingaCheckMSSQLBackupStatus_Object_LastBackupLogAgeWarning$"
214+
}
215+
"SqlUsername" = {
216+
value = "$IcingaCheckMSSQLBackupStatus_String_SqlUsername$"
217+
}
218+
"IntegratedSecurity" = {
219+
set_if = "$IcingaCheckMSSQLBackupStatus_Switchparameter_IntegratedSecurity$"
220+
}
221+
"AvgBackupSizeCritical" = {
222+
value = "$IcingaCheckMSSQLBackupStatus_Object_AvgBackupSizeCritical$"
223+
}
224+
"LastBackupLogAgeCritical" = {
225+
value = "$IcingaCheckMSSQLBackupStatus_Object_LastBackupLogAgeCritical$"
226+
}
227+
"IncludeDatabase" = {
228+
value = "$IcingaCheckMSSQLBackupStatus_Array_IncludeDatabase$"
229+
}
230+
"DatabaseStatusWarning" = {
231+
value = "$IcingaCheckMSSQLBackupStatus_Object_DatabaseStatusWarning$"
232+
}
233+
"TotalBackupSizeCritical" = {
234+
value = "$IcingaCheckMSSQLBackupStatus_Object_TotalBackupSizeCritical$"
235+
}
236+
"TotalBackupSizeWarning" = {
237+
value = "$IcingaCheckMSSQLBackupStatus_Object_TotalBackupSizeWarning$"
238+
}
239+
"Verbosity" = {
240+
value = "$IcingaCheckMSSQLBackupStatus_Object_Verbosity$"
241+
}
242+
}
243+
vars.ifw_api_command = invoke-icingacheckmssqlbackupstatus
175244
vars.IcingaCheckMSSQLBackupStatus_Switchparameter_IntegratedSecurity = false
176245
}

config/icinga/Invoke-IcingaCheckMSSQLHealth.conf

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,5 +131,44 @@ object CheckCommand "Invoke-IcingaCheckMSSQLHealth" {
131131
}
132132
}
133133
vars.IcingaCheckMSSQLHealth_Switchparameter_NoPerfData = false
134+
vars.ifw_api_arguments = {
135+
"SqlPort" = {
136+
value = "$IcingaCheckMSSQLHealth_Int32_SqlPort$"
137+
}
138+
"ThresholdInterval" = {
139+
value = "$IcingaCheckMSSQLHealth_String_ThresholdInterval$"
140+
}
141+
"SqlUsername" = {
142+
value = "$IcingaCheckMSSQLHealth_String_SqlUsername$"
143+
}
144+
"SqlPassword" = {
145+
value = "$IcingaCheckMSSQLHealth_Securestring_SqlPassword$"
146+
}
147+
"Critical" = {
148+
value = "$IcingaCheckMSSQLHealth_Object_Critical$"
149+
}
150+
"IntegratedSecurity" = {
151+
set_if = "$IcingaCheckMSSQLHealth_Switchparameter_IntegratedSecurity$"
152+
}
153+
"Instance" = {
154+
value = "$IcingaCheckMSSQLHealth_String_Instance$"
155+
}
156+
"Warning" = {
157+
value = "$IcingaCheckMSSQLHealth_Object_Warning$"
158+
}
159+
"NoPerfData" = {
160+
set_if = "$IcingaCheckMSSQLHealth_Switchparameter_NoPerfData$"
161+
}
162+
"SqlHost" = {
163+
value = "$IcingaCheckMSSQLHealth_String_SqlHost$"
164+
}
165+
"SqlDatabase" = {
166+
value = "$IcingaCheckMSSQLHealth_String_SqlDatabase$"
167+
}
168+
"Verbosity" = {
169+
value = "$IcingaCheckMSSQLHealth_Int32_Verbosity$"
170+
}
171+
}
172+
vars.ifw_api_command = invoke-icingacheckmssqlhealth
134173
vars.IcingaCheckMSSQLHealth_Switchparameter_IntegratedSecurity = false
135174
}

config/icinga/Invoke-IcingaCheckMSSQLPerfCounter.conf

Lines changed: 40 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,45 @@ object CheckCommand "Invoke-IcingaCheckMSSQLPerfCounter" {
135135
order = 9
136136
}
137137
}
138-
vars.IcingaCheckMSSQLPerfCounter_Switchparameter_NoPerfData = false
139138
vars.IcingaCheckMSSQLPerfCounter_Switchparameter_IntegratedSecurity = false
139+
vars.ifw_api_arguments = {
140+
"SqlPort" = {
141+
value = "$IcingaCheckMSSQLPerfCounter_Int32_SqlPort$"
142+
}
143+
"ThresholdInterval" = {
144+
value = "$IcingaCheckMSSQLPerfCounter_String_ThresholdInterval$"
145+
}
146+
"Warning" = {
147+
value = "$IcingaCheckMSSQLPerfCounter_Object_Warning$"
148+
}
149+
"NoPerfData" = {
150+
set_if = "$IcingaCheckMSSQLPerfCounter_Switchparameter_NoPerfData$"
151+
}
152+
"SqlPassword" = {
153+
value = "$IcingaCheckMSSQLPerfCounter_Securestring_SqlPassword$"
154+
}
155+
"Critical" = {
156+
value = "$IcingaCheckMSSQLPerfCounter_Object_Critical$"
157+
}
158+
"IntegratedSecurity" = {
159+
set_if = "$IcingaCheckMSSQLPerfCounter_Switchparameter_IntegratedSecurity$"
160+
}
161+
"PerformanceCounter" = {
162+
value = "$IcingaCheckMSSQLPerfCounter_Array_PerformanceCounter$"
163+
}
164+
"SqlUsername" = {
165+
value = "$IcingaCheckMSSQLPerfCounter_String_SqlUsername$"
166+
}
167+
"SqlHost" = {
168+
value = "$IcingaCheckMSSQLPerfCounter_String_SqlHost$"
169+
}
170+
"SqlDatabase" = {
171+
value = "$IcingaCheckMSSQLPerfCounter_String_SqlDatabase$"
172+
}
173+
"Verbosity" = {
174+
value = "$IcingaCheckMSSQLPerfCounter_Int32_Verbosity$"
175+
}
176+
}
177+
vars.ifw_api_command = invoke-icingacheckmssqlperfcounter
178+
vars.IcingaCheckMSSQLPerfCounter_Switchparameter_NoPerfData = false
140179
}

config/icinga/Invoke-IcingaCheckMSSQLResource.conf

Lines changed: 49 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,54 @@ object CheckCommand "Invoke-IcingaCheckMSSQLResource" {
132132
order = 3
133133
}
134134
}
135-
vars.IcingaCheckMSSQLResource_Switchparameter_NoPerfData = false
136135
vars.IcingaCheckMSSQLResource_Switchparameter_IntegratedSecurity = false
136+
vars.ifw_api_arguments = {
137+
"SqlPort" = {
138+
value = "$IcingaCheckMSSQLResource_Int32_SqlPort$"
139+
}
140+
"AverageLatchWaitTimeCritical" = {
141+
value = "$IcingaCheckMSSQLResource_Object_AverageLatchWaitTimeCritical$"
142+
}
143+
"ThresholdInterval" = {
144+
value = "$IcingaCheckMSSQLResource_String_ThresholdInterval$"
145+
}
146+
"BufferCacheHitRatioCritical" = {
147+
value = "$IcingaCheckMSSQLResource_Object_BufferCacheHitRatioCritical$"
148+
}
149+
"AverageLatchWaitTimeWarning" = {
150+
value = "$IcingaCheckMSSQLResource_Object_AverageLatchWaitTimeWarning$"
151+
}
152+
"SqlPassword" = {
153+
value = "$IcingaCheckMSSQLResource_Securestring_SqlPassword$"
154+
}
155+
"NoPerfData" = {
156+
set_if = "$IcingaCheckMSSQLResource_Switchparameter_NoPerfData$"
157+
}
158+
"SqlUsername" = {
159+
value = "$IcingaCheckMSSQLResource_String_SqlUsername$"
160+
}
161+
"IntegratedSecurity" = {
162+
set_if = "$IcingaCheckMSSQLResource_Switchparameter_IntegratedSecurity$"
163+
}
164+
"PageLifeExpectancyWarning" = {
165+
value = "$IcingaCheckMSSQLResource_Object_PageLifeExpectancyWarning$"
166+
}
167+
"PageLifeExpectancyCritical" = {
168+
value = "$IcingaCheckMSSQLResource_Object_PageLifeExpectancyCritical$"
169+
}
170+
"BufferCacheHitRatioWarning" = {
171+
value = "$IcingaCheckMSSQLResource_Object_BufferCacheHitRatioWarning$"
172+
}
173+
"Verbosity" = {
174+
value = "$IcingaCheckMSSQLResource_Int32_Verbosity$"
175+
}
176+
"SqlHost" = {
177+
value = "$IcingaCheckMSSQLResource_String_SqlHost$"
178+
}
179+
"SqlDatabase" = {
180+
value = "$IcingaCheckMSSQLResource_String_SqlDatabase$"
181+
}
182+
}
183+
vars.ifw_api_command = invoke-icingacheckmssqlresource
184+
vars.IcingaCheckMSSQLResource_Switchparameter_NoPerfData = false
137185
}

0 commit comments

Comments
 (0)