Skip to content

Commit

Permalink
Merge pull request #361 from Icinga:fix/broken_icinga_plain_config
Browse files Browse the repository at this point in the history
Fix: Broken Icinga plain config
  • Loading branch information
LordHepipud authored Aug 7, 2023
2 parents d08a7b4 + b9fe6a4 commit d575f01
Show file tree
Hide file tree
Showing 31 changed files with 64 additions and 58 deletions.
2 changes: 1 addition & 1 deletion config/icinga/Invoke-IcingaCheckBiosSerial.conf
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@ object CheckCommand "Invoke-IcingaCheckBiosSerial" {
value = "$IcingaCheckBiosSerial_String_ThresholdInterval$"
}
}
vars.ifw_api_command = invoke-icingacheckbiosserial
vars.ifw_api_command = "invoke-icingacheckbiosserial"
}
2 changes: 1 addition & 1 deletion config/icinga/Invoke-IcingaCheckCPU.conf
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,6 @@ object CheckCommand "Invoke-IcingaCheckCPU" {
value = "$IcingaCheckCPU_Int32_Verbosity$"
}
}
vars.ifw_api_command = invoke-icingacheckcpu
vars.ifw_api_command = "invoke-icingacheckcpu"
vars.IcingaCheckCPU_Switchparameter_NoPerfData = false
}
2 changes: 1 addition & 1 deletion config/icinga/Invoke-IcingaCheckCertificate.conf
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,6 @@ object CheckCommand "Invoke-IcingaCheckCertificate" {
set_if = "$IcingaCheckCertificate_Switchparameter_Recurse$"
}
}
vars.ifw_api_command = invoke-icingacheckcertificate
vars.ifw_api_command = "invoke-icingacheckcertificate"
vars.IcingaCheckCertificate_Switchparameter_Trusted = false
}
2 changes: 1 addition & 1 deletion config/icinga/Invoke-IcingaCheckCheckSum.conf
Original file line number Diff line number Diff line change
Expand Up @@ -107,5 +107,5 @@ object CheckCommand "Invoke-IcingaCheckCheckSum" {
value = "$IcingaCheckCheckSum_String_Hash$"
}
}
vars.ifw_api_command = invoke-icingacheckchecksum
vars.ifw_api_command = "invoke-icingacheckchecksum"
}
2 changes: 1 addition & 1 deletion config/icinga/Invoke-IcingaCheckDirectory.conf
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ object CheckCommand "Invoke-IcingaCheckDirectory" {
}
}
vars.IcingaCheckDirectory_Switchparameter_ShowFileList = false
vars.ifw_api_command = invoke-icingacheckdirectory
vars.ifw_api_command = "invoke-icingacheckdirectory"
vars.IcingaCheckDirectory_Switchparameter_NoPerfData = false
vars.IcingaCheckDirectory_Switchparameter_Recurse = false
}
2 changes: 1 addition & 1 deletion config/icinga/Invoke-IcingaCheckDiskHealth.conf
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,6 @@ object CheckCommand "Invoke-IcingaCheckDiskHealth" {
}
vars.IcingaCheckDiskHealth_Switchparameter_CheckLogicalOnly = false
vars.IcingaCheckDiskHealth_Switchparameter_IgnoreReadOnlyDisks = false
vars.ifw_api_command = invoke-icingacheckdiskhealth
vars.ifw_api_command = "invoke-icingacheckdiskhealth"
vars.IcingaCheckDiskHealth_Switchparameter_IgnoreOfflineDisks = false
}
2 changes: 1 addition & 1 deletion config/icinga/Invoke-IcingaCheckEventlog.conf
Original file line number Diff line number Diff line change
Expand Up @@ -374,6 +374,6 @@ object CheckCommand "Invoke-IcingaCheckEventlog" {
value = "$IcingaCheckEventlog_Int32_Verbosity$"
}
}
vars.ifw_api_command = invoke-icingacheckeventlog
vars.ifw_api_command = "invoke-icingacheckeventlog"
vars.IcingaCheckEventlog_Switchparameter_NoPerfData = false
}
2 changes: 1 addition & 1 deletion config/icinga/Invoke-IcingaCheckFirewall.conf
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ object CheckCommand "Invoke-IcingaCheckFirewall" {
set_if = "$IcingaCheckFirewall_Switchparameter_Enabled$"
}
}
vars.ifw_api_command = invoke-icingacheckfirewall
vars.ifw_api_command = "invoke-icingacheckfirewall"
vars.IcingaCheckFirewall_Switchparameter_Enabled = false
vars.IcingaCheckFirewall_Switchparameter_NoPerfData = false
}
2 changes: 1 addition & 1 deletion config/icinga/Invoke-IcingaCheckHTTPStatus.conf
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,6 @@ object CheckCommand "Invoke-IcingaCheckHTTPStatus" {
}
vars.IcingaCheckHTTPStatus_Switchparameter_AddOutputContent = false
vars.IcingaCheckHTTPStatus_Switchparameter_ConnectionErrAsCrit = false
vars.ifw_api_command = invoke-icingacheckhttpstatus
vars.ifw_api_command = "invoke-icingacheckhttpstatus"
vars.IcingaCheckHTTPStatus_Switchparameter_Negate = false
}
2 changes: 1 addition & 1 deletion config/icinga/Invoke-IcingaCheckHttpJsonResponse.conf
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ object CheckCommand "Invoke-IcingaCheckHttpJsonResponse" {
value = "$IcingaCheckHttpJsonResponse_String_ServerUri$"
}
}
vars.ifw_api_command = invoke-icingacheckhttpjsonresponse
vars.ifw_api_command = "invoke-icingacheckhttpjsonresponse"
vars.IcingaCheckHttpJsonResponse_Switchparameter_IgnoreSSL = false
vars.IcingaCheckHttpJsonResponse_Switchparameter_NoPerfData = false
}
2 changes: 1 addition & 1 deletion config/icinga/Invoke-IcingaCheckICMP.conf
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ object CheckCommand "Invoke-IcingaCheckICMP" {
set_if = "$IcingaCheckICMP_Switchparameter_IPv4$"
}
}
vars.ifw_api_command = invoke-icingacheckicmp
vars.ifw_api_command = "invoke-icingacheckicmp"
vars.IcingaCheckICMP_Switchparameter_IPv6 = false
vars.IcingaCheckICMP_Switchparameter_IPv4 = false
}
2 changes: 1 addition & 1 deletion config/icinga/Invoke-IcingaCheckMPIO.conf
Original file line number Diff line number Diff line change
Expand Up @@ -62,5 +62,5 @@ object CheckCommand "Invoke-IcingaCheckMPIO" {
value = "$IcingaCheckMPIO_Object_Verbosity$"
}
}
vars.ifw_api_command = invoke-icingacheckmpio
vars.ifw_api_command = "invoke-icingacheckmpio"
}
2 changes: 1 addition & 1 deletion config/icinga/Invoke-IcingaCheckMemory.conf
Original file line number Diff line number Diff line change
Expand Up @@ -129,5 +129,5 @@ object CheckCommand "Invoke-IcingaCheckMemory" {
value = "$IcingaCheckMemory_Int32_Verbosity$"
}
}
vars.ifw_api_command = invoke-icingacheckmemory
vars.ifw_api_command = "invoke-icingacheckmemory"
}
2 changes: 1 addition & 1 deletion config/icinga/Invoke-IcingaCheckNLA.conf
Original file line number Diff line number Diff line change
Expand Up @@ -85,5 +85,5 @@ object CheckCommand "Invoke-IcingaCheckNLA" {
value = "$IcingaCheckNLA_Int32_Verbosity$"
}
}
vars.ifw_api_command = invoke-icingachecknla
vars.ifw_api_command = "invoke-icingachecknla"
}
2 changes: 1 addition & 1 deletion config/icinga/Invoke-IcingaCheckNetworkInterface.conf
Original file line number Diff line number Diff line change
Expand Up @@ -390,5 +390,5 @@ object CheckCommand "Invoke-IcingaCheckNetworkInterface" {
value = "$IcingaCheckNetworkInterface_Object_PacketReceivedSecCrit$"
}
}
vars.ifw_api_command = invoke-icingachecknetworkinterface
vars.ifw_api_command = "invoke-icingachecknetworkinterface"
}
2 changes: 1 addition & 1 deletion config/icinga/Invoke-IcingaCheckPartitionSpace.conf
Original file line number Diff line number Diff line change
Expand Up @@ -138,5 +138,5 @@ object CheckCommand "Invoke-IcingaCheckPartitionSpace" {
vars.IcingaCheckPartitionSpace_Switchparameter_IgnoreEmptyChecks = false
vars.IcingaCheckPartitionSpace_Switchparameter_CheckUsedSpace = false
vars.IcingaCheckPartitionSpace_Switchparameter_NoPerfData = false
vars.ifw_api_command = invoke-icingacheckpartitionspace
vars.ifw_api_command = "invoke-icingacheckpartitionspace"
}
2 changes: 1 addition & 1 deletion config/icinga/Invoke-IcingaCheckPerfcounter.conf
Original file line number Diff line number Diff line change
Expand Up @@ -148,5 +148,5 @@ object CheckCommand "Invoke-IcingaCheckPerfCounter" {
value = "$IcingaCheckPerfCounter_Int32_Verbosity$"
}
}
vars.ifw_api_command = invoke-icingacheckperfcounter
vars.ifw_api_command = "invoke-icingacheckperfcounter"
}
2 changes: 1 addition & 1 deletion config/icinga/Invoke-IcingaCheckProcess.conf
Original file line number Diff line number Diff line change
Expand Up @@ -216,5 +216,5 @@ object CheckCommand "Invoke-IcingaCheckProcess" {
value = "$IcingaCheckProcess_Object_TotalCPUCritical$"
}
}
vars.ifw_api_command = invoke-icingacheckprocess
vars.ifw_api_command = "invoke-icingacheckprocess"
}
2 changes: 1 addition & 1 deletion config/icinga/Invoke-IcingaCheckProcessCount.conf
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,6 @@ object CheckCommand "Invoke-IcingaCheckProcessCount" {
value = "$IcingaCheckProcessCount_Int32_Verbosity$"
}
}
vars.ifw_api_command = invoke-icingacheckprocesscount
vars.ifw_api_command = "invoke-icingacheckprocesscount"
vars.IcingaCheckProcessCount_Switchparameter_NoPerfData = false
}
2 changes: 1 addition & 1 deletion config/icinga/Invoke-IcingaCheckScheduledTask.conf
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,6 @@ object CheckCommand "Invoke-IcingaCheckScheduledTask" {
value = "$IcingaCheckScheduledTask_Int32_Verbosity$"
}
}
vars.ifw_api_command = invoke-icingacheckscheduledtask
vars.ifw_api_command = "invoke-icingacheckscheduledtask"
vars.IcingaCheckScheduledTask_Switchparameter_NoPerfData = false
}
2 changes: 1 addition & 1 deletion config/icinga/Invoke-IcingaCheckService.conf
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,6 @@ object CheckCommand "Invoke-IcingaCheckService" {
value = "$IcingaCheckService_Array_Exclude$"
}
}
vars.ifw_api_command = invoke-icingacheckservice
vars.ifw_api_command = "invoke-icingacheckservice"
vars.IcingaCheckService_Switchparameter_MitigateUnknown = false
}
2 changes: 1 addition & 1 deletion config/icinga/Invoke-IcingaCheckStoragePool.conf
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,6 @@ object CheckCommand "Invoke-IcingaCheckStoragePool" {
value = "$IcingaCheckStoragePool_Object_CapacityWarning$"
}
}
vars.ifw_api_command = invoke-icingacheckstoragepool
vars.ifw_api_command = "invoke-icingacheckstoragepool"
vars.IcingaCheckStoragePool_Switchparameter_NoPerfData = false
}
2 changes: 1 addition & 1 deletion config/icinga/Invoke-IcingaCheckTCP.conf
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,6 @@ object CheckCommand "Invoke-IcingaCheckTCP" {
value = "$IcingaCheckTCP_Object_Verbosity$"
}
}
vars.ifw_api_command = invoke-icingachecktcp
vars.ifw_api_command = "invoke-icingachecktcp"
vars.IcingaCheckTCP_Switchparameter_NoPerfData = false
}
2 changes: 1 addition & 1 deletion config/icinga/Invoke-IcingaCheckTimeSync.conf
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,6 @@ object CheckCommand "Invoke-IcingaCheckTimeSync" {
value = "$IcingaCheckTimeSync_Int32_Verbosity$"
}
}
vars.ifw_api_command = invoke-icingachecktimesync
vars.ifw_api_command = "invoke-icingachecktimesync"
vars.IcingaCheckTimeSync_Switchparameter_IgnoreService = false
}
2 changes: 1 addition & 1 deletion config/icinga/Invoke-IcingaCheckUNCPath.conf
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,6 @@ object CheckCommand "Invoke-IcingaCheckUNCPath" {
value = "$IcingaCheckUNCPath_String_User$"
}
}
vars.ifw_api_command = invoke-icingacheckuncpath
vars.ifw_api_command = "invoke-icingacheckuncpath"
vars.IcingaCheckUNCPath_Switchparameter_NoPerfData = false
}
2 changes: 1 addition & 1 deletion config/icinga/Invoke-IcingaCheckUpdates.conf
Original file line number Diff line number Diff line change
Expand Up @@ -168,5 +168,5 @@ object CheckCommand "Invoke-IcingaCheckUpdates" {
value = "$IcingaCheckUpdates_Object_WarningOther$"
}
}
vars.ifw_api_command = invoke-icingacheckupdates
vars.ifw_api_command = "invoke-icingacheckupdates"
}
2 changes: 1 addition & 1 deletion config/icinga/Invoke-IcingaCheckUptime.conf
Original file line number Diff line number Diff line change
Expand Up @@ -88,5 +88,5 @@ object CheckCommand "Invoke-IcingaCheckUptime" {
value = "$IcingaCheckUptime_Int32_Verbosity$"
}
}
vars.ifw_api_command = invoke-icingacheckuptime
vars.ifw_api_command = "invoke-icingacheckuptime"
}
2 changes: 1 addition & 1 deletion config/icinga/Invoke-IcingaCheckUsedPartitionSpace.conf
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ object CheckCommand "Invoke-IcingaCheckUsedPartitionSpace" {
}
vars.IcingaCheckUsedPartitionSpace_Switchparameter_CheckUsedSpace = false
vars.IcingaCheckUsedPartitionSpace_Switchparameter_IgnoreEmptyChecks = false
vars.ifw_api_command = invoke-icingacheckusedpartitionspace
vars.ifw_api_command = "invoke-icingacheckusedpartitionspace"
vars.IcingaCheckUsedPartitionSpace_Switchparameter_NoPerfData = false
vars.IcingaCheckUsedPartitionSpace_Switchparameter_SkipUnknown = false
}
2 changes: 1 addition & 1 deletion config/icinga/Invoke-IcingaCheckUsers.conf
Original file line number Diff line number Diff line change
Expand Up @@ -88,5 +88,5 @@ object CheckCommand "Invoke-IcingaCheckUsers" {
value = "$IcingaCheckUsers_Int32_Verbosity$"
}
}
vars.ifw_api_command = invoke-icingacheckusers
vars.ifw_api_command = "invoke-icingacheckusers"
}
Loading

0 comments on commit d575f01

Please sign in to comment.