My upssched.conf:
PIPEFN /var/db/nut/upssched/upssched.pipe
LOCKFN /var/db/nut/upssched/upssched.lock
I'm sure you've checked permissions already, but what does "ls -alF
/var/db/nut/upssched" report?
Roger
___
Nut-upsuser mailing list
Nut-upsuse
> What about if you use the full path for mail? I don't know about the
> environment used - if it is very restrictive the mail executable might not be
> found.
>
I can 'su' to the FreeBSD nutuser, uucp, and execute the upssched-cmd script
upsbatt argument with that username. Mail from uucp gets
On 05/01/2013, at 1:23, Thomas Laus wrote:
> I want to send an email to my cellphone only for significant UPS events that
> involve starting the generator and want to ignore short duration events.
>
> My upssched.conf:
>
> CMDSCRIPT /usr/local/bin/upssched-cmd
> PIPEFN /var/db/nut/upssched/ups
On Fri, 4 Jan 2013, Thomas Laus wrote:
My CMDSCRIPT /usr/local/bin/upssched-cmd:
#!/bin/sh
case $1 in
upsbatt)
echo "The UPS has been on battery for awhile" \
| mail -s"UPS monitor" me@testhost.local
;;
...
..., but no email was generated
Group:
The Background:
I maintain the network hardware for a county government building that is un-
occupied except for weekday dayshift. The building is located in an older
section of town and the electric service has components that are nearing
their 100 year lifetime. The building has UPS
5 matches
Mail list logo