I was trying out the SSH Login wizard and managed to break it.
Under 'Login Details', I entered a password with an exclamation mark in it. The wizard split the password and put the first part (winging this from memory) in $ARG2$, the 2nd half in $ARG3$ and the string to look for in $ARG4$ which was not used by the script. The check failed with an invalid return code. I went into the CCM and fixed the check variables and verified that the script works with the repaired variable settings. I did *not* try putting single or double quotes around the password in the wizard so (if the wizard can't catch and compensate for shell chars in the password) I don't know whether or not there needs to be instructions to do so under the password input field.
SSH Login wizard
Re: SSH Login wizard
The exclamation mark symbol is probably the most problematic one, as it is used as a delimiter... The wizard needs to be modified to include the logic for checking for illegal characters. You can put you password in the "/usr/local/nagios/etc/resource.cfg" file.
Be sure to check out our Knowledgebase for helpful articles and solutions!