Hi,

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:

  1. 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

Any suggestions?


Article Comments

Hello there,

What credentials configured in PRTG to call this script?

Please navigate to the corresponding device settings and scroll down to the section Credentials for Linux/Solaris/Mac OS (SSH/WBEM) Systems to change them.


Kind regards,
Birk Guttmann, Tech Support Team


Mar, 2019 - Permalink

Hi, I'm storing root credentials in the Linux/Solaris/Mac OS (SSH/WBEM) Systems section. Standard ssh probes, such as meminfo or diskfree, have no issues reporting on the host in question.


Mar, 2019 - Permalink