Skip to content

Commit

Permalink
Merge pull request #51 from Icinga:feature/updates_config_for_icinga_…
Browse files Browse the repository at this point in the history
…2.14

Feature: Updates config for Icinga 2.14
  • Loading branch information
LordHepipud authored Aug 1, 2023
2 parents cb65c22 + 1e69f63 commit 8ac5b5e
Show file tree
Hide file tree
Showing 17 changed files with 537 additions and 136 deletions.
2 changes: 1 addition & 1 deletion config/director/Invoke-IcingaCheckMSSQLBackupStatus.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion config/director/Invoke-IcingaCheckMSSQLHealth.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion config/director/Invoke-IcingaCheckMSSQLPerfCounter.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion config/director/Invoke-IcingaCheckMSSQLResource.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion config/director/Mssql_Bundle.json

Large diffs are not rendered by default.

69 changes: 69 additions & 0 deletions config/icinga/Invoke-IcingaCheckMSSQLBackupStatus.conf
Original file line number Diff line number Diff line change
Expand Up @@ -172,5 +172,74 @@ object CheckCommand "Invoke-IcingaCheckMSSQLBackupStatus" {
}
}
vars.IcingaCheckMSSQLBackupStatus_Switchparameter_NoPerfData = false
vars.ifw_api_arguments = {
"LastBackupAgeCritical" = {
value = "$IcingaCheckMSSQLBackupStatus_Object_LastBackupAgeCritical$"
}
"SqlPort" = {
value = "$IcingaCheckMSSQLBackupStatus_Int32_SqlPort$"
}
"LastBackupAgeWarning" = {
value = "$IcingaCheckMSSQLBackupStatus_Object_LastBackupAgeWarning$"
}
"IncludeDays" = {
value = "$IcingaCheckMSSQLBackupStatus_Object_IncludeDays$"
}
"ExecutionTimeCritical" = {
value = "$IcingaCheckMSSQLBackupStatus_Object_ExecutionTimeCritical$"
}
"NoPerfData" = {
set_if = "$IcingaCheckMSSQLBackupStatus_Switchparameter_NoPerfData$"
}
"SqlHost" = {
value = "$IcingaCheckMSSQLBackupStatus_String_SqlHost$"
}
"ExecutionTimeWarning" = {
value = "$IcingaCheckMSSQLBackupStatus_Object_ExecutionTimeWarning$"
}
"DatabaseStatusCritical" = {
value = "$IcingaCheckMSSQLBackupStatus_Object_DatabaseStatusCritical$"
}
"ThresholdInterval" = {
value = "$IcingaCheckMSSQLBackupStatus_String_ThresholdInterval$"
}
"SqlPassword" = {
value = "$IcingaCheckMSSQLBackupStatus_Securestring_SqlPassword$"
}
"AvgBackupSizeWarning" = {
value = "$IcingaCheckMSSQLBackupStatus_Object_AvgBackupSizeWarning$"
}
"LastBackupLogAgeWarning" = {
value = "$IcingaCheckMSSQLBackupStatus_Object_LastBackupLogAgeWarning$"
}
"SqlUsername" = {
value = "$IcingaCheckMSSQLBackupStatus_String_SqlUsername$"
}
"IntegratedSecurity" = {
set_if = "$IcingaCheckMSSQLBackupStatus_Switchparameter_IntegratedSecurity$"
}
"AvgBackupSizeCritical" = {
value = "$IcingaCheckMSSQLBackupStatus_Object_AvgBackupSizeCritical$"
}
"LastBackupLogAgeCritical" = {
value = "$IcingaCheckMSSQLBackupStatus_Object_LastBackupLogAgeCritical$"
}
"IncludeDatabase" = {
value = "$IcingaCheckMSSQLBackupStatus_Array_IncludeDatabase$"
}
"DatabaseStatusWarning" = {
value = "$IcingaCheckMSSQLBackupStatus_Object_DatabaseStatusWarning$"
}
"TotalBackupSizeCritical" = {
value = "$IcingaCheckMSSQLBackupStatus_Object_TotalBackupSizeCritical$"
}
"TotalBackupSizeWarning" = {
value = "$IcingaCheckMSSQLBackupStatus_Object_TotalBackupSizeWarning$"
}
"Verbosity" = {
value = "$IcingaCheckMSSQLBackupStatus_Object_Verbosity$"
}
}
vars.ifw_api_command = invoke-icingacheckmssqlbackupstatus
vars.IcingaCheckMSSQLBackupStatus_Switchparameter_IntegratedSecurity = false
}
39 changes: 39 additions & 0 deletions config/icinga/Invoke-IcingaCheckMSSQLHealth.conf
Original file line number Diff line number Diff line change
Expand Up @@ -131,5 +131,44 @@ object CheckCommand "Invoke-IcingaCheckMSSQLHealth" {
}
}
vars.IcingaCheckMSSQLHealth_Switchparameter_NoPerfData = false
vars.ifw_api_arguments = {
"SqlPort" = {
value = "$IcingaCheckMSSQLHealth_Int32_SqlPort$"
}
"ThresholdInterval" = {
value = "$IcingaCheckMSSQLHealth_String_ThresholdInterval$"
}
"SqlUsername" = {
value = "$IcingaCheckMSSQLHealth_String_SqlUsername$"
}
"SqlPassword" = {
value = "$IcingaCheckMSSQLHealth_Securestring_SqlPassword$"
}
"Critical" = {
value = "$IcingaCheckMSSQLHealth_Object_Critical$"
}
"IntegratedSecurity" = {
set_if = "$IcingaCheckMSSQLHealth_Switchparameter_IntegratedSecurity$"
}
"Instance" = {
value = "$IcingaCheckMSSQLHealth_String_Instance$"
}
"Warning" = {
value = "$IcingaCheckMSSQLHealth_Object_Warning$"
}
"NoPerfData" = {
set_if = "$IcingaCheckMSSQLHealth_Switchparameter_NoPerfData$"
}
"SqlHost" = {
value = "$IcingaCheckMSSQLHealth_String_SqlHost$"
}
"SqlDatabase" = {
value = "$IcingaCheckMSSQLHealth_String_SqlDatabase$"
}
"Verbosity" = {
value = "$IcingaCheckMSSQLHealth_Int32_Verbosity$"
}
}
vars.ifw_api_command = invoke-icingacheckmssqlhealth
vars.IcingaCheckMSSQLHealth_Switchparameter_IntegratedSecurity = false
}
41 changes: 40 additions & 1 deletion config/icinga/Invoke-IcingaCheckMSSQLPerfCounter.conf
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,45 @@ object CheckCommand "Invoke-IcingaCheckMSSQLPerfCounter" {
order = 9
}
}
vars.IcingaCheckMSSQLPerfCounter_Switchparameter_NoPerfData = false
vars.IcingaCheckMSSQLPerfCounter_Switchparameter_IntegratedSecurity = false
vars.ifw_api_arguments = {
"SqlPort" = {
value = "$IcingaCheckMSSQLPerfCounter_Int32_SqlPort$"
}
"ThresholdInterval" = {
value = "$IcingaCheckMSSQLPerfCounter_String_ThresholdInterval$"
}
"Warning" = {
value = "$IcingaCheckMSSQLPerfCounter_Object_Warning$"
}
"NoPerfData" = {
set_if = "$IcingaCheckMSSQLPerfCounter_Switchparameter_NoPerfData$"
}
"SqlPassword" = {
value = "$IcingaCheckMSSQLPerfCounter_Securestring_SqlPassword$"
}
"Critical" = {
value = "$IcingaCheckMSSQLPerfCounter_Object_Critical$"
}
"IntegratedSecurity" = {
set_if = "$IcingaCheckMSSQLPerfCounter_Switchparameter_IntegratedSecurity$"
}
"PerformanceCounter" = {
value = "$IcingaCheckMSSQLPerfCounter_Array_PerformanceCounter$"
}
"SqlUsername" = {
value = "$IcingaCheckMSSQLPerfCounter_String_SqlUsername$"
}
"SqlHost" = {
value = "$IcingaCheckMSSQLPerfCounter_String_SqlHost$"
}
"SqlDatabase" = {
value = "$IcingaCheckMSSQLPerfCounter_String_SqlDatabase$"
}
"Verbosity" = {
value = "$IcingaCheckMSSQLPerfCounter_Int32_Verbosity$"
}
}
vars.ifw_api_command = invoke-icingacheckmssqlperfcounter
vars.IcingaCheckMSSQLPerfCounter_Switchparameter_NoPerfData = false
}
50 changes: 49 additions & 1 deletion config/icinga/Invoke-IcingaCheckMSSQLResource.conf
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,54 @@ object CheckCommand "Invoke-IcingaCheckMSSQLResource" {
order = 3
}
}
vars.IcingaCheckMSSQLResource_Switchparameter_NoPerfData = false
vars.IcingaCheckMSSQLResource_Switchparameter_IntegratedSecurity = false
vars.ifw_api_arguments = {
"SqlPort" = {
value = "$IcingaCheckMSSQLResource_Int32_SqlPort$"
}
"AverageLatchWaitTimeCritical" = {
value = "$IcingaCheckMSSQLResource_Object_AverageLatchWaitTimeCritical$"
}
"ThresholdInterval" = {
value = "$IcingaCheckMSSQLResource_String_ThresholdInterval$"
}
"BufferCacheHitRatioCritical" = {
value = "$IcingaCheckMSSQLResource_Object_BufferCacheHitRatioCritical$"
}
"AverageLatchWaitTimeWarning" = {
value = "$IcingaCheckMSSQLResource_Object_AverageLatchWaitTimeWarning$"
}
"SqlPassword" = {
value = "$IcingaCheckMSSQLResource_Securestring_SqlPassword$"
}
"NoPerfData" = {
set_if = "$IcingaCheckMSSQLResource_Switchparameter_NoPerfData$"
}
"SqlUsername" = {
value = "$IcingaCheckMSSQLResource_String_SqlUsername$"
}
"IntegratedSecurity" = {
set_if = "$IcingaCheckMSSQLResource_Switchparameter_IntegratedSecurity$"
}
"PageLifeExpectancyWarning" = {
value = "$IcingaCheckMSSQLResource_Object_PageLifeExpectancyWarning$"
}
"PageLifeExpectancyCritical" = {
value = "$IcingaCheckMSSQLResource_Object_PageLifeExpectancyCritical$"
}
"BufferCacheHitRatioWarning" = {
value = "$IcingaCheckMSSQLResource_Object_BufferCacheHitRatioWarning$"
}
"Verbosity" = {
value = "$IcingaCheckMSSQLResource_Int32_Verbosity$"
}
"SqlHost" = {
value = "$IcingaCheckMSSQLResource_String_SqlHost$"
}
"SqlDatabase" = {
value = "$IcingaCheckMSSQLResource_String_SqlDatabase$"
}
}
vars.ifw_api_command = invoke-icingacheckmssqlresource
vars.IcingaCheckMSSQLResource_Switchparameter_NoPerfData = false
}
Loading

0 comments on commit 8ac5b5e

Please sign in to comment.