mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-26 23:34:08 +02:00
Notifications for enable/disable active checks
This commit is contained in:
parent
d1c5e6da14
commit
ca0fbedf0e
@ -314,6 +314,7 @@ class Monitoring_CommandController extends ActionController
|
|||||||
|
|
||||||
if ($form->IsSubmittedAndValid() === true) {
|
if ($form->IsSubmittedAndValid() === true) {
|
||||||
$this->target->sendCommand($form->createCommand(), $this->view->objects);
|
$this->target->sendCommand($form->createCommand(), $this->view->objects);
|
||||||
|
Notification::success('Command has been sent, result should be visible soon');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -338,6 +339,7 @@ class Monitoring_CommandController extends ActionController
|
|||||||
|
|
||||||
if ($form->IsSubmittedAndValid() === true) {
|
if ($form->IsSubmittedAndValid() === true) {
|
||||||
$this->target->sendCommand($form->createCommand(), $this->view->objects);
|
$this->target->sendCommand($form->createCommand(), $this->view->objects);
|
||||||
|
Notification::success('Command has been sent, result should be visible soon');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user