-2

I have a PC with a USB humidity logger, that measures humidity in our factory. When the humidity is too high, the PC sends me an email alerting me to the problem.

Sometimes the internet goes down, or there's a power failure.
Then, my PC can't email me.
I need a way to know ASAP when the PC loses internet connectivity.

One idea, is if there was a server somewhere, and my PC could ping it every 3 mins. If the server doesn't receive a ping after 10 minutes, the server can email me.

How do I solve this problem?

1 Answers1

2

There's a few tools that might work, while not explicitly desgined to do so.

The simplest/oldschool way to do this is to have some flavour of chat account - say xmpp. If the account is disconnected, you know that the server is down. You might even be able to script it with an appropriate tool to send you system information periodically

Likewise a bitorrent sync share would drop out and you'd be able to see it. No server or account needed. You might even use this to download the updated humidity output.

Journeyman Geek
  • 133,878