Re: [Nut-upsuser] Sweex 1000VA UPS

2006-11-09 Thread Arjen de Korte
radius1:/etc/nut# /lib/nut/genericups -a ups_name Network UPS Tools - Generic UPS driver 1.30 (2.0.1) No upstype set - see help text / man page! The last line should ring a bell, don't you think so? radius1:/etc/nut# /lib/nut/genericups upstype=7 -a ups_name Network UPS Tools - Generic UPS

[Nut-upsuser] Fwd: UPSD filling message log

2006-11-09 Thread John Crisp
I have NUT installed and running quite happily with a APC Smart 1000 UPS on a CENTOS4 based SME V7 server (www.smeserver.org) Installed versions are as follows : nut-client-2.0.3-pre2_sme6 nut-2.0.3-pre2_sme6 I realise these are not the latest versions but everything is fine apart from

Re: [Nut-upsuser] Sweex 1000VA UPS

2006-11-09 Thread YvesDM
On 11/9/06, Arjen de Korte [EMAIL PROTECTED] wrote: radius1:/etc/nut# /lib/nut/genericups -a ups_name Network UPS Tools - Generic UPS driver 1.30 (2.0.1) No upstype set - see help text / man page!The last line should ring a bell, don't you think so? Yes so I've tried man nut :-) Honestly, you

Re: [Nut-upsuser] Sweex 1000VA UPS

2006-11-09 Thread YvesDM
PS Some logfiles from the instant shutdowns:The ups was NOT running on battery power. Nov 9 14:37:16 radius1 genericups[1640]: Startup successfulNov 9 14:37:16 radius1 upsd[1641]: /etc/nut/upsd.conf is world readable Nov 9 14:37:16 radius1 upsd[1641]: Connected to UPS [ups_name]:

Re: [Nut-upsuser] Sweex 1000VA UPS

2006-11-09 Thread Arjen de Korte
[ups_name] driver = genericups upstype = 7 port = /dev/ttyS0 desc = Sweex 1000VA UPS Ok, I tried this. The driver was loaded and. the server shutdown immediately. Lesson #1: Always first test whether the driver is producing good results (you must be able to read the

Re: [Nut-upsuser] Sweex 1000VA UPS

2006-11-09 Thread Udo van den Heuvel
YvesDM wrote: On 11/8/06, *Udo van den Heuvel* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Try Powermust. radius1:/etc/nut# cat ups.conf # Network UPS Tools: example ups.conf # user = nut [ups_name] driver = powermust port = /dev/ttyS0 desc =

Re: [Nut-upsuser] Sweex 1000VA UPS

2006-11-09 Thread Udo van den Heuvel
YvesDM wrote: So what is your upsdrvctl problem? Are we talking the same UPS here? I have a Sweex, 800VA or so? If yes, I wish I knew ! Maybe try the source to see what the function does that is mentioned in the error? ___ Nut-upsuser

Re: [Nut-upsuser] Sweex 1000VA UPS

2006-11-09 Thread Arjen de Korte
YvesDM wrote: Are you absolutely sure that the UPS is connected to /dev/ttyS0? For 'upstype=7' the signals for 'on battery' and 'low battery' are -CTS and -DCD (both zero). I wouldn't be surprized at all if this is the same as nothing connected to the port you're monitoring

Re: [Nut-upsuser] Sweex 1000VA UPS

2006-11-09 Thread YvesDM
On 11/9/06, Arjen de Korte [EMAIL PROTECTED] wrote: YvesDM wrote: Are you absolutely sure that the UPS is connected to /dev/ttyS0? For 'upstype=7' the signals for 'on battery' and 'low battery' are -CTS and -DCD (both zero). I wouldn't be surprized at all if this is the same as nothing connected