$device['hostname'], 'url' => generate_url(array('page' => 'device', 'device' => $device['device_id']))); $auth = TRUE; $rrd_filename = get_rrd_path($device, "alert-".$alert['alert_test_id']."-".$alert['entity_type']."-".$alert['entity_id'].".rrd"); } } else { // error? } ?>