I'm trying to monitor an Ubuntu Server 18.04.4 LTS. The normal SSH disk space sensor works in general but displays all the snap volumes as a seperate filesystem. Even the ones that are no longer available.

I found a shell script here in the KB (https://helpdesk.paessler.com/en/support/solutions/articles/91016-how-do-i-prevent-ssh-disk-free-monitoring-ubuntu-snap-partititons#reply-316191), I wanted to try to implement to change this behavior.

I created the script, put it on the linux server I want to monitor under /var/prtg/scriptsxml, checked that the permissions are ok and it's executable but it does not show up in the drop down field in the "Add new Sensor: SSH Script Extended" (I'm using a german verion of PRTG, so the Sensor could be named slightly different in english) where I can usually choose the script to execute (in other Sensor types for Windows for example).

We usually only monitor Windows systems. This is one of the first Linux system I'm trying to integrate in our monitoring so the problem could well be ... me. :-)

Since other SSH Sensors are working and I provided the security credentials for my linux system on the device level, I'm pretty confident, that the credentials shouldn't be the problem.

I read the manual (https://www.paessler.com/manuals/prtg/ssh_script_advanced_sensor) again, but did not find anything helpful.


Article Comments

Hi there,

the setup seems to be fine. To exclude any access rights issue, please login with the in PRTG used user and check whether you can see the path and the file.


Apr, 2023 - Permalink

Thanks for the answer!

I can login to the Linux box, cd to the script directory...

/var/prtg/scriptsxml

... and start the script with the credentials provided. The output of the script XML is then written on the screen (STDOUT). So that seems to work just fine.

Any other ideas?


Apr, 2023 - Permalink

Thank you for the update.

Please let me know whether you can add another standard SSH Sensor on this device? In this way we can check the general connection between the device and the PRTG Probe.


Apr, 2023 - Permalink