I am trying to test if a user is able to log in via SSH. I do not have a Zabbix agent on the target machine.
Testing that the service is up is not enough since I also want to validate that the user account is not expired and the ssh key is working correctly.
I have tried to setup a simple SSH agent check do just echo some dummy value and the check itself work. However if the user account is expired the check simply goes into "Unsupported" state without any warning.
I have tried to setup a trigger on "no data for X minutes" but that does not fire.
What is the correct way to monitor ssh users?
Testing that the service is up is not enough since I also want to validate that the user account is not expired and the ssh key is working correctly.
I have tried to setup a simple SSH agent check do just echo some dummy value and the check itself work. However if the user account is expired the check simply goes into "Unsupported" state without any warning.
I have tried to setup a trigger on "no data for X minutes" but that does not fire.
What is the correct way to monitor ssh users?

Comment