in reply to Server sends knock-knock, client does something.
Consider looking into snmp. It's for this purpose.