check_ssh_login

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
debianite
Posts: 2
Joined: Wed Oct 06, 2010 1:38 pm

check_ssh_login

Post by debianite »

Hi.

Is there such a plugin that can check if a user can login successfully to an ssh server?
Or maybe a script that will give exit status 0 if successful or 1 if not.
I'm asking this because I need to monitor an ssh server that authenticates trough ldap and some times the authentication stops working.
Any suggestions or ideas are greatly appreciated.
Thank you.
tonyyarusso
Posts: 1128
Joined: Wed Mar 03, 2010 12:38 pm
Location: St. Paul, MN, USA
Contact:

Re: check_ssh_login

Post by tonyyarusso »

Here's on that mmestnik wrote that you could try. I have no idea how it works myself, but in theory it should be capable of what you need.
Attachments
check_ssh_expect.pl
(9.71 KiB) Downloaded 378 times
Tony Yarusso
Technical Services
___
TIES
Web: http://ties.k12.mn.us/
debianite
Posts: 2
Joined: Wed Oct 06, 2010 1:38 pm

Re: check_ssh_login

Post by debianite »

Thank you very much!
That will give me something to work with. ;)
Locked