internet-pi icon indicating copy to clipboard operation
internet-pi copied to clipboard

http request duration on internet-monitoring tool

Open BertMedley opened this issue 2 years ago • 14 comments

I am getting infrequent return values like -9.22Bil. Any ideas?

Otherwise internet-monitoring and pi-hole are both working fine.

Is it OK to put pi-vpn on the same rpi 8GB box? It is running the latest rpi 64bit OS on a 2TB SSD. I would want the other Pis and windows boxes to use the vpn connection but pi-hole and internet-monitoring not.

BertMedley avatar Sep 27 '22 16:09 BertMedley

https://mail.com -9223372032 seconds

BertMedley avatar Sep 27 '22 16:09 BertMedley

Any ideas? Or is the -9.22 Bil seconds expected behavior?

BertMedley avatar Oct 02 '22 08:10 BertMedley

Since this has been open for 2 weeks with no response, I will assume that no one else has seen the issue and it is an artefact of my setup. I will close the issue on Thursday. Thanks!!

BertMedley avatar Oct 11 '22 13:10 BertMedley

I just got this set up. Which graph are you seeing this on? I can see if I have the behavior as well

mjperrone avatar Oct 11 '22 17:10 mjperrone

HTTP Request Duration. The two Speedtest dials are OK (top). The Speedtest graph and Uptime graphs are OK (middle). It is the bottom one.

BertMedley avatar Oct 11 '22 19:10 BertMedley

I have 5 sites monitored:
http://www.google.com/ https://github.com/ https://mail.com/ https://mail.yahoo.com/ https://www.apple.com/

BertMedley avatar Oct 11 '22 19:10 BertMedley

It happens most often on https://mail.com

BertMedley avatar Oct 11 '22 19:10 BertMedley

2022-10-11-154328_1920x1080_scrot

BertMedley avatar Oct 11 '22 20:10 BertMedley

I'll hold this open another week then. Thanks!

BertMedley avatar Oct 11 '22 20:10 BertMedley

I added data and screenshot to the forum post.  Thanks!

Human beings make life so interesting. Do you know, that in a universe so full of wonders, they have managed to invent boredom?

On Tuesday, October 11, 2022 at 12:16:00 PM CDT, Mike Perrone ***@***.***> wrote:  

I just got this set up. Which graph are you seeing this on? I can see if I have the behavior as well

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

BertMedley avatar Oct 12 '22 00:10 BertMedley

Are you saving longs for the ping service? You might find something like a timeout there. I added those sites to my setup so I'll see if I'm seeing that too, but if you just want it off the graph you can probably use an absolute value function or max(value,0) might be better

mjperrone avatar Oct 12 '22 04:10 mjperrone

OK, I will try that then. I think a max(abs()) may wotk better. I can max against 10.00 and still see the issue w/o causing the other data to disappear. Let me see if I can figure out how now. :-)

BertMedley avatar Oct 12 '22 12:10 BertMedley

OK, I changed the query from sum(probe_http.duration_seconds) by (instance)

to sum by (instance) (probe_http_duration_seconds > 0)

and none of the graphed time periods show the error. So we'll see if that soilves the problem.

max(abs(),10) did not work for some reason.

BertMedley avatar Oct 12 '22 13:10 BertMedley

Ok, it seems like it may happen when the ping looks like this:

2022-10-12-134555_1920x1080_scrot

Not sure if the picture posted.

Notice that the UPTIME is BLANK. Green is up with response times, red is down (http error 200?), not sure what BLANK is.

BertMedley avatar Oct 12 '22 18:10 BertMedley

This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!

Please read this blog post to see the reasons why I mark issues as stale.

stale[bot] avatar Jan 21 '23 07:01 stale[bot]

This issue has been closed due to inactivity. If you feel this is in error, please reopen the issue or file a new issue with the relevant details.

github-actions[bot] avatar Aug 14 '23 21:08 github-actions[bot]