check_by_ssh with password?

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
judanssi
Posts: 11
Joined: Wed Jul 18, 2012 10:09 am

check_by_ssh with password?

Post by judanssi »

Hi!

Is there any known solution how to use check_by_ssh (or similar) plugin with ssh password authentication? We think that in our case authorized keys is not so great idea, and we'd like to use password-based authentication.

Thanks in advance!
agriffin
Posts: 876
Joined: Mon May 09, 2011 9:36 am

Re: check_by_ssh with password?

Post by agriffin »

check_by_ssh doesn't do this, but it would be fairly simple to write a plugin that does. You would probably need to store the password somewhere in plain text though, which is equivalent to using ssh keys. My advice would be to just use keys.
Locked