$drbd['ns'], 'nr' => $drbd['nr'], 'dw' => $drbd['dw'], 'dr' => $drbd['dr'], 'al' => $drbd['al'], 'bm' => $drbd['bm'], 'lo' => $drbd['lo'], 'pe' => $drbd['pe'], 'ua' => $drbd['ua'], 'ap' => $drbd['ap'], 'oos' => $drbd['oos'], ); $tags = array('name', 'app_id', 'rrd_name', 'rrd_def'); data_update($device, 'app', $tags, $fields); unset($drbd);