Skip to content

Version 2.0 Dated 7/26/2024

Latest
Compare
Choose a tag to compare
@wallacebrf wallacebrf released this 28 Jul 21:42
· 5 commits to main since this release
bd77d6f

Change log between version "1/11/2023" and version "7/26/2024"
->significant re-write of script to reduce code complexity and length. reduced code length by 312 lines while adding much more functionality.
->moved all email notifications to new function
->moved other commonly used code to functions
->added ability to decide if UPS shutdown is commanded when 1.) run time remaining only, 2.) time remaining only, 3.) run time remaining or battery voltage, 4.) time remaining or battery voltage, 5.) battery voltage only
->added ability to individually turn on/off load shedding of PDU, surveillance station, or PLEX
->added ability to control load shedding to be commanded when 1.) run time remaining only, 2.) time remaining only, 3.) run time remaining or battery voltage, 4.) time remaining or battery voltage, 5.) battery voltage only
->load shedding thresholds are independent of shutdown parameters to allow finer grain control of when load shedding occurs.
->added battery over temperature protection. if battery is too hot while on battery system will shut down
->added ability to enable or disable email notifications
->changed code to allow un-doing load shedding even after system restarts
->new email function can send emails using either "sendmail" command or the "ssmtp" command
->added logic to verify the UPS NMC outlet group load shedding settings to make sure the UPS will not turn off its outlet groups before this script. otherwise the UPS will turn off the system in an uncontrolled manner
->now use higher precision battery voltage, temperature, and capacity with tenth's digit accuracy
->corrected error in DSM7 where docker is now called container manager
->added logic to determine DSM version to control the script's use of "docker" or "container manager"