Posted by jpluimers on 2016/08/24
I tried updating my downloads for my APC7920 and APC7921 PDUs.
I knew the APC download site http://www.apc.com/nl/en/tools/download/index.cfm was slow and navigation unfriendly (lots of
ERR_CACHE_MISS as you cannot ctrl-click on downloads), but it’s also buggy: Some of the ftp download URLs do not contain the authentication and one file would not download at all.
The solution for that is to prepend the credentials as username:password@ like these URLs where each first one is generated by the download site and each second one works:
The username is
restrict and the password
Kop$74! which requires single quotes on the command-line to prevent parameter and event expansion.
Otherwise you will get
bash errors like these:
event not found for the part starting with an exclamation mark and
Login incorrect. for the parts having a dollar.
One file would not download at all:
ftp://ftp.apc.com/apc/public/software/pnetmib/mib/417/powernet417 as all download attempts would time out:
- Chrome with and without username:password@ (you will get a
- wget with and without username:password@ (it will result in a
- plain curl with and without username:password@ (it will result in a
curl: (28) Timeout was reached)
The only command that would work was this:
curl -G ftp://ftp.apc.com/apc/public/software/pnetmib/mib/417/powernet417.mib > powernet417.mib
via: SimplicityGuy/pynoc – Travis CI
The trick is to:
- leave username and password away
- specify the -G (or –get) parameter forcing GET behaviour (which should be the default).
I’m not sure why it works, but it does.
Posted in *nix, APC Smart-UPS, cURL, Power User, UPS | Leave a Comment »
Posted by jpluimers on 2016/08/22
via Download Beyond Compare I found out about this new update:
22.214.171.12429 – AUGUST 19, 2016
- Text Merge output files will now be written using file format external conversion settings.
- Various fixes and improvements.
- Upgraded 7-zip libraries to 16.02 to fix code execution vulnerability in UDF (.img, .iso) decoder (CVE-2016-2334 and CVE-2016-2335).
- Windows: Added support for PKZip v1 legacy compression algorithms (Implode, Reduce, Shrink).
- Fixed support for Unicode paths and filenames on SharePoint WebDAV servers.
- Fixed support for connecting to Amazon S3 buckets in the eu-west-1 region that were created in 2013 and earlier.
- Fixed resource leak when uploading/downloading from Microsoft OneDrive.
- Windows: “Open With” for WebDAV profiles now passes http:// URLs to the requested application instead of BC-specific profile: ones.
- Improved error message if an S3 bucket is stored in an unrecognized AWS region.
- Fixed loading WebDAV folder listings that include empty getcontentlength entries.
/fileviewer= switch to use fixed English phrases instead of translated strings.
- OS X/Linux: Fixed importing file formats with external helper executables.
- Fixed loading .docx files that have been modified using MiniZip.
- “Save File Using Profile” now handles “Editing disabled” just like “Save File on File System As” does.
- Changed button caption in “Save Changes?” confirmation dialog from “Save None” to “Discard All”.
- .msi packages now use SHA-256 code signing signatures instead of SHA-1 ones.
- Fixed support for scrolling using laptops/tablets with precision touchpads (.e.g, Surface Pro).
- OS X: Fixed support for Beyond Compare “Services” menu extensions in apps other than Finder.
- Added Japanese as an official language.
- Time limited license keys now show a warning on the Home view when close to the expiration, and show the expiration date in the About dialog.
- Improved appearance of Options dialog and Home view for themes with dark backgrounds.
- Fixed Picture Compare Report to use printer DPI instead of screen DPI.
- Fixed Picture Compare Report handling of empty comparison.
- Fixed plain text output of right justified text.
- Fixed plain text output handling of gap lines.
- Fixed Table Compare plain text output of interleaved headers.
- Fixed performance regression introduced in 4.1.4.
- Windows: Fixed displaying emoji characters when “Enable font linking in editors” is enabled.
- Linux: Fixed slow performance when long lines are visible.
- Output files will now be written using file format external conversion settings.
- Windows: Fixed crash when opening a file on 64-bit Windows.
- Windows: Fixed crash when opening Options dialog to Tweaks panel while DisableCheckForUpdates registry tweak is active.
Posted in Beyond Compare, Power User | Leave a Comment »
Posted by jpluimers on 2016/08/22
I’ve had a SUA3000XLI for years using the USB cable and default Windows support as PowerChute Personal Edition would fail to recognise it and abort installation (so I could not use APC drivers as described on youtube).
A while ago, Liander – the energy distribution company – wanted to replace both the gas and electricity meters to become “smart” during day time. The server configuration load was heavy enough for Windows to indicate the UPS would last about 30 minutes. At night that’s not much of a problem but during 1 hour replacement day-time it would be a problem.
So I bought a SUA48XLBP battery pack (and a SUA039 cable as the cable wasn’t long enough to keep an inch or so air space between UPS and battery pack) so the battery would last about 3 times as long.
Windows would still show it would last about 30 minutes. Strange. So I started looking around and it appeared the SUA3000XLI needed calibration which requires PowerChute. Since PowerChute won’t work, I was almost back at square 1. Almost, as I know knew it required calibration.
In the past I had come across apcupcd but that was a long time ago when it supported a limited set of operating systems and a limited set of features so I never installed it.
But when searching how to calibrate the without using PowerChute, it quickly appeared that the apctest part of apcupsd can do just that: soft calibrate the UPS/battery combo. There are some steps and prerequisites (the most important ones are to turn off the apcupsd and provide enough load and 100% battery charge at start).
Spoiler: the combined UPS/battery-pack now lasts for almost 2 hours which is long enough.
I’m describing this from a Windows perspective and it’s dead easy:
- download the latest release
- run the installer
- allow the driver to be installed
- indicate it’s OK to install an unsigned driver
- now Windows won’t recognise the UPS any more, but in a few steps the apcupsd and helper program will
- update the configuration file (no changes needed when it’s a USB connected one)
- wait for the service to start
- wait for the apctray helper program to start
- look in the “system tray” for apctray helper program icon
- optionally configure your system to auto-start apctray after logon
The USB connection to the UPS delivers slightly less options than using a serial cable
Using a serial cable instead of a USB one
Read the rest of this entry »
Posted in APC Smart-UPS, apcupsd, ESXi5, ESXi5.1, ESXi5.5, ESXi6, Power User, UPS, Virtualization, VMware, VMware ESXi, Windows, Windows 10, Windows 7, Windows 8, Windows 8.1, Windows 9, Windows Server 2003, Windows Server 2003 R2, Windows XP | 1 Comment »