[Nut-upsuser] KIN-1500AP RM + Windows 2008 64-bit Standard R2 SP1 (nut 2.6.1)

Arnaud Quette aquette.dev at gmail.com
Sat Jul 23 01:18:22 UTC 2011


2011/7/19 Павел Гуменюк <pavel.gumenyuk at gmail.com>

> I have only RS-232 on the box (meanwhile, it was manufactured on march of
> 2011)
> Here is my configs:
>
> nut.conf:
> *
> *
> MODE = netserver
>
>
> ups.conf:
> *
> *
> [KIN1500]
>        driver = powercom
>        port = notUsed
>        desc = "Powercom KING PRO KIN-1500AP RM"
>
>
>
> upsd.conf:
> *
> *
> LISTEN 192.168.1.2 3493
>
>
>
> upsd.users:
> *
> *
> [monuser]
>                password = xxxxxxxx
>                upsmon master
>
>
>
> upsmon.conf:
> *
> *
> MONITOR KIN1500 at 192.168.1.2 1 monuser xxxxxxxx master
> MINSUPPLIES 1
> SHUTDOWNCMD "C:\\WINDOWS\\system32\\shutdown.exe -s -t 0"
> NOTIFYCMD /sbin/upssched
> POLLFREQ 5
> POLLFREQALERT 5
> HOSTSYNC 15
> DEADTIME 15
> POWERDOWNFLAG "C:\\killpower"
> NOTIFYFLAG ONLINE SYSLOG+WALL+EXEC
> NOTIFYFLAG ONBATT SYSLOG+WALL+EXEC
> NOTIFYFLAG LOWBATT SYSLOG+WALL+EXEC
> RBWARNTIME 43200
> NOCOMMWARNTIME 300
> FINALDELAY 5
>
>
>
> upssched.conf:
> *
> *
> CMDSCRIPT /bin/upssched-cmd
> AT ONBATT * START-TIMER   onbattwarn 10
> AT ONLINE * CANCEL-TIMER  onbattwarn
> AT LOWBATT * EXECUTE      lowbattwarn
> AT ONBATT * START-TIMER   timeshutdown 100
> AT ONLINE * CANCEL-TIMER  timeshutdown
>
>
> After start I can see couple neutral events:
> upsd.exe - listening on 192.168.1.2 port 3493.
> upsd.exe - User monuser at 192.168.1.2 logged into UPS [KIN1500].
>
> Also, there are a lot of errors, such as "upsmon - Poll UPS [
> KIN1500 at 192.168.1.2] failed - Data stale."
> Anybody, please advise how to get it works.
> Thanks
>

Fred (the Eaton guy that made the windows port) is still on holiday for a
week, but I'm sure he will be pleased to assist you when he's back.

AFAICT, your 'port' definition seems wrong, since powercom is a serial
driver (confirmed by your RS232 unit).
but I'm not sure about the exact value: windows style (ie COM1) or
linux/mingw style (/dev/ttyS0).
I would recommend to try both, in the above order.

the 'data stale' msg you're seeing are simply indication that the driver
failed to start (and there should be some notification in this case @Fred)

you may also start the driver alone, from a DOS shell, to see what's going
on:
$ /path/to/powercom.exe -DDD -a KIN1500

and report back your findings.

cheers,
Arnaud
-- 
Linux / Unix Expert R&D - Eaton - http://powerquality.eaton.com
Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/
Debian Developer - http://www.debian.org
Free Software Developer - http://arnaud.quette.free.fr/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20110723/5273d232/attachment.html>


More information about the Nut-upsuser mailing list