So you already have a system in place which is connected to your network? That's important information, you need to include those things in the first place rather than retrospectively. Still, what precisely do you need help with? I suspect using a framework like Twisted
would allow you to write a server and receive the data. Once you receive it, you can process it however you like with respect to "thresholds".
If you don't know Python, you need to learn Python. We can help you through that, but read this first
. If you do need Python and you just need specific help, ask the most specific question you can muster.