[Nagiosplug-help] Problem with check_by_ssh plugin
Andy Shellam
andy-lists at networkmail.eu
Sat Apr 4 00:10:11 CEST 2009
Hi
> I'm not sure if this a good idea or not. Any other opinions to this
> topic from the rest of the list? B-)
Does shell escaping not work here? I.e. ...
/usr/local/nagios/check_by_ssh -H nagios3 -i /usr/local/nagios/.ssh/id_rsa -C "/usr/local/nagios/check_by_ssh -H nagios2 -i /usr/local/nagios/.ssh/id_rsa -C \"/usr/local/nagios/check_load -w 15,10,5 -c 30,25,20\""
If not I'd agree with the shell script wrappers suggestion.
Andy
More information about the Help
mailing list