Hello dear all, I try to use NUT for windows (not WinNUT), and stuck with launching NOTIFYCMD. On any event marked as SYSLOG+WALL+EXEC syslog entry appears, popup window appears, but NOTIFYCMD script doesn't run. If I run upsmon.exe in cmd (i. e. not as a service) everything works fine.
Here is my upsmon.conf: MONITOR [email protected] 1 user password slave MINSUPPLIES 1 SHUTDOWNCMD "C:\\NUT\\shutdown.bat" NOTIFYCMD "C:\\NUT\\shutdown.bat" POLLFREQ 5 POLLFREQALERT 5 HOSTSYNC 15 DEADTIME 15 POWERDOWNFLAG "C:\\killpower" NOTIFYMSG ONLINE ONLINE NOTIFYMSG ONBATT ONBATT NOTIFYMSG LOWBATT LOWBATT NOTIFYMSG FSD FSD NOTIFYFLAG ONLINE SYSLOG+WALL+EXEC NOTIFYFLAG ONBATT SYSLOG+WALL+EXEC NOTIFYFLAG LOWBATT SYSLOG+WALL+EXEC NOTIFYFLAG FSD SYSLOG+WALL+EXEC RBWARNTIME 43200 NOCOMMWARNTIME 300 FINALDELAY 5 I also tried NOTIFYCMD C:\\NUT\\shutdown.bat NOTIFYCMD "\"C:\\NUT\\shutdown.bat"" with no success. NUT 2.6.1-1 with replaced upsmon.exe from here: http://fbohe.free.fr/upsmon.exe. Windows 2003 R2 x64 Rusian. Master server is Debian Squeeze. Regards, Dmitry _______________________________________________ Nut-upsuser mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser

