{if:this.equals(current_state,#0#)} {end:} {if:this.equals(current_state,#1#)} {end:} {if:this.equals(current_state,#2#)} {end:} {if:this.equals(current_state,#3#)} {end:} {if:state_type} {else:} {end:} {if:servicegroups} {foreach:servicegroups,key,obj} {end:} {end:}
{host_name} - {service_description}
{translate(#Status#):h}{translate(#OK#):h}{translate(#WARNING#):h}{translate(#CRITICAL#):h}{translate(#UNKNOWN#):h}
{translate(#Current attempt#):h}{current_attempt}/{get_max_check_attempts} ({translate(#HARD#):h}){current_attempt}/{get_max_check_attempts} ({translate(#SOFT#):h})
{translate(#Next check#):h} {next_check:h}
{translate(#Last state change#):h} {last_state_change:h}
{translate(#Last notification#):h} {last_notification:h}
{translate(#OPCFG_ServiceGroups#)}{obj:h}
{if:scats}
{translate(#Affected services#):h}

{foreach:scats,key,obj} {end:}
{obj.name:h}

{end:} {if:metrics_count} {foreach:metrics,idx,obj} {if:this.equals(obj.status_code,#0#)} {end:}
{translate(#Metric#):h} ({metrics_count}/{metrics_total}) {translate(#Status#):h} {translate(#Value#):h} {translate(#Unit#):h}  
{obj.name:h} {translate(#OK#)} {end:} {if:this.equals(obj.status_code,#1#)} {translate(#WARNING#):h} {end:} {if:this.equals(obj.status_code,#2#)} {translate(#CRITICAL#):h} {end:} {obj.value:h} {obj.unit:h}
{end:}