Re: CF integration with logger and monitoring tools


Swatz bosh
 

I am getting error while running data-dog-nozzle -

https://github.com/cloudfoundry-incubator/datadog-firehose-nozzle

go run main.go -config config/datadog-firehose-nozzle.json

-----------ERROR-------------
2015/08/25 12:09:50 Starting DataDog Firehose Nozzle...
2015/08/25 12:09:50 Error while reading from the firehose: Unauthorized error: You are not authorized. Error: Invalid authorization
2015/08/25 12:09:50 Closing connection with traffic controller due to Unauthorized error: You are not authorized. Error: Invalid authorization
2015/08/25 12:09:50 Posting 3 metrics
2015/08/25 12:09:50 DataDog Firehose Nozzle shutting down...
----------------------------------------

below command of uaac, gives scope etc.

uaac client get datadog-firehose-nozzle

scope: doppler.firehose oauth.approvals openid
client_id: datadog-firehose-nozzle
resource_ids: none
authorized_grant_types: authorization_code client_credentials refresh_token
autoapprove:
authorities: doppler.firehose oauth.login
lastmodified: 1440494682000


I have added this property using -

uaac client add datadog-firehose-nozzle --scope openid,oauth.approvals,doppler.firehose --authorized_grant_types authorization_code,client_credentials,refresh_token --authorities oauth.login,doppler.firehose

I have used UAA client admin username/pswd in my nozzle config file and have also tried UAA client login username/pswd but same error.

Do I need to restart uaa job after adding datadog-nozzle client?

Join cf-dev@lists.cloudfoundry.org to automatically receive all group messages.