Monitor kubectl commands

I have a ubuntu server (server 1) with some pods installed. I also have a separate ubuntu server for Librenms (server2).

Is it possible to get LibreNms wjhich is on server 2 to run a kubectl command which is on server1?

I was hoping it would run and display some results similar to the below where we can setup some alerts based on Status.

Any help would be appreciated.