Jump to content
SeeDrs

APCUPSD 3.14.10 Plugin for unRAID 5b11+

444 posts in this topic Last Reply

Recommended Posts

APCUPSD 3.14.10 Plugin

 

The plugin can be download from the Unraid Plugin Wiki Page: http://lime-technology.com/wiki/index.php?title=UnRAID_Plugins

 

  • Includes Clean Powerdown Script from unMENU.
  • Remove the .txt extension, copy to /boot/config/plugins and reboot or run "installplg /boot/config/plugins/apcupsd-3.14.10-i468-1atv.plg"
  • Settings can be configured under the Settings Tab.
  • On failure an email is sent to root.

 

Updates:

 

Oct 2, 2011

  • Change APCUPSD icon location to to Network Services section under Settings.

 

Oct 4, 2011

  • When reinstalling using installplg the files that need be updated will be deleted at the beginning of the installation, so there is no requirement to reboot.
  • Added /sbin/apcaccess output in the bottom of APCUPSD settings screen when APCUPSD is running.

 

Oct 10, 2011 -

  • Updated to apcupsd 3.14.10.
  • Converted apply script to php and allowed for more options/configuration.
  • Changed Icon.
  • Cleaned up/polished settings screen.
  • *Note* If you are upgrading from a previous version you will need to delete the following files manually. /boot/config/plugins/apcupsd/apcupsd.png,/boot/config/plugins/apcupsd/apply, and any old version of the plugin in /boot/config/plugins.  Also now that the apply script is written in PHP, it can handle blank fields better the a bash script, so you will have to change devices from none to blank on the settings page or manually editing /boot/config/plugins/apcupsd/apcupsd.cfg.
     

 

2011-10-12

  • 2atv-Beta1, implented slimmed down status info on top of screen. Needs some formatting/css work. Added abilited to show/hide full ups status
     
  • 2atv-Beta2, Added abilited to show/hide full ups status
     

 

2011-10-16

  • Added coloring to status info on top of page, thanks to speeding_ant
     

 

 

Share this post


Link to post

APCUPSD 3.14.8 Plugin

 

Includes Clean Powerdown Script.

 

Rename extention to .plg, copy to /boot/config/plugins and reboot or run "installplg /boot/config/plugins/apcupsd-3.14.8-i468-1a.plg"

 

Settings can be configured under the Settings Tab.

SeeDrs,

 

I am so glad you are able to leverage the work I did in unMENU in discovering how to install/configure apcupsd in unRAID.

 

Now, I suppose it is my turn to learn from you.  ;)

 

Joe L.

Share this post


Link to post

SeeDrs,

 

I am so glad you are able to leverage the work I did in unMENU in discovering how to install/configure apcupsd in unRAID.

 

Now, I suppose it is my turn to learn from you.  ;)

 

Joe L.

 

 

I don't think there is too much to learn from me. The plugin is just a conversion of the original unmenu plugin.  I probably couldn't of done it without your original work.

Share this post


Link to post

Hi

 

Thanks for the plugin.

 

But when installing the plugin there is this error: ->

 

file /boot/config/plugins/apcupsd/apcupsd.png: downloading from http://dl.dropbox.com/u/26185617/apcupsd.png ... bad download, deleting

 

And there is no access from the web page. Any thoughts?

 

 

 

Yes, i accentually delete the file out of my public folder on dropbox.  Its back now.

Share this post


Link to post

The status will now be displayed in the APCUPSD settings screen on the bottom when APCUPSD is running. You can get the update in the OP.

Share this post


Link to post

This plugin is working perfectly. Thanks!  :)

 

Your mysql and mailx plugins also installed correctly. More thanks!

Share this post


Link to post

Nice one! A few suggestions:

 

• Tidy up the name and icon. Find a nice UPS icon, call it APC UPS or something similar, makes it look nicer :)

• Email notifications, is this included? I haven't hooked up to UPS yet, it's on the way.

• Drop downs for any multiple choice inputs, eg dropdown for USB, Serial, etc.

 

