Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: andreasantini on June 01, 2012, 05:58:48 PM

Title: NUT config UPS HP T750 G2
Post by: andreasantini on June 01, 2012, 05:58:48 PM
Hi everybody,
I try to configure an UPS HP T750 G2 using NUT on Sme Server 7.6.
I connect my UPS with USB cable and in dmesg I read:

..................................

Initializing USB Mass Storage driver...
scsi4 : SCSI emulation for USB Mass Storage devices
USB Mass Storage device found at 3
USB Mass Storage support registered.
hiddev96: USB HID v1.11 Device [Hewlett-Packard  HP T750  G2  UPS] on usb-0000:00:1a.0-1.5

I start NUT using:

config setprop nut status enabled
signal-event post-upgrade
signal-event reboot

Every five minutes I receive an email says:

UPS UPS@localhost is unavailable

With the command :
config show nut
I obtain:
nut=service
MasterPass= 14274347197847
Model=usbhid-ups
SlavePass= 71628026094078
status=enable

Anyone knows how to configure it?

Tks
Andrea
Title: Re: NUT config UPS HP T750 G2
Post by: p-jones on June 02, 2012, 12:26:09 AM
I think you may find that you need a more recent version of NUT than what is in SME to get that UPS working.

NUT in SME is V2.2 however it is currently up to V2.6

http://blog.gmane.org/gmane.comp.monitoring.nut.devel/month=20101101

Title: Re: NUT config UPS HP T750 G2
Post by: chris burnat on June 02, 2012, 01:45:35 AM
This may help, not sure:
http://bugs.contribs.org/show_bug.cgi?id=4447
Title: Re: NUT config UPS HP T750 G2
Post by: janet on June 02, 2012, 02:42:38 AM
andreasantini

More specifically
http://bugs.contribs.org/show_bug.cgi?id=6625#c5
Make sure you read the whole bug report
Title: Re: NUT config UPS HP T750 G2
Post by: andreasantini on June 06, 2012, 03:52:12 PM
I not an expert user.
Can you tell me how to install a new version of nut?
I have always used a SME Software update to install a new software.
I never tried manually to install another software.
Tks.
Andrea
Title: Re: NUT config UPS HP T750 G2
Post by: janet on June 06, 2012, 06:23:22 PM
andreasantini

Don't be lazy, if you read the link and the whole bug report it tells you
ie
nut 2.6 rpms, suitable for SME8, posted at:
http://charliebrady.org/nut-2.6.0/

Dowload rpm to a folder on your server, then cd to that folder and install as per the link given in earlier post
ie
rpm -Uvh ..........