[Nut-upsuser] Tripplite SMX1500XLRT2U through serial

Roman Serbski mefystofel at gmail.com
Wed Oct 22 02:17:35 UTC 2008


On Tue, Oct 21, 2008 at 7:29 AM, Charles Lepple <clepple at gmail.com> wrote:
> 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.

Exactly. This values should be defined in /etc/rc.conf. Besides adding
nut_upslog_enable="YES" one should also add
nut_upslog_ups="tripplite at localhost", where "tripplite at localhost" is
the name at host you defined in upsmon.conf.

Regards,
Roman



More information about the Nut-upsuser mailing list