Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modifying notificationdelay will delete your contactids #20

Open
gwillem opened this issue Jan 26, 2015 · 1 comment
Open

Modifying notificationdelay will delete your contactids #20

gwillem opened this issue Jan 26, 2015 · 1 comment

Comments

@gwillem
Copy link
Contributor

gwillem commented Jan 26, 2015

FYI, it's an API bug, that was reported to Pingdom at 2015-01-26

$ curl -su $PINGDOM_USER:$PINGDOM_PASS -H "App-Key: $PINGDOM_KEY" https://api.pingdom.com/api/2.0/checks/1236831 | python -mjson.tool | grep -A2 contactids
        "contactids": [
            10640040
        ],

$ curl -su $PINGDOM_USER:$PINGDOM_PASS -H "App-Key: $PINGDOM_KEY" -X PUT --data 'use_legacy_notifications=true&sendnotificationwhendown=16' https://api.pingdom.com/api/2.0/checks/1236831 | python -mjson.tool 
{
    "message": "Modification of check was successful!"
}

$ curl -su $PINGDOM_USER:$PINGDOM_PASS -H "App-Key: $PINGDOM_KEY" https://api.pingdom.com/api/2.0/checks/1236831 | python -mjson.tool | grep -A2 contactids

[...nothing...]
@KennethWilke
Copy link
Owner

Thanks for bringing this to their attention, if they don't address it in a reasonable time frame do you think we should mitigate that within PingdomLib?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants