API to get information about a probe?
I cannot find an API to retrieve information about a probe. I would like to get the information I can see on, for instance, <https://atlas.ripe.net/probes/10644/> but from a REST + JSON API. Does it exist? Do you think it would be a nice addition? (My current use case is that I find some probes failing to ping a target and I would like to quickly check if they share something, such as ASn or some tags.)
Hi Stephane, Here you go: Docs: https://atlas.ripe.net/docs/rest/#probe How to get current probe status: https://atlas.ripe.net/api/v1/probe/10644/ How to get archived probe status for a given day: https://atlas.ripe.net/api/v1/probe-archive/10644/?format=json&day=20150606 Cheers! /vty On 7/5/15 6:10 PM, Stephane Bortzmeyer wrote:
I cannot find an API to retrieve information about a probe. I would like to get the information I can see on, for instance, <https://atlas.ripe.net/probes/10644/> but from a REST + JSON API. Does it exist? Do you think it would be a nice addition?
(My current use case is that I find some probes failing to ping a target and I would like to quickly check if they share something, such as ASn or some tags.)
On Sun, Jul 05, 2015 at 09:34:40PM +0200, Viktor Naumov <vnaumov@ripe.net> wrote a message of 26 lines which said:
Here you go: Docs: https://atlas.ripe.net/docs/rest/#probe
Thanks, it works. Some fields are missing such as architecture (v1, v2, v3...) or DNS resolvers. {"prefix_v4": "81.220.128.0/17", "status": 1, "prefix_v6": null, "is_anchor": false, "tags": ["system-v3", "system-resolver-mangles-case", "system-ipv4-works", "system-ipv4-capable", "system-ipv4-rfc1918"], "status_name": "Connected", "address_v6": null, "longitude": 5.7005, "address_v4": "81.220.164.242", "country_code": "FR", "is_public": true, "latitude": 45.1895, "asn_v4": 21502, "asn_v6": null, "status_since": 1435042368, "id": 22874}
DNS resolvers are not displayed, but architecture is. "system-v3" is the tag representing probe v3 /vty On 7/5/15 11:31 PM, Stephane Bortzmeyer wrote:
On Sun, Jul 05, 2015 at 09:34:40PM +0200, Viktor Naumov <vnaumov@ripe.net> wrote a message of 26 lines which said:
Here you go: Docs: https://atlas.ripe.net/docs/rest/#probe Thanks, it works.
Some fields are missing such as architecture (v1, v2, v3...) or DNS resolvers.
{"prefix_v4": "81.220.128.0/17", "status": 1, "prefix_v6": null, "is_anchor": false, "tags": ["system-v3", "system-resolver-mangles-case", "system-ipv4-works", "system-ipv4-capable", "system-ipv4-rfc1918"], "status_name": "Connected", "address_v6": null, "longitude": 5.7005, "address_v4": "81.220.164.242", "country_code": "FR", "is_public": true, "latitude": 45.1895, "asn_v4": 21502, "asn_v6": null, "status_since": 1435042368, "id": 22874}
participants (2)
-
Stephane Bortzmeyer
-
Viktor Naumov