Ian Wells
2011-Sep-02 10:09 UTC
[Nut-upsuser] NUT 2.6.1+ Windows 2008 R2 - NOTIFYCMD not being called
Hi All, I'm using a recent post 2.6.1 build provided by Fred (executables have modified date of 9th August) I have configured upsmon.conf with :- NOTIFYCMD C:\NUT\etc\NotifyCmd.bat and :- NOTIFYFLAG ONLINE SYSLOG+EXEC NOTIFYFLAG ONBATT SYSLOG+EXEC NOTIFYFLAG LOWBATT SYSLOG+EXEC NOTIFYFLAG FSD SYSLOG+EXEC NOTIFYFLAG COMMOK SYSLOG+EXEC NOTIFYFLAG COMMBAD SYSLOG+EXEC NOTIFYFLAG SHUTDOWN SYSLOG+EXEC NOTIFYFLAG REPLBATT SYSLOG+EXEC NOTIFYFLAG NOCOMM SYSLOG+EXEC NOTIFYFLAG NOPARENT SYSLOG+EXEC When a notify event occurs, such as when I pull the plug on the UPS, the appropriate message _is_ logged in the event logs, but the batch file is _not_ being called. Do I need to dosomething more to enable this? Thanks in advance, Ian Wells -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20110902/3dae25c0/attachment.html>
Jon Bendtsen
2011-Sep-02 10:25 UTC
[Nut-upsuser] NUT 2.6.1+ Windows 2008 R2 - NOTIFYCMD not being called
On 02/09/2011, at 12.09, Ian Wells wrote:> > Hi All, > > I?m using a recent post 2.6.1 build provided by Fred (executables have modified date of 9th August)[cuuuut]> When a notify event occurs, such as when I pull the plug on the UPS, the appropriate message _is_ logged in the event logs, but the batch file is _not_ being called. > > Do I need to dosomething more to enable this?Does it have execute permissions ? JonB
Frédéric Bohé
2011-Sep-02 11:25 UTC
[Nut-upsuser] NUT 2.6.1+ Windows 2008 R2 - NOTIFYCMD not being called
On Fri, 2011-09-02 at 03:09 -0700, Ian Wells wrote:> Hi All, > > > > I?m using a recent post 2.6.1 build provided by Fred (executables have > modified date of 9th August) > > > > I have configured upsmon.conf with :- > > > > NOTIFYCMD C:\NUT\etc\NotifyCmd.batTry: NOTIFYCMD C:\\NUT\\etc\\NotifyCmd.bat And if it doesn't work: NOTIFYCMD "C:\\NUT\\etc\\NotifyCmd.bat" (For the record, this is explained in chapter 6.1 of the user-manual.) Regards, Fred> > > > and :- > > > > NOTIFYFLAG ONLINE SYSLOG+EXEC > > NOTIFYFLAG ONBATT SYSLOG+EXEC > > NOTIFYFLAG LOWBATT SYSLOG+EXEC > > NOTIFYFLAG FSD SYSLOG+EXEC > > NOTIFYFLAG COMMOK SYSLOG+EXEC > > NOTIFYFLAG COMMBAD SYSLOG+EXEC > > NOTIFYFLAG SHUTDOWN SYSLOG+EXEC > > NOTIFYFLAG REPLBATT SYSLOG+EXEC > > NOTIFYFLAG NOCOMM SYSLOG+EXEC > > NOTIFYFLAG NOPARENT SYSLOG+EXEC > > > > When a notify event occurs, such as when I pull the plug on the UPS, > the appropriate message _is_ logged in the event logs, but the batch > file is _not_ being called. > > > > Do I need to dosomething more to enable this? > > > > Thanks in advance, > > Ian Wells > > > _______________________________________________ > Nut-upsuser mailing list > Nut-upsuser at lists.alioth.debian.org > http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser-- Team Open Source Eaton - http://powerquality.eaton.com --------------------------------------------------------------------------