bubbaQ

A new toy... FEMUR

Recommended Posts

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.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

wont constantly checking the GUI cause drives to never spin down on 4.3x?

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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).

Share this post


Link to post
Share on other sites

I also added some color coding of drive temps, and user-defined warning and alarm levels.

 

Please post any ideas for additional features.

Share this post


Link to post
Share on other sites
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

 

Share this post


Link to post
Share on other sites

Works OK here, Thanks for the programing

 

Any chance of thinking about monitoring a second unRaid Server on the same network

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

@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.....;)

Share this post


Link to post
Share on other sites

@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!

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


Copyright © 2005-2017 Lime Technology, Inc. unRAID® is a registered trademark of Lime Technology, Inc.