Support DNS targets #4

Open
opened 2020-04-06 11:12:36 +00:00 by jcgruenhage · 0 comments
Owner

This should ideally resolve DNS names to A and AAAA records and then add both to the pinging targets. For this to work nicely, we need to change the labels a little bit, adding a distinction between host-as-in-config and host-as-in-pinged, adding both to the served metrics. This comes with another issue: The stream should only be pinging an IP for as long as the DNS record was valid, at which point, we should refetch the DNS records and start pinging the (potentially changed) IPs.

This should ideally resolve DNS names to A and AAAA records and then add both to the pinging targets. For this to work nicely, we need to change the labels a little bit, adding a distinction between host-as-in-config and host-as-in-pinged, adding both to the served metrics. This comes with another issue: The stream should only be pinging an IP for as long as the DNS record was valid, at which point, we should refetch the DNS records and start pinging the (potentially changed) IPs.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: jcgruenhage/peshming#4
No description provided.