[Nut-upsuser] Tripplite SMX1500XLRT2U through serial

Charles Lepple clepple at gmail.com
Tue Oct 21 02:29:58 UTC 2008


On Wed, Oct 1, 2008 at 7:30 AM, Roman Serbski <mefystofel at gmail.com> wrote:
> %tail /var/log/ups.log
> 20081001 170732 NA NA NA [NA] NA NA
> 20081001 171232 NA NA NA [NA] NA NA
> 20081001 171732 NA NA NA [NA] NA NA

Sorry that this got pushed to the back burner.

Have you set the nut_upslog_ups variable for the nut_upslog script? If
you don't get any output from upslog, but you see normal stats from
upsc, then upslog could be pointing to the wrong UPS. Here is the top
of that file:

# Define these nut_upslog* variables in one of these files:
#       /etc/rc.conf
#       /etc/rc.conf.local
#       /etc/rc.conf.d/nut_upslog
#
# DO NOT CHANGE THESE DEFAULT VALUES HERE
#
nut_upslog_enable=${nut_upslog_enable-"NO"}
nut_upslog_prefix=${nut_upslog_prefix-"%%PREFIX%%"}
nut_upslog_logfile=${nut_upslog_logfile-"/var/log/ups.log"}
nut_upslog_interval=${nut_upslog_interval-"300"}
nut_upslog_ups=${nut_upslog_ups-"myups at localhost"}

For the non-FreeBSD users in the audience, this is not shipped with
the NUT tarball, but rather included in the *BSD ports collection.

-- 
- Charles Lepple



More information about the Nut-upsuser mailing list