I use non standart ports on linux hosts, and specify it in group setttings, but discavery trying use only standart (22) port


Article Comments

Dear Alexander

Once you saved the template, please find it in the "devicetemplates" subfolder. Please open the odt file in a text editor. You should finde the port node

       <port>
          22
       </port>

You can change the port, save the file and use it for an autodiscovery.


Mar, 2015 - Permalink

It is not work :(

I create device template, found file and found <port> section, then replace port number 22 to specific nember.

But after "Run autodiscovery with Template" no any ssh sensor found (as previously prtg probe trying connect by TCP 22 to my host)


Mar, 2015 - Permalink

I think this problem because SSH check defined in line <check id=ssh meta=ssh ...> always use standard SSH port (22) and ignores any settings in host or group configuration.

This check executed before create SSH sensors and In my configuration this check fails and other SSH sensors not created as indicated in ODT file "requires=ssh" tag :

Half of workaround: create template file, change port to non standart and then change lines (on every SSH sensor line) for change "requires=ssh" tag to "requires=icmp" <create id={...} kind=sshdiskfree requires=ssh ...>

I understand correctly? This is a bug in the PRTG?


Mar, 2015 - Permalink

Dear Alexander

Please try to delete the port node altogether. Is the template now using the port entered in the device settings? If that is not the case, please contact support@paessler.com and send the un-edited template as email file attachment.


Mar, 2015 - Permalink