I'm trying to add a ssh script to prtg. I am using a built-in ssh probe (ssh disk free) to this truenas host so the credentials are good. When I try to add a "ssh script" sensor, the only choices I have in the pull-down are:
Warning: no access to tty (Bad file descriptor). Thus no job control in this shell.
Warning: settings changed through the CLI are not written to the configuration database and will be reset on reboot.
The above seem like it is trying to connect and reports back the message ssh gives it, but the one file I'm trying to add, hardware.sh, doesn't show. Here are the contents of /var/prtg/scripts on the truenas host:
- ls -al /var/prtg/scripts total 4 drwxr-xr-x 2 root wheel 64 Mar 19 18:23 . drwxr-xr-x 3 root wheel 64 Mar 19 18:21 .. -rwxr-xr-x 1 root wheel 552 Mar 20 11:34 hardware.sh