Page 1 of 1

Check if specific user is logged on

Posted: Mon Oct 24, 2016 8:43 am
by kujtim
Hallo everybody,

I can“t find a solution how I can check if a certain user is logged on a server, in Nagios.
The user must remain permanently logged on, so the verification, which is also logged on, is so important.
Does anyone know a possibility, how this can be implemented in Nagios.

Greetings
Kuj

Re: Check if specific user is logged on

Posted: Mon Oct 24, 2016 12:14 pm
by rkennedy
On the remote machine you're looking to monitor, to make sure that the user is logged in, does running users show you the logged in user you're looking for?

If so, it should be pretty easy to put a check together for you.