Changeset 6738
- Timestamp:
- 10/06/08 16:38:17 (2 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/centreon/www/include/monitoring/engine/MakeXML_Ndo_host.php
r6646 r6738 210 210 $buffer .= '<a><![CDATA['. $ndo["address"] . ']]></a>'; 211 211 $buffer .= '<ou><![CDATA['. $ndo["output"] . ']]></ou>'; 212 $buffer .= '<lc>'. $centreonGMT->getDate($date_time_format_status, $ndo["last_check"]). '</lc>';212 $buffer .= '<lc>'. (($ndo["last_check"] != 0) ? $centreonGMT->getDate($date_time_format_status, $ndo["last_check"]) : "N/A") . '</lc>'; 213 213 $buffer .= '<cs>'. $tab_status_host[$ndo["current_state"]] . '</cs>'; 214 214 $buffer .= '<pha>'. $ndo["problem_has_been_acknowledged"] .'</pha>'; 215 215 $buffer .= '<pce>'.$ndo["passive_checks_enabled"] .'</pce>'; 216 216 $buffer .= '<ace>'.$ndo["active_checks_enabled"] .'</ace>'; 217 $buffer .= '<lsc>'. $duration.'</lsc>';217 $buffer .= '<lsc>'.($duration ? $duration : "N/A") .'</lsc>'; 218 218 $buffer .= '<ha>'.$ndo["problem_has_been_acknowledged"] .'</ha>';/// 219 219 $buffer .= '<hae>'.$ndo["active_checks_enabled"] .'</hae>';///
