Skip to content

Cannot backup monitors with cli #17

@NotThatRonnieColeman

Description

@NotThatRonnieColeman

I can get users and backup dashboards without a problem. However, when i try to backup monitors (i'm specifically interested in my Synthetics monitors), i get a 401 with some extra details... see below:

Command issued:
user$ nr backup monitors -d ./backups/

Response:

Start to backup all monitors to './backups/' folder
Response status code: 401. Get one page monitors, pageSize '50', pageOffset '0'
OperationName   StatusCode   Description   Message
Get Monitors    401                        pageSize:50,pageOffset:0

Status code is not 2XX calling NewRelic REST
Status code is not 2XX calling NewRelic REST


Failed to backup monitors, exit.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions