bubbaQ Posted November 13, 2008 Share Posted November 13, 2008 I decided to write a Firefox plugin to monitor my unRAID server.... so I can see at a glance that all is OK, without having to load the interface, and which will autorefresh. So the Firefox Extension for Monitoring UnRAID (FEMUR) was born. It is just a proof-of-concept right now, but I can see some big things for it in the future. It puts a widget on the statusbar of the Firefox window. It shows the unRAID status, and the max temp of all the drives. You can download it from http://www.citegenie.com/femur/femur.xpi (you will have to click to "allow" Firefox to install it) After installing it in Firefox, on the "Tools" menu in Firefox, you will see "FEMUR UnRAID Monitor Configuration" to configure it. Quote Link to comment
PhilH Posted November 13, 2008 Share Posted November 13, 2008 I guess you need to be running Bubbaraid for this to work? Quote Link to comment
bubbaQ Posted November 13, 2008 Author Share Posted November 13, 2008 I guess you need to be running Bubbaraid for this to work? Not at all -- it should work fine on all version of plain unRAID or BubbaRaid. Quote Link to comment
PhilH Posted November 13, 2008 Share Posted November 13, 2008 Thanks for the quick reply. I'll reinstall it & see if I can get it to work. All it showed was the name & a small graphic. No status light or temperature. Quote Link to comment
bubbaQ Posted November 13, 2008 Author Share Posted November 13, 2008 Did you go into the configuration and set your server name and port? What color was the graphic? (grey, green, or red) What version of unRAID do you have? Quote Link to comment
PhilH Posted November 13, 2008 Share Posted November 13, 2008 I've never changed my unRAID server name or port. It is the default "Tower". I am running unRAID 4.3.3 Here is a pic of what I am getting. Edit: What's even weirder is if I uncheck "show Femur widget on status bar" that does nothing. The widget is still on the status bar. I have shut down firefox & restarted. No Good. I am running Firefox 3.0.3 Let me know if you need more info. Thanks Phil Quote Link to comment
bubbaQ Posted November 13, 2008 Author Share Posted November 13, 2008 Open the Firefox Error Console, and tell me what the last few lines are. Quote Link to comment
olympia Posted November 13, 2008 Share Posted November 13, 2008 Hi bubbaQ, I have the same experience as PhilH. Does the version of Firefox matter? (I am trying with 3.0.3) Thanks for your outstanding efforts! update: no errors or any message in Error Consol @me Quote Link to comment
PhilH Posted November 13, 2008 Share Posted November 13, 2008 Warning: Element referenced by ID/NAME in the global scope. Use W3C standard document.getElementById() instead. Source File: http://tower/settings.htm Line: 221 Warning: Element referenced by ID/NAME in the global scope. Use W3C standard document.getElementById() instead. Source File: http://tower/settings.htm Line: 222 Warning: Element referenced by ID/NAME in the global scope. Use W3C standard document.getElementById() instead. Source File: http://tower/settings.htm Line: 223 Warning: Element referenced by ID/NAME in the global scope. Use W3C standard document.getElementById() instead. Source File: http://tower/settings.htm Line: 224 Warning: Element referenced by ID/NAME in the global scope. Use W3C standard document.getElementById() instead. Source File: http://tower/settings.htm Line: 225 I hope this helps. EDit: I closed all of my tabs and the errors went away. I don't know what's wrong. Quote Link to comment
NAS Posted November 13, 2008 Share Posted November 13, 2008 wont constantly checking the GUI cause drives to never spin down on 4.3x? Quote Link to comment
PhilH Posted November 13, 2008 Share Posted November 13, 2008 Something to think about NAS. Quote Link to comment
bubbaQ Posted November 13, 2008 Author Share Posted November 13, 2008 Found a bug in the display toggle. Download it again from the link in the OP. Yes, checking under 4.3 will keep the drives spun up... I'm implementing a warning/workaround for it. That problem should go away in 4.4. Quote Link to comment
bubbaQ Posted November 13, 2008 Author Share Posted November 13, 2008 What I am planning, is to check the unRAID version, and if it is 4.3x or below, warn the user that they should disable drive temp query in FEMUR, or set the refresh time to longer than the spindown timer (another feature I have to add). Quote Link to comment
olympia Posted November 13, 2008 Share Posted November 13, 2008 Works now! Great, thanks! Quote Link to comment
bubbaQ Posted November 13, 2008 Author Share Posted November 13, 2008 I also added some color coding of drive temps, and user-defined warning and alarm levels. Please post any ideas for additional features. Quote Link to comment
WeeboTech Posted November 13, 2008 Share Posted November 13, 2008 Freakin Cool dude, Nice Job! Please post any ideas for additional features. SPIN UP/SPIN DOWN ? Quote Link to comment
bubbaQ Posted November 13, 2008 Author Share Posted November 13, 2008 SPIN UP/SPIN DOWN ? Sure I can do it. I was thinking about a right-click context menu for the widget, so you can pulldown shortcuts to: - Open the unRAID Console - spin up drives - spin down drives Quote Link to comment
bbrodka Posted November 14, 2008 Share Posted November 14, 2008 Works OK here, Thanks for the programing Any chance of thinking about monitoring a second unRaid Server on the same network Quote Link to comment
bubbaQ Posted November 14, 2008 Author Share Posted November 14, 2008 Any chance of thinking about monitoring a second unRaid Server on the same network I suppose ... it will have to wait till I have my seconds unRAID server up... it is down right now for another project. Quote Link to comment
prostuff1 Posted November 14, 2008 Share Posted November 14, 2008 hum, can seem to get it to work quite right I am running bubbaraid so the main screen (the original unRaid screen) is on port 88 on my internal network and i can get to buy typing the IP address of my computer and then specififying the port in a web browser. On a mac i can not get to the unRaid server by typing \\tower in a web browser. Maybe you could add an option to specify the IP address of the unraid server. I think that would fix my problem. I have always had intermittent problems with being able to connect to the server via smb://tower BUT if i do a smb://192.168.*.*** and can almost always get to the server Quote Link to comment
Rob_Esc Posted November 14, 2008 Share Posted November 14, 2008 Thanks, Bubba. Working okay on FF 3.0.3 Quote Link to comment
bubbaQ Posted November 14, 2008 Author Share Posted November 14, 2008 @prostuff1: You can use the IP address of the server.... but the rest of the plugin is not Mac compatible.... sorry. If someone wants to buy and ship me a Mac for debugging..... Quote Link to comment
prostuff1 Posted November 14, 2008 Share Posted November 14, 2008 @prostuff1: You can use the IP address of the server.... but the rest of the plugin is not Mac compatible.... sorry. If someone wants to buy and ship me a Mac for debugging..... Darn, oh well, would have been nice to have this working on my mac any chance it may become mac compatible or what you might need (short of a mac) to get ti working on a mac. I am more then willing to help in any way i can! Quote Link to comment
bubbaQ Posted November 15, 2008 Author Share Posted November 15, 2008 Now that I think about it, I think it should be OK on the Mac... try it out. Also, I've come up with a way to greatly expand FEMUR's reporting capabilities, including RAM, open files, CPU, and all manner of other stats. It requires running a small awk script when unRAID starts up (so you put it in the GO script). Any volunteers to beta test it? Quote Link to comment
prostuff1 Posted November 15, 2008 Share Posted November 15, 2008 The only thing i get in the status bar is a little icon that says unRaid above it. My settings are as follows in the FEMUR: Server Name: tower Server port: 88 the rest of the settings are negligible. i get these errors when i clock on the status icon in the dock: Retriving file:http://[xpconnect wrapped (nsISupports, nsIPrefBranch, nsIPrefService, nsIPrefBranchInternal, nsIPrefBranch2)]:[xpconnect wrapped (nsISupports, nsIPrefBranch, nsIPrefService, nsIPrefBranchInternal, nsIPrefBranch2)]/main.htm URL:http://[xpconnect wrapped (nsISupports, nsIPrefBranch, nsIPrefService, nsIPrefBranchInternal, nsIPrefBranch2)]:[xpconnect wrapped (nsISupports, nsIPrefBranch, nsIPrefService, nsIPrefBranchInternal, nsIPrefBranch2)]/main.htm Error: uncaught exception: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIXMLHttpRequest.open]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: chrome://femur/content/shared.js :: get_file :: line 185" data: no] If i change the port to 192.168.*.***:88 (this is what i type when in a web browser) i get the same errors. Either way it is not showing me any status for the server in the status bar and i can not open the main page by clicking on it. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.