[Nagiosplug-help] Problem with check_by_ssh plugin
kaouther mechri
kmechri at gmail.com
Thu Apr 2 15:08:08 CEST 2009
Hello Every body,
In my nagios architector I heve to use n ssh proxy since I'm not able to
login from my nagios server on monitored servers
The only way possible is to use check_by_ssh (for security reasons, nrpe is
not possible). I encapsulate an check_by_ssh in an other one
I have a problem with this command :
/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' "
this command has the following output
/usr/local/nagios/check_by_ssh : option invalide --w
if I do
/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 'uname -a ' "
I have
/usr/local/nagios/check_by_ssh : option invalide --a
but the following commands work well
/usr/local/nagios/check_by_ssh -H nagios3 -i /usr/local/nagios/.ssh/id_rsa
-C "/usr/local/nagios/check_load -w 15,10,5 -c 30,25,20"
and
/usr/local/nagios/check_by_ssh -H nagios3 -i /usr/local/nagios/.ssh/id_rsa
-C 'uname -a '
work well
Do you have an idea please
Many thanks
Kaouther
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20090402/b27f3a0c/attachment.html>
More information about the Help
mailing list