What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general. You are invited to get involved by asking and answering questions!

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
300.000 administrators have chosen PRTG to monitor their network. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags


View all Tags

SSH Free Space for Synology Diskstation

Votes:

0

Your Vote:

Up

Down

I want to check the disk space for our Synology Diskstation via ssh, but prtg can not interpret the result, because the df command has no option 'T'

The output of the sensor is:

BusyBox v1.16.1 (2011-06-07 14:06:37 CST) built-in shell (ash) Enter 'help' for a list of built-in commands.

DiskStation3> echo PAESSHSTART;df -TP;ec

ho PAESSHEND PAESSHSTART df: invalid option -- T BusyBox v1.16.1 (2011-06-07 14:06:37 CST) multi-call binary.

Usage: df [-Pkmh] [FILESYSTEM]...

Print filesystem usage statistics

Options: -P POSIX output format -k 1024-byte blocks (default) -m 1M-byte blocks -h Human readable (e.g. 1K 243M 2G)

PAESSHEND DiskStation3>

Is there any workaround?

Regards, Peter Schneider

disk-free ssh storage

Created on Nov 17, 2011 3:23:59 PM by  PSchneider (0) 1



2 Replies

Votes:

0

Your Vote:

Up

Down

Dear Peter,

I'm afraid then you can only try using a Custom Script/Exe Sensor, or maybe the SNMP Linux-Sensors with the SNMP Service on the Diskstation.

best regards.

Created on Nov 21, 2011 2:06:16 PM by  Torsten Lindner [Paessler Support]



Votes:

0

Your Vote:

Up

Down

does this box have some linuxtools like sed, awk installed, or can you install them on it. If yes, you might try this one:

https://kb.paessler.com/knowledgebase/en/topic/27553-is-there-a-way-to-write-custom-ssh-sensors

ciao

Created on Nov 21, 2011 3:42:49 PM by  AndreasHuemmer (300) 2 1

Last change on Nov 21, 2011 7:38:46 PM by  Torsten Lindner [Paessler Support]



Please log in or register to enter your reply.


Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.