1DUMMY-UPS(8)                Network UPS Tools (NUT)               DUMMY-UPS(8)
2
3
4

NAME

6       dummy-ups - Driver for testing UPS software
7
8

SYNOPSIS

10       dummy-ups [port]
11
12

DESCRIPTION

14       This program looks like a standard UPS driver to upsd(8) and allows you
15       to set any value for testing  purposes.   It  is  interactive,  through
16       upsrw  command  or  equivalent  graphical  tool.  It can be configured,
17       launch and used as any other real driver.
18
19

ARGUMENTS

21       The port specify a definition file name for dummy-ups, located  in  NUT
22       "etc"  directory  (ie  /etc/nut,  /usr/local/ups/etc, ...).  This file,
23       generally named something.dev, contains a list of all  valid  data  and
24       associated  values, and has the same format as an upsc dump (<varname>:
25       <value>), so you can easilly create definition files from existing UPS.
26
27       With no arguments, dummy-ups will assume a port  name  of  "null",  and
28       will preload the following data:
29
30            driver.name              = dummy-ups
31            driver.version           = (varies)
32            driver.version.internal  = (varies)
33            ups.mfr                  = Dummy Manufacturer
34            ups.model                = Dummy UPS
35            ups.status               = OL
36
37       You can also add an entry in ups.conf(5), and run multiple instances if
38       needed.
39
40

INTERACTION

42       Once the driver is loaded, you can set any variables, except  those  of
43       the driver.* and server.* collections.
44
45

BACKGROUND

47       This driver was written in an evening to replace the previous dummycons
48       which required to work from a terminal to interact.
49
50       It is useful for NUT client development, and other testing purpose.
51
52

BUGS

54       Instant commands are not yet supported, and data  need  value  checking
55       enforcement, as well as boundaries or enumeration definition.
56
57
58

AUTHOR

60       Arnaud Quette
61
62

SEE ALSO

64       ups.conf(5) nutupsdrv(8)
65
66
67   Internet resources:
68       The NUT (Network UPS Tools) home page: http://www.networkupstools.org/
69
70
71
72                                Sat Jul 02 2005                   DUMMY-UPS(8)
Impressum