About the exporter regarding the ping

248 views
Skip to first unread message

anton...@gmail.com

unread,
Aug 22, 2017, 4:30:45 AM8/22/17
to Prometheus Users
Now we are using blackbox exporter to test the connectivity between the source and destination .
But i think this exporter is not enough .For example , i have a requirement , every 1 minute i need to send 10 icmp requests to the destination.So that i can get the packet loss , the rtt , the jitter and so on .
I think the smokeping is better (which using fping as its plug-in). but it seems that the prometheus can not integrate with it . Is seems any other exporter can achieve the goal ?

Brian Brazil

unread,
Aug 22, 2017, 4:33:38 AM8/22/17
to anton...@gmail.com, Prometheus Users
On 22 August 2017 at 09:30, <anton...@gmail.com> wrote:
Now we are using blackbox exporter to test the connectivity between the source and destination .
But i think this exporter is not enough .For example , i have a requirement , every 1 minute i need to send 10 icmp requests to the destination.So that i can get the packet loss , the rtt , the jitter and so on .
I think the smokeping is better (which using fping as its plug-in). but it seems that the prometheus can not integrate with it . Is seems any other exporter can achieve the goal .

Smokeping is the best smokeping. Have you considered changing the ping interval to 5 seconds?

--

Ben Kochie

unread,
Aug 22, 2017, 4:38:26 AM8/22/17
to anton...@gmail.com, Prometheus Users
I was thinking about the design of a "smokeping exporter" that would send packets with a faster timer, and add samples to a histogram.

I did something hackish, that seems to work ok.  I use a 1s scrape interval blackbox icmp, and then a set of 15s recording rules with things like quantile_over_time(0.9, probe_duration_seconds[15s])

This gives me some data similar enough to smokeping.  But with a 1s interval, pings are timed out at 1s.

A dedicated network observer would be cool, but I don't have time to write it.

--
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-users+unsubscribe@googlegroups.com.
To post to this group, send email to prometheus-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/667af3e3-3661-4869-8a1a-d935b15ab64c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

anton...@gmail.com

unread,
Oct 13, 2017, 1:31:59 AM10/13/17
to Prometheus Users
thanks so much, i am now still thinking about how to replace smokeping by collectd or blackbox

在 2017年8月22日星期二 UTC+8下午4:38:26,Ben Kochie写道:
I was thinking about the design of a "smokeping exporter" that would send packets with a faster timer, and add samples to a histogram.

I did something hackish, that seems to work ok.  I use a 1s scrape interval blackbox icmp, and then a set of 15s recording rules with things like quantile_over_time(0.9, probe_duration_seconds[15s])

This gives me some data similar enough to smokeping.  But with a 1s interval, pings are timed out at 1s.

A dedicated network observer would be cool, but I don't have time to write it.
On Aug 22, 2017 10:30, <anton...@gmail.com> wrote:
Now we are using blackbox exporter to test the connectivity between the source and destination .
But i think this exporter is not enough .For example , i have a requirement , every 1 minute i need to send 10 icmp requests to the destination.So that i can get the packet loss , the rtt , the jitter and so on .
I think the smokeping is better (which using fping as its plug-in). but it seems that the prometheus can not integrate with it . Is seems any other exporter can achieve the goal ?

--
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-use...@googlegroups.com.
To post to this group, send email to promethe...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages