$data[0]['sonicCurrentConnCacheEntries'], 'maxsessions' => $data[0]['sonicMaxConnCacheEntries'], ); $tags = compact('rrd_def'); data_update($device, 'sonicwall_sessions', $tags, $fields); $graphs['sonicwall_sessions'] = true; }