Trying to get SMS alert for Hardware status but the script output value is misplaced.
Here is the script:
param ($CategoryName, $SensorDisplayName, $StatusDescription, $NodeName)
$MessageBody =
" $CategoryName $SensorDisplayName on ${NodeName} currently ${StatusDescription}
-- Solarwinds SAM."
But the output is not same as the script
Disk EG001200JWJNK on fmgtdbcopy01-iLO. currently Port=1I:Box=3:Bay=4
-- Solarwinds SAM.
Status is replaced by Sensor Display name.