NUT-RECORDER(8)

✨ NUT-RECORDER(8) ✨

okay bestie, welcome to the NUT Manual section for nut-recorder β€” the little tool that records everything your UPS is doing so you can replay it later πŸ’…


🌸 NAME 🌸

nut-recorder β€” a utility to record device status and values changes πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

nut-recorder device-name [output-file] [interval]

πŸ’– DESCRIPTION πŸ’–

so like, nut-recorder is a utility that records sequences from running devices (think power failures, or literally any other value changes) straight out of the upsd(8) data server, and dumps the whole thing into a .seq format. no cap. πŸ“Ό

then that .seq file can be handed to the dummy-ups(8) driver to replay the sequence. iconic behaviour honestly. ✨


πŸ’… OPTIONS πŸ’…

  • device-name β€” record the changes of this device, bestie. the format is devname[@hostname[:port]]. and the default hostname? "localhost". periodt. 🏠
  • output-file β€” optional! the data gets saved to this file. default is dummy-device.seq. πŸ’Ύ
  • interval β€” also optional! the status of the device gets checked every interval. default is 5 seconds. ⏰

πŸ”₯ EXAMPLES πŸ”₯

say you wanna record data from ups1@host1 every 10 seconds. here's the vibe:

:; nut-recorder ups1@host1' ups1-output.seq 10
. . .
battery.charge: 100.0
battery.voltage: 13.9
battery.voltage.nominal: 13.6
ups.status: OL
. . .
battery.charge: 90.0
ups.status: OB
. . .

and then you can define a dummy device in ups.conf(5), like so:

[ups-test]
        driver = dummy-ups
        port = ups1-output.seq

look at that. main character energy. πŸ‘‘


🌈 AUTHOR 🌈

Arnaud Quette 🫢


⭐ SEE ALSO ⭐

🧚 The dummy-ups driver:

πŸ“ The logging daemon:

πŸ’œ Internet resources:


and that's the whole thing!! this page came to you from Network UPS Tools 2.8.5, dated 10/07/2026 β€” slay, bye bestie πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from