Add DisableAlarms function

This commit is contained in:
Isaac Connor 2021-04-12 15:18:49 -04:00
parent ef10ecc06a
commit 1b50314f9e
1 changed files with 6 additions and 0 deletions

View File

@ -612,5 +612,11 @@ class Monitor extends ZM_Object {
$cmd = getZmuCommand(' -c -m '.$this->{'Id'});
$output = shell_exec($cmd);
}
function DisableAlarms() {
$cmd = getZmuCommand(' -n -m '.$this->{'Id'});
$output = shell_exec($cmd);
Debug("Running $cmd output: $output");
}
} // end class Monitor
?>