We have recently updated our Synolgy NAS Systems to DSM 5.1.
After this update I had the problem, that my SSH Sensors stopped working.
Error: Server does not support diffie-hellman-group-sha1 for keyexchange.
I fixed that using this: http://blog.millard.org/2014/11/repair-synology-dsm51-for-use-as-linux.html
But now I only get "No valid result from SSH Shell".
I had PRTG create a log for a working SSH Sensor on a different linux machine and the synology one.
This is the synology one:
linux BusyBox v1.16.1 (2014-11-06 15:59:06 CST) built-in shell (ash) Enter 'help' for a list of built-in commands. 7[r[999;999H[6n8SYNDS03>
From the working one on the other machine I could see, that the executed command is this one.
echo PAESSHSTART;df -TP -x tmpfs -x devtmpfs -x debugfs;echo;echo PAESSHEND;exit
I don't know if it's even executed on the synology since the logfile doesn't show that.
But the command also doesn't work, when you type it in an open ssh session, because there is neither a -T nor a -x option for df on this system.
This is what I get, when I try to execute the command manually:
df: invalid option -- 'T' BusyBox v1.16.1 (2014-11-06 15:59:06 CST) multi-call binary. Usage: df [-Pkmh] [FILESYSTEM]... Print filesystem usage statistics Options: -P POSIX output format -k 1024-byte blocks (default) -m 1M-byte blocks -h Human readable (e.g. 1K 243M 2G) PAESSHEND
This is the output of df -P:
Filesystem 1024-blocks Used Available Capacity Mounted on /dev/md0 2451064 581960 1766704 25% / /tmp 516888 892 515996 0% /tmp /run 516888 2548 514340 0% /run /dev/shm 516888 0 516888 0% /dev/shm /dev/vg1000/lv 5800273360 55182668 5744988292 1% /volume1
Any way to quickly fix this?