[Nut-upsuser] NOTIFYCMD not running
Michelle Dupuis
support at ocg.ca
Wed Jan 17 22:25:39 CET 2007
I have the nut package installed and running - everything perfect (or so I
thought). My syslog shows everything looks great, and pulling the UPS plug
for a few seconds triggers a WALL event, but not my notifycmd (which should
write a test message to syslog).
Can someone offer insight/ideas as to why my NOTIFYCMD is not running?
Thanks,
Michelle
-----------------------
Extract from messages showing everything seems to install ok: (note that I
use SNMP to access ups):
Jan 17 16:04:17 vmhost2 snmp-ups[6741]: Startup successful
Jan 17 16:04:17 vmhost2 upsd[6743]: Connected to UPS [upsmasonville]:
snmp-ups-42.31.244.8
Jan 17 16:04:17 vmhost2 upsd[6744]: Startup successful
Jan 17 16:04:17 vmhost2 upsmon[6747]: Startup successful
Jan 17 16:04:17 vmhost2 upsd[6744]: Connection from 127.0.0.1
Jan 17 16:04:17 vmhost2 upsd[6744]: Client monuser at 127.0.0.1 logged into UPS
[upsmasonville
--------------------------
When I pull the plug to simulate a failure I see;
Jan 17 16:05:57 vmhost2 upsmon[6748]: UPS upsmasonville at localhost on battery
Jan 17 16:05:57 vmhost2 wall[6755]: wall: user nutmon broadcasted 1 lines
(40 chars)
Jan 17 16:06:27 vmhost2 upsmon[6748]: UPS upsmasonville at localhost on line
power
Jan 17 16:06:27 vmhost2 wall[6762]: wall: user nutmon broadcasted 1 lines
(43 chars)
--------------------------
And my upsmon.conf has these settings (snipped):
NOTIFYCMD logger "upsmon: test running notify command"
NOTIFYFLAG ONLINE SYSLOG+WALL+EXEC
NOTIFYFLAG ONBATT SYSLOG+WALL+EXEC
NOTIFYFLAG LOWBATT SYSLOG+WALL+EXEC
NOTIFYFLAG FSD SYSLOG+WALL+EXEC
NOTIFYFLAG COMMOK SYSLOG+WALL+EXEC
NOTIFYFLAG COMMBAD SYSLOG+WALL+EXEC
NOTIFYFLAG SHUTDOWN SYSLOG+WALL+EXEC
NOTIFYFLAG REPLBATT SYSLOG+WALL+EXEC
NOTIFYFLAG NOCOMM SYSLOG+WALL+EXEC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20070117/6ef614af/attachment.htm
More information about the Nut-upsuser
mailing list