2013-03-08 Miguel de Dios <miguel.dedios@artica.es>

* godmode/agentes/planned_downtime.list.php: added event when some
	user stop a downtime manuallity.
	
	Fixes: #3607163




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7817 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
mdtrooper 2013-03-08 13:47:07 +00:00
parent 7efbb45670
commit f13fdbcc01
2 changed files with 13 additions and 1 deletions

View File

@ -1,6 +1,13 @@
2013-03-08 Miguel de Dios <miguel.dedios@artica.es>
*include/constants.php, include/functions_reporting.php,
* godmode/agentes/planned_downtime.list.php: added event when some
user stop a downtime manuallity.
Fixes: #3607163
2013-03-08 Miguel de Dios <miguel.dedios@artica.es>
* include/constants.php, include/functions_reporting.php,
godmode/reporting/reporting_builder.item_editor.php,
godmode/reporting/reporting_builder.php: into the report element
"exception" added more conditions and rewrote the code.

View File

@ -66,6 +66,11 @@ if ($stop_downtime) {
__('Unsuccesful stopped the Downtime'));
if ($result) {
events_create_event ("Manual stop downtime ".
$downtime['name'] . "(" . $downtime['id'] . ") by " .
$config['id_user'], 0, 0, EVENT_STATUS_NEW, $config["id_user"],
"system", 1);
//Reenabled the Agents or Modules or alerts...depends of type
$downtime = db_get_row('tplanned_downtime', 'id', $id_downtime);