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
Add comment