What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general.

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
More than 500,000 users rely on Paessler PRTG every day. 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

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



2 Replies

Votes:

0

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

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

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




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.