{{ template "header" . }}
{{ template "checkformheader" . }} {{ $mapping := .Mappings }} {{ with .CheckDetails }}

check for service {{ .Name }}

current state
current notice{{ if .Notice }}{{ .Notice.String }}{{ end }}
Message{{ .Message }}
enabled{{ .Enabled }}
updated{{ .Updated.Format "2006.01.02 15:04:05" }}
next check{{ .NextTime.Format "2006.01.02 15:04:05" }}
last refresh{{ .LastRefresh.Format "2006.01.02 15:04:05" }}
mapping{{ .MappingId }}

node {{ .NodeName }}

Message{{ .NodeMessage }}

command {{ .CommandName }}

Message{{ .CommandMessage }}
command line{{ join .CommandLine " " }}

checker {{ .CheckerName }}

Description{{ .CheckerMsg }}

notifications

{{ range .Notifications -}} {{ end -}}
notifierstatecreatedsentoutput
{{ .NotifierName }} {{ (index $mapping .MappingId .State).Title }} {{ .Inserted.Format "2006.01.02 15:04:05" }} {{ if .Sent.Valid }}{{ .Sent.Time.Format "2006.01.02 15:04:05" }}{{ end }} {{ .Output }}
{{ end }} {{ template "checkformfooter" . }}
{{ template "footer" . }}