diff --git a/lib/icinga/plugin/New-IcingaCheck.psm1 b/lib/icinga/plugin/New-IcingaCheck.psm1 index 3c7ee48..780915d 100644 --- a/lib/icinga/plugin/New-IcingaCheck.psm1 +++ b/lib/icinga/plugin/New-IcingaCheck.psm1 @@ -494,7 +494,7 @@ function New-IcingaCheck() $this.SetExitCode($state); $this.AddMessage( [string]::Format( - '{0} {1}{4} is {2} {3}{4}', + '{0}: Value "{1}{4}" is {2} threshold "{3}{4}"', $this.name, $this.TranslateValue($this.value), $type, @@ -670,7 +670,7 @@ function New-IcingaCheck() $this.exitcode = $IcingaEnums.IcingaExitCode.Ok; $this.AddMessage( [string]::Format( - '{0} is {1}{2}', + '{0}: {1}{2}', $this.name, $this.TranslateValue($this.value), $this.unit