queequeg says hi. :) I am trying to set a UPS variable, specifically outlet.1.delay.shutdown I've been all over the online docs. I have found the full listing of the various variables that I can set. I've read the page that says, ..................... C. NUT command and variable naming scheme This is a dump of the standard variables and command names used in NUT. Don?t use a name with any of the dstate functions unless it exists here. If you need a new variable or command name, contact the Development Team first. Put another way: if you make up a name that?s not in this list and it gets into the tree, and then we come up with a better name later, clients that use the undocumented variable will break when it is changed. ...................... The question I have is, how do I set the outlet.1.delay.shutdown variable to the value I want? Am I missing something obvious in the docs? Does it go into one of the config files? Do I have to run a separate program? Thanks in advance.
On Aug 10, 2012, at 1:21 PM, Mike. wrote:> I am trying to set a UPS variable, specifically outlet.1.delay.shutdownYou need upsrw: http://www.networkupstools.org/docs/man/upsrw.html Unlike upsc, you will also need to define a NUT user/password pair in upsd.users which has permissions to write variables ("actions = set"): http://www.networkupstools.org/docs/man/upsd.users.html Let us know if you have any further questions. -- Charles Lepple clepple at gmail
On 8/10/2012 at 4:53 PM Charles Lepple wrote:
|On Aug 10, 2012, at 1:21 PM, Mike. wrote:
|
|> I am trying to set a UPS variable, specifically
outlet.1.delay.shutdown
|
|You need upsrw: http://www.networkupstools.org/docs/man/upsrw.html
|
|Unlike upsc, you will also need to define a NUT user/password pair in
|upsd.users which has permissions to write variables ("actions =
set"):
|http://www.networkupstools.org/docs/man/upsd.users.html
|
|Let us know if you have any further questions.
|
|--
|Charles Lepple
|clepple at gmail
============
Thanks for the quick reply. That man page looks like all I need.
If I may suggest that a quick reference to the upsrw man page be placed
somewhere on the
http://www.networkupstools.org/docs/user-manual.chunked/ar01s08.html#_n
ut_outlet_data_collection
page because "[t]his chapter introduces how to manage outlets in
general, and how to take advantage of the provided features." Such a
reference would have been very helpful.
Thanks again for the assist.
Mike.