compact): ?>

Boxy Dashboard

showlegend){ ?>
✔ = Acknowledged ⌚ = In Downtime ↸ = Host Issue Acknowledged Status: ok warning critical unknown Acknowledged: warning critical unknown

Host Info

hosts as $host){ $title = htmlspecialchars($host->{'host_display_name'}); $size=$this->boxsize; $content=" "; $returncode=$host->{'host_state_text'}; if ($host->{'host_acknowledged'}==1 ){ $returncode.="-ack"; $content= "✔"; $title.=" (Acknowledged)"; }?> ' class='boxy_box state ' style='width:px; height:px; font-size:px;' title="">

Service Info

services as $service){ $service->{'service_hard_state'} = ($service->{'service_hard_state'}) ? "hard" : "soft"; $title = $service->{'host_display_name'}.": ".$service->{'service_description'}; #."(".$service->{'current_check_attempt'} .",".$service->{'max_check_attempts'} .")(". $service->{'service_hard_state'}.")+acked:".$service->{'service_acknowledged'} ; $size=$this->boxsize; $content=" "; $returncode=$service->{'service_state_text'}; if ($service->{'service_in_downtime'}==1 or $service->{'host_in_downtime'}==1 ){ $returncode.="-downtime"; $content= "⌚"; $title.=" (Scheduled Maintenance)"; }elseif ($service->{'service_acknowledged'}==1 ){ $returncode.="-ack"; $content= "✔"; $title.=" (Acknowledged)"; }elseif ($service->{'service_state_text'} != "ok" && $service->{'host_acknowledged'} == 1 ){ $returncode.="-ack"; $content= "↸"; $title.=" (Host Issue Acknowledged)"; } $title=htmlspecialchars($title."\n ".$service->{'service_output'});?> &service={'service_description'}?>' class='boxy_box state ' style='width:px; height:px; font-size:px;' title="">
debug?>