notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
non port: sysutils/nut/files/patch-docs_man_upslog.txt

Number of commits found: 2

Tuesday, 14 Nov 2023
20:08 Cy Schubert (cy) search for other commits by this committer
sysutils/nut: Update to 2.8.1
commit hash: f702184e22c59f90bf34c8032ae825f915eeecf7 commit hash: f702184e22c59f90bf34c8032ae825f915eeecf7 commit hash: f702184e22c59f90bf34c8032ae825f915eeecf7 commit hash: f702184e22c59f90bf34c8032ae825f915eeecf7 f702184
Tuesday, 30 Aug 2022
18:04 Cy Schubert (cy) search for other commits by this committer
sysutils/nut*: Add upslog support for multiple UPSs

upslog is a utility that logs UPS status at regular intervals, specified
by the -i option. Unfortunately upslog supports only on UPS. For sites
that need to monitor multiple UPSs the options are to cobble an rc script
for each or doctor up the nut_upslog.in script to support cloning of the
script. Unfortunately an rc script capable of being cloned would become
the source of more PRs and would require significanly more tehcnical
documentation that by itself might become confusing for the average
system administrator.

Therefore a new -m option is added to support multiple UPSs using the
same invocation of upslog. The patch parses a new -m option and using a
single connection to upsd, queries it for stats about multiple UPSs.

An rc.conf exemple of how to use this new feature:
nut_upslog_flags="-p /var/db/nut/upslog.pid -m ups1@localhost,/var/log/nut\
/ups1.log -m ups2@localhost,/var/log/nut/ups2.log"

PR:		265963
Reported by:	vvd@unislabs.com
commit hash: 9c4a120c36bfb61a307d04c843eeda4f3c43cf4c commit hash: 9c4a120c36bfb61a307d04c843eeda4f3c43cf4c commit hash: 9c4a120c36bfb61a307d04c843eeda4f3c43cf4c commit hash: 9c4a120c36bfb61a307d04c843eeda4f3c43cf4c 9c4a120

Number of commits found: 2