[Nagiosplug-devel] (no subject)
John P. Rouillard
rouilj at cs.umb.edu
Wed Oct 12 11:00:50 UTC 2005
I have been trying to use check_by_ssh with an ssh-agent to allow
encrypted keys to be kept on the system.
While using spopen in the plugin is a great idea, it breaks using the
ssh-agent to manage keys since the required environment variable:
SSH_AUTH_SOCK isn't present in the child environment.
I had patched this once (at another job, code unavailable) by
duplicating spopen to spopenenv and adding a second argument that was
a list of the environment strings (retrieved with getenv) that should
be added to the child environment.
So does adding support to check_by_ssh to use an ssh-agent sound
My employers don't acknowledge my existence much less my opinions.
More information about the Nagiosplugin-devel