Check users currently logged in on a remote system with Nagios

nagiossnmp

In Nagios there exists a check_users function to check the number of users logged into the local system, but how do I do the same for a remote system? I have failed in trying to find the appropriate plugin.

Best Answer

you can install nrpe on remote computer that you want to monitor and invoke the plugin there.

or - if you want to hack a bit - you can write your own script and use ssh + key pair and execute on remote machine command like who + parse output locally.