<div>In order to monitor the remote linux server we are using check_by_ssh as root. I know it is not advisable to use it as root , but we are in a transition to NRPE slowly which uses nagios. </div>
<div> </div>
<div>Here's what i did :</div>
<div> </div>
<div>1) As root copied the id_rsa.pub to the remote server's  root user's .ssh directory and pasted it to the authorized_keys .</div>
<div> </div>
<div>2) Then did ssh <remote server ip> and was able to login without password.</div>
<div> </div>
<div>3) Then excecuted the check command remotely:</div>
<div> </div>
<div>check_by_ssh -t 30 -l root -H <remote server ip> -C "/usr/lib/nagios/plugins/check_load -w10,15,20 -c15,20,25"<br>OK - load average: 0.00, 0.00, 0.00|load1=0.000000;10.000000;15.000000;0.000000 load5=0.000000;15.000000;20.000000;0.000000 load15=0.000000;20.000000;25.000000;0.000000</div>

<div> </div>
<div>check_by_ssh -t 30 -l root -H <remote server ip>  -C "/usr/lib/nagios/plugins/check_uptime"<br>UPTIME OK - System up for 6 HOUR(s) and 38 Minute(s)<br clear="all"></div>
<div></div>
<div>Looks perfectly fine!!!</div>
<div> </div>
<div>But from the Web interface i see this :</div>
<div> </div>
<div>Remote command execution failed: buffer_get_ret: trying to get more bytes 129 than in buffer 97 </div>
<div> </div>
<div>I am clue less . Please advice me on this .<br>-- <br>Anirudh Srinivasan<br><br></div>