Hi,<br><br>I just found propably mistake in nagios plugin chech_by_ssh<br><br>When I try to use this command place in checkcommands.cfg file<br><br>/usr/lib/nagios/plugins/check_by_ssh -lnagios -H $HOSTADDRESS$ -C "/usr/lib/nagios/plugins/traffic.sh" -t20
<br><br>I receive WARNING from nagios with this message "Could not create directory '/sbin/.ssh'."<br><br>When I run this command manually from command line as root it works without problem. Nagios is also run as root so I do not understand where is a problem. For authentification I use SSH private and public key located in /root/.ssh. I also tried to create symlink /sbin/.ssh -> /root/.ssh but I received the same message
<br clear="all"><br>-- <br>=========<br>Martin Koníček