Monitoring locations that have intermittent power and/or connectivity outages can be challenging. I’ll also use Telegraf, an open source data collection agent, to retrieve some of the data needed for this purpose.
I suspected that power outages caused the initial problem, which created the connectivity issues and ultimately resulted in the laptop running out of battery.
However, if the network goes down and a power outage occurs, that drains the laptop’s battery, and I lose all my data.
Two of four of the outages related to power lasted long enough to completely drain the laptop battery, causing it to shut down.