mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Fix up formatting to http://docs.librenms.org/Developing/Code-Guidelines/
This commit is contained in:
@@ -4,10 +4,10 @@ $check = shell_exec($config['nagios_plugins'] . "/check_ircd -H ".$service['host
|
|||||||
|
|
||||||
list($check, $time) = split("\|", $check);
|
list($check, $time) = split("\|", $check);
|
||||||
|
|
||||||
if(strstr($check, "IRCD ok")) {
|
if (strstr($check, "IRCD ok")) {
|
||||||
$status = '1';
|
$status = '1';
|
||||||
} else {
|
} else {
|
||||||
$status = '0';
|
$status = '0';
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|||||||
Reference in New Issue
Block a user