Add DisableAlarms function
This commit is contained in:
parent
ef10ecc06a
commit
1b50314f9e
|
@ -612,5 +612,11 @@ class Monitor extends ZM_Object {
|
||||||
$cmd = getZmuCommand(' -c -m '.$this->{'Id'});
|
$cmd = getZmuCommand(' -c -m '.$this->{'Id'});
|
||||||
$output = shell_exec($cmd);
|
$output = shell_exec($cmd);
|
||||||
}
|
}
|
||||||
|
function DisableAlarms() {
|
||||||
|
$cmd = getZmuCommand(' -n -m '.$this->{'Id'});
|
||||||
|
$output = shell_exec($cmd);
|
||||||
|
Debug("Running $cmd output: $output");
|
||||||
|
}
|
||||||
|
|
||||||
} // end class Monitor
|
} // end class Monitor
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in New Issue