This commit is contained in:
Louis Rossouw
2015-07-05 21:31:11 +02:00
parent c050ff374f
commit 90f2201084

View File

@@ -4,10 +4,10 @@ $check = shell_exec($config['nagios_plugins'] . "/check_ircd -H ".$service['host
list($check, $time) = split("\|", $check);
if(strstr($check, "IRCD ok")) {
$status = '1';
if (strstr($check, "IRCD ok")) {
$status = '1';
} else {
$status = '0';
$status = '0';
}
?>