ups.update

Update UPS Service Configuration.

powerdown when enabled, sets UPS to power off after shutting down the system.

nocommwarntime is a value in seconds which makes UPS Service wait the specified seconds before alerting that the Service cannot reach configured UPS.

shutdowntimer is a value in seconds which tells the Service to wait specified seconds for the UPS before initiating a shutdown. This only applies when shutdown is set to “BATT”.

shutdowncmd is the command which is executed to initiate a shutdown. It defaults to “poweroff”.

Type: object

Type: array
No Additional Items

Tuple Validation

Parameter 1: ups_update

ups_update

Type: object
No Additional Properties

Powerdown

Type: boolean

Rmonitor

Type: boolean

Nocommwarntime


Type: integer
Type: null

Remoteport

Type: integer

Value must be greater or equal to 1 and lesser or equal to 65535

Shutdowntimer

Type: integer

Hostsync

Type: integer

Value must be greater or equal to 0

Description

Type: string

Driver

Type: string

Extrausers

Type: string

Identifier

Type: string

Must be at least 1 characters long

Mode

Type: enum (of string)
Must be one of:
  • "MASTER"
  • "SLAVE"

Monpwd

Type: string

Must be at least 1 characters long

Monuser

Type: string

Must be at least 1 characters long

Options

Type: string

Optionsupsd

Type: string

Port

Type: string

Remotehost

Type: string

Shutdown

Type: enum (of string)
Must be one of:
  • "LOWBATT"
  • "BATT"

Shutdowncmd


Type: string
Type: null

UPSEntry

Type: object
No Additional Properties

Powerdown

Type: boolean

Rmonitor

Type: boolean

Id

Type: integer

Nocommwarntime


Type: integer
Type: null

Remoteport

Type: integer

Value must be greater or equal to 1 and lesser or equal to 65535

Shutdowntimer

Type: integer

Hostsync

Type: integer

Value must be greater or equal to 0

Description

Type: string

Driver

Type: string

Extrausers

Type: string

Identifier

Type: string

Must be at least 1 characters long

Mode

Type: enum (of string)
Must be one of:
  • "MASTER"
  • "SLAVE"

Monpwd

Type: string

Monuser

Type: string

Must be at least 1 characters long

Options

Type: string

Optionsupsd

Type: string

Port

Type: string

Remotehost

Type: string

Shutdown

Type: enum (of string)
Must be one of:
  • "LOWBATT"
  • "BATT"

Shutdowncmd


Type: string
Type: null

Complete Identifier

Type: string


Required roles: SYSTEM_GENERAL_WRITE