Random Project

raid problem on dsm 6

This worked for me on DSM 5.2
On DSM 6 I get this error
Any ideas ?

peter@rcapp04:/srv/docker/volumes/nagios/opt/Custom-Nagios-Plugins$ docker exec -it nagios4 bash
root@rcapp04-nagios:/# cd /opt/Custom-Nagios-Plugins/
root@rcapp04-nagios:/opt/Custom-Nagios-Plugins# ./check_snmp_synology -2 public -h rcdata02 -t raid
./check_snmp_synology: line 368: 54
55
58
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
/volume1/@docker
/volume1/@docker/btrfs
/volume1/@docker/containers/41582c69eb60f17066850470fdfb150a20a445882d30a6083c4fbb59a9b4293c/mounts/shm
8192 Bytes
8192 Bytes
4096 Bytes
2108048671
2108048671
16384
367403977
367403977
367403977
0 * 100 / 54
55
58
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
/volume1/@docker
/volume1/@docker/btrfs
/volume1/@docker/containers/41582c69eb60f17066850470fdfb150a20a445882d30a6083c4fbb59a9b4293c/mounts/shm
8192 Bytes
8192 Bytes
4096 Bytes
2108048671
2108048671
2108048671
16384
367403977
367403977
0: syntax error in expression (error token is “55
58
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
/volume1/@docker
/volume1/@docker/btrfs
/volume1/@docker/containers/41582c69eb60f17066850470fdfb150a20a445882d30a6083c4fbb59a9b4293c/mounts/shm
8192 Bytes
8192 Bytes
4096 Bytes
2108048671
2108048671
16384
367403977
367403977
367403977
0 * 100 / 54
55
58
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
/volume1/@docker
/volume1/@docker/btrfs
/volume1/@docker/containers/41582c69eb60f17066850470fdfb150a20a445882d30a6083c4fbb59a9b4293c/mounts/shm
8192 Bytes
8192 Bytes
4096 Bytes
2108048671
2108048671
2108048671
16384
367403977
367403977
0”)