Help with Nagios and NRPE Event Handlers

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.
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Help with Nagios and NRPE Event Handlers

Post by sreinhardt »

If you need to login, check_by_ssh would be the easiest way with sshkeys to get it to authenticate. Otherwise you can use standard ssh in a script and pass it the password. It's definitely possible, but not suggested to script ssh with passwords, and it doesn't work all that great for scripting unless you just use it to execute your script above.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Locked