14 lines
197 B
PHP
Raw Normal View History

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