Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: Smitro on March 24, 2005, 08:12:59 AM
-
Hi,
I just went out and bought myself a small Opti UPS for my SME server. It has software that comes with it if you wanted to monitor it for just about every OS. I noticed that there are a couple of packages for UPS's. The Output on this UPS is a standard RS232. Are all outputs on UPS's the same. Can I use software writen for other UPS's on this one?
If so, what package do you recommend on SME 6.5?
It's an Opti-UPS 575C. (www.opti-ups.com)
-
Ok, I have done a little more research on the net and found that no, they are not all created equal. So I guess I'll have to go without unless some one has created something already. If some one was interested in creating something for SME then I can send them the Linux files but no biggy. I'll get over it.
-
You have a couple of choices.
Nut comes with sme 6,x, search these forums fro coonfiguration info, there were a number of posts covering this in 2004. Also supports USB UPS's.
Powstatd which can be configured for just about any UPS with a serial port.
http://mirror.contribs.org/smeserver/contribs/rmitchell/smeserver/howto/powstatd%20HOWTO%20for%20sme%20server.htm
-
Has any one got powstatd installed, it says in the how to that after you have finished installing the RPM's check the readme to see if your UPS is supported.
Can some one tell me if my UPS is listed.
The file will be found here:
/usr/share/doc/e-smith-powstatd-0.1.0/README
Thanks.
-
Smitro
> Can some one tell me if my UPS is listed.
> The file will be found here:
> /usr/share/doc/e-smith-powstatd-0.1.0/README
Are you that lazy ? Do it yourself.
Logon as root and do
/usr/share/doc/e-smith-powstatd-0.1.0
pico README
The point is that even if your UPS is not listed you can run a few tests to determine what settings to use.
The HOWTO describes this in quite some detail.
I'm sure powstatd is running on many systems.
The HOWTO also goes on to say:
If your UPS is listed above or in the README, run the command as shown to modify the sme database for your UPS configuration - if it's not then use a config that is close for testing. eg
/sbin/e-smith/db configuration set powstatd service status enabled \
watch ttyS0 init0 rts init1 dtr fail dsr,0 kill rts,1 low cts,0
Note: get your com port right (com1=ttyS0, com2=ttyS1)
to activate this config do
/sbin/e-smith/expand-template /etc/powstatd.conf
If your config is wrong then the initial power-on state will report FAIL or LOW. No problem - we can now modify the config and test again.
When you are happy with your settings and ready to set powstatd and your UPS working on a live server
-
That should have said
Are you that lazy ? Do it yourself.
Logon as root and do
cd /usr/share/doc/e-smith-powstatd-0.1.0
pico README