Apart from a few house keeping things, looks good!

 

Cheers!

Share this post


Link to post

Nice one! A few suggestions:

 

• Tidy up the name and icon. Find a nice UPS icon, call it APC UPS or something similar, makes it look nicer :)

• Email notifications, is this included? I haven't hooked up to UPS yet, it's on the way.

• Drop downs for any multiple choice inputs, eg dropdown for USB, Serial, etc.

 

Apart from a few house keeping things, looks good!

 

Cheers!

 

It will send mail to root if there are any ups failures.  I'll see what I can do with your suggestions.

 

Thanks,

SeeDrs

Share this post


Link to post

Brilliant! Thanks for the update - tested on an APC SmartUPS, plug and play. Notifications work well.

 

Awesome!

 

More suggestions? Have ability to hide additional details, and perhaps provide a simple status over-view? Eg. On top of form, show:

 

If UPS Found:

 

APCUPSD: Running       Status: Battery/On Mains        Level: 80%/10%        Time Left: 50/5 Minutes

 

If not found:

 

APCUPSD: Running        Status: No ups found

 

If not running:

 

APCUPSD: Not Running

 

Let me know if you need any CSS resources for this. Happy to provide help for this plugin. You could even provide realtime information if that's your cup of tea.

 

Cheers!

Share this post


Link to post

Brilliant! Thanks for the update - tested on an APC SmartUPS, plug and play. Notifications work well.

 

Awesome!

 

More suggestions? Have ability to hide additional details, and perhaps provide a simple status over-view? Eg. On top of form, show:

 

If UPS Found:

 

APCUPSD: Running       Status: Battery/On Mains        Level: 80%/10%        Time Left: 50/5 Minutes

 

If not found:

 

APCUPSD: Running        Status: No ups found

 

If not running:

 

APCUPSD: Not Running

 

Let me know if you need any CSS resources for this. Happy to provide help for this plugin. You could even provide realtime information if that's your cup of tea.

 

Cheers!

 

I uploaded a "beta" version of the plugin to the original post, which contains the functionality changes you requested regarding showing a slimmed down version of the status on the top of the page.  I'm not good a making things look pretty, so I'll leave that up to you if you like.  Just upload your changes to this thread, then I'll test it out and post it in the OP.

Share this post


Link to post

Nice one - I'll see what I can do regarding "prettiness".

 

From what I've seen, this should be in the Wiki as the first and best Version 5 UPS plugin. Once sorted, definitely worth putting it in the User Customization thread. 

Share this post


Link to post

Nice one - I'll see what I can do regarding "prettiness".

 

From what I've seen, this should be in the Wiki as the first and best Version 5 UPS plugin. Once sorted, definitely worth putting it in the User Customization thread. 

 

Also, I'm still working on the showing/hiding of apcaccess output. I should have it done soon.

Share this post


Link to post

Nice one - I'll see what I can do regarding "prettiness".

 

From what I've seen, this should be in the Wiki as the first and best Version 5 UPS plugin. Once sorted, definitely worth putting it in the User Customization thread. 

 

 

I uploaded a new beta with the ability to toggle the Full UPS Status Display

 

Share this post


Link to post

Quick bug report, if it looses connection then the battery/time status is still there showing some crazy figures  :)

 

Thanks, I updated the file on the wiki to only display Time Left and Battery % when the status is equal to ONBATT or ONLINE.

 

 

Share this post


Link to post

The unMENU plugin used to send me an email yet when I lost power this time, I got no email.  For reference, I'm using SimpleFeatures' SMTP support and passing the UPS through on ESXi.  UPS is recognized and managed, just no emails on power loss.  I can't check the server now since the Northeast is still out of power, but has anyone else run into these issues?

Share this post


Link to post

Have you confirmed that SSMTP from SimpleFeatures is sending emails first? I've had zero issues with this plugin and SSMTP from SimpleFeatures (touch wood)

Share this post


Link to post

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.