I would like to create a sensor to monitor/trend the disk space on my EMC NAS. The backend of the NAS is a linux kernel. It has a command "server_df" very similar to df. Below is the command and example output. How can I create a sensor that takes this output and behave the same way as the out of the box "SSH disk free" sensor?
[root@emconp20 scripts]# /nas/bin/server_df server_2 | egrep -iv "ckpt|server_2" Filesystem kbytes used avail capacity Mounted on sapmntpdc1 5162864 1663320 3499544 32% /sapmntpdc1 UserProfiles 103257584 164040 103093544 0% /UserProfiles satellitetemp 258143984 41469328 216674656 16% /satellitetemp gpsdevopt 206515184 15451256 191063928 7% /gpsdevopt smacsdb 20651504 4135096 16516408 20% /smacsdb ips1 5854073880 5239080840 614993040 89% /ips1 pheau 2016749984 139025320 1877724664 7% /pheau OFFICE1 1008374984 947033584 61341400 94% /OFFICE1 SharedData 15981643824 15595819264 385824560 98% /SharedData usrsaptrd 51628784 40461104 11167680 78% /usrsaptrd
Article Comments
Update: As of version 18.1.37, PRTG includes 5 sensor types that enable you to monitor your Dell EMC storage systems out of the box! The sensors use the REST API of Dell EMC devices to show you health status and other important measurements of your Dell EMC storage components.
- REST Dell EMC Capacity Sensor
- REST Dell EMC File System Sensor
- REST Dell EMC LUN Sensor
- REST Dell EMC Pool Sensor
- REST Dell EMC System Health Sensor
Mar, 2018 - Permalink
Hi,
there are different approaches, the simplest one would be if you have access to the filesystem of the nas and can place a bash-script at the path /var/prtg/scriptsxml. If yes, I can write down a small ssh-script-advanced sensor that will bring the values to PRTG.
Kind Regards
Mar, 2013 - Permalink