synology-monitoring icon indicating copy to clipboard operation
synology-monitoring copied to clipboard

line 79 syntax error

Open peterpiglet opened this issue 2 years ago • 0 comments

Hi, I tried out your script but got a syntax error in line 79 (and 125):

synology_snmp.sh: line 79: syntax error near unexpected token `<'

synology_snmp.sh: line 79: ` done < <(snmpwalk -c public -v 2c $nas_url 1.3.6.1.4.1.6574.1.5) #Parent OID for SYNOLOGY-SYSTEM-MIB'

I tried to get the answer from some general posts about syntax error in bash scripts, but couldn't find a solution.

Could you maybe help me out?

Thanks

peterpiglet avatar Mar 23 '22 15:03 peterpiglet