December 9, 200916 yr Hi, I just wrote a whs add on that lets me use my unRaid box how I want it to work. There would be a couple nice things to add, but I am not a linux guy... thus the post... Is there a way to poll the unRaid server and get total space and total free space? or other info such as the drive temps, status? I know I could potentially scrape the web page, but if that changes then I have to re-work it. thanks ahead of time.
December 9, 200916 yr Hi, I just wrote a whs add on that lets me use my unRaid box how I want it to work. There would be a couple nice things to add, but I am not a linux guy... thus the post... Is there a way to poll the unRaid server and get total space and total free space? or other info such as the drive temps, status? I know I could potentially scrape the web page, but if that changes then I have to re-work it. thanks ahead of time. Check out the unMENU add-on. It does all the things you mentioned, and more. If you can write a whs application, then you should be able to read the source files for unMENU as they are just text files. (unMENU is written in "awk," a language with many similarities with javascript, java, "C", "C++") You may not know the language itself, but you will see where it invokes "system" commands to gather the information it displays) Basically, you use the output of various linux commands and parse their output. Any of these can be invoked/scripted after logging in via telnet. df (free space on the disks) mount (mounted disks) /root/mdcmd status | strings (array status parameters) http://lime-technology.com/wiki/index.php?title=UnRAID_Add_Ons#UnMENU Joe L.
December 9, 200916 yr Author i cannot even get unmenu or bubba raid to run at startup unless I download it and install each time! Telnet is kinda a drag in .net unless you buy 3rd party, I think a page scrape is probably the best I can do.
Archived
This topic is now archived and is closed to further replies.