$_REQUEST['mids'])); $monitor = $monitors[0]; $servers = ZM\Server::find(); $ServersById = array(); foreach ( $servers as $S ) { $ServersById[$S->Id()] = $S; } $storage_areas = ZM\Storage::find(); $StorageById = array(); foreach ( $storage_areas as $S ) { $StorageById[$S->Id()] = $S; } $focusWindow = true; xhtmlHeaders(__FILE__, translate('Function')); ?>
The following monitors will have these settings update when you click Save:

', array_map(function($m){return $m->Id().' ' .$m->Name();}, $monitors)); ?>
Id().'"/>'; }, $monitors) ); if ( count($ServersById) > 0 ) { ?>

'None')+$ServersById, $monitor->ServerId()); ?>

0 ) { ?>

'All')+$StorageById, $monitor->StorageId()); ?>

Function()); ?>

Enabled()) ) { ?> checked="checked"/>