addDataset('value', 'GAUGE', -1, 100000); $fields = array( 'value' => $FdbAddressCount, ); $tags = compact('rrd_def'); data_update($device, 'fdb_count', $tags, $fields); $graphs['fdb_count'] = true; echo 'FDB Count '; }