2011/7/19 Павел Гуменюк <[email protected]> > 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 [email protected] 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 [email protected] logged into UPS [KIN1500]. > > Also, there are a lot of errors, such as "upsmon - Poll UPS [ > [email protected]] 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/
_______________________________________________ Nut-upsuser mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser

