November 13, 200817 yr 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.
November 13, 200817 yr Author 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.
November 13, 200817 yr 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.
November 13, 200817 yr Author 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?
November 13, 200817 yr 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
November 13, 200817 yr Author Open the Firefox Error Console, and tell me what the last few lines are.
November 13, 200817 yr 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
November 13, 200817 yr 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.
November 13, 200817 yr Author 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.
November 13, 200817 yr Author 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).
November 13, 200817 yr Author I also added some color coding of drive temps, and user-defined warning and alarm levels. Please post any ideas for additional features.
November 13, 200817 yr Freakin Cool dude, Nice Job! Please post any ideas for additional features. SPIN UP/SPIN DOWN ?
November 13, 200817 yr Author 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
November 14, 200817 yr Works OK here, Thanks for the programing Any chance of thinking about monitoring a second unRaid Server on the same network
November 14, 200817 yr Author 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.
November 14, 200817 yr 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
November 14, 200817 yr Author @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.....
November 14, 200817 yr @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!
November 15, 200817 yr Author 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?
November 15, 200817 yr 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.
Archived
This topic is now archived and is closed to further replies.