Ping with timestamp

I’m having issues with my internet connection lately. My modem seems to reset it self from time to time. It can work days without issues and then it starts to reset a couple of times without any warning.

The internet provider sees nothing wrong with the modem. A mechanic needs to come by, but until then i want to be able to monitor the device.

I’ve installed LibreNMS to monitor my connection. Every 5 minutes it checks by sending a ping to the router and another test is to ping 8.8.8.8 (one of the dns servers of google). It works like a charm. But sometimes the modem is restarted within 5 minutes. When i’m behind my PC i’ve started to run the ping command, and that works fine, only one thing annoyed me: I can’t see when the ping command tries to send an ping to the devices.

Thanks to the blog of: https://www.raymond.cc/blog/timestamp-ping-with-hrping/, i’m running a ping command preceded with a time stamp:
Ping From PowerShell:

With this you get something like this:

That works like a charm!!

Leave a Reply

Your email address will not be published. Required fields are marked *