mirror of
https://github.com/Icinga/icinga-powershell-framework.git
synced 2025-12-21 23:29:40 -05:00
Improves BIOS serial check result naming
This commit is contained in:
parent
7d89b1f877
commit
4f37d79290
1 changed files with 1 additions and 1 deletions
|
|
@ -22,6 +22,6 @@ Import-IcingaLib provider\bios;
|
|||
function Invoke-IcingaCheckBiosSerial()
|
||||
{
|
||||
$Bios = Get-IcingaBiosSerialNumber;
|
||||
$BiosCheck = New-IcingaCheck -Name $Bios.Name -Value $Bios.Value -NoPerfData;
|
||||
$BiosCheck = New-IcingaCheck -Name ([string]::Format('BIOS {0}', $Bios.Name)) -Value $Bios.Value -NoPerfData;
|
||||
return (New-IcingaCheckresult -Check $BiosCheck -NoPerfData $TRUE -Compile);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue