The following variable can be used to strip the domain suffix from the Sysname in an Alert:
${SQL: SELECT RTRIM (SUBSTRING(Sysname,1,((Select CASE WHEN (CharIndex('.yourdomain',Sysname)>0) THEN (CharIndex('.yourdomain',Sysname)-1) ELSE (LEN(Sysname)) END)))) FROM Nodes WHERE NodeID = ${NodeID}}
Replace yourdomain with your actual domain suffix.