nut-recorder man page on Mageia

Man page or keyword search:  
man Server   17783 pages
apropos Keyword Search (all sections)
Output format
Mageia logo
[printable version]

NUT-RECORDER(8)			  NUT Manual		       NUT-RECORDER(8)

NAME
       nut-recorder - utility to record device status and values changes

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

DESCRIPTION
       nut-recorder is an utility to record device running sequence (Ie power
       failures or any other change) through a NUT data server, and dump it in
       a .seq format.

       The .seq file can then be used by the dummy-ups(8) driver to replay the
       sequence.

OPTIONS
       device-name
	   Record the changes of that device. The format for this option is
	   devname[@hostname[:port]]. The default hostname is "localhost".

       output-file
	   Optional. Data will be saved to this file. The default is
	   dummy-device.seq.

       interval
	   Optional. The status of the device will be checked every interval.
	   The default is 5 seconds.

EXAMPLES
       To record data from ups1@host1 every 10 seconds:

	   $ 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
	   . . .

       You can then define a dummy device in ups.conf(5):

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

AUTHOR
       Arnaud Quette

SEE ALSO
       dummy-ups(8)

INTERNET RESOURCES
       The NUT (Network UPS Tools) home page: http://www.networkupstools.org/

Network UPS Tools		  08/07/2012		       NUT-RECORDER(8)
[top]

List of man pages available for Mageia

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net