2008-07-18 08:21:45 +00:00

14 lines
223 B
PHP

<?php
$check = `scripts/services/check_http -H $service[hostname] $service[service_param]`;
list($check, $time) = split("\|", $check);
if(strstr($check, "HTTP OK")) {
$status = '1';
} else {
$status = '0';
}
?>