Adam Amstrong 60ee7e5141 fix.!
git-svn-id: http://www.observium.org/svn/observer/trunk@243 61d68cd4-352d-0410-923a-c4978735b2b8
2008-07-18 08:35:02 +00:00

14 lines
197 B
PHP

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