$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'], ); rrdtool_update($rrd_filename, $fields); $tags = array('name' => 'drbd', 'app_id' => $app['app_id']); influx_update($device,'app',$tags,$fields); unset($drbd);