{foreach:objects.data,key,obj} {if:obj.custom_row_count} {else:} {end:} {if:obj.service_id} {if:this.equals(obj.state,#0#)} {end:} {if:this.equals(obj.state,#1#)} {end:} {if:this.equals(obj.state,#2#)} {end:} {if:this.equals(obj.state,#3#)} {end:} {else:} {if:this.equals(obj.state,#0#)} {end:} {if:this.equals(obj.state,#1#)} {end:} {if:this.equals(obj.state,#2#)} {end:} {end:} {end:}
{obj.host_name:h} {if:obj.service_id} : {obj.service_description:h} {end:} {obj.custom_entry_time:h} {label_OK:h}{label_WARNING:h}{label_CRITICAL:h}{label_UNKNOWN:h}{label_UP:h}{label_DOWN:h}{label_UNREACHABLE:h} {obj.author_name:h} {obj.command_name:h} {obj.output:h}