Hi
Warning: This is a work in progress so comments welcome but try at own risk.
We have tried the following rpms on ver8 to load Powercom Vanguard UPS models. On the whole they work. Maybe these rpms could be of interest to other users whose UPS units are not supported by the current NUT 2.4 version
For i386 servers
nut-2.6.0-2geekery.i386.rpmnut-client-2.6.0-2geekery.i386.rpmpowerman-2.3.5-2geekery.i386.rpmFor X86_64
nut-2.6.0-2geekery.x86_64.rpmnut-client-2.6.0-2geekery.x86_64.rpmpowerman-2.3.5-2geekery.x86_64.rpmMake a copy of the /etc/e-smith/templates/etc/ups directory for reuse and modification.
You will need to uninstall existing nut rpms and also the e-smith-nut module (this one with --nodeps set)
Create new /etc/e-smith/templates/etc/ups templates as the newer NUT users different variables
nut.conf
ups.conf (same as e-smith-nut)
upsd.conf
LISTEN localhost 3493
LISTEN Your IP Address
Note accept and reject no longer used
upsd.users
[upsmaster]
password = from config db
upsmon master
[upsslave]
password = from config db
upsmon slave
NOTE Nut no longer users "allowfrom". It will stop the loading of nutmon
upsmon.conf (same as e-smith-nut)
upssched.conf (same as e-smith-nut)
config set ups nut service MasterPass (Set a password) Model usbhid-ups SlavePass (Set a password) TCPPort 3493 access private status enabled
check the usb rules
nano -w /etc/udev/rules.d/52-nut-usbups.rules
In our case we had to add the vanguard vid and pid
# PowerCOM VGD - Vanguard - usbhid-ups
SYSFS{idVendor}=="0d9f", SYSFS{idProduct}=="0004", MODE="664", OWNER="root", GROUP="uucp"
Then issue the following commands
udevcontrol reload_rules
udevtrigger
/etc/init.d/ups restart
Create a new link in rc7.d to start nut
ln -s /etc/init.d/ups /etc/rc7.d/S38nut
Our shortfall is getting the battery.voltage data but I believe it is an issue between Nut and Powercom. We do get enough to be useful. Feed back welcome.