Skip to content

nut

NUT

Displays information about UPSes connected to a Network Ups Tools server.

PARAMETER DESCRIPTION
title

if not set or null defaults to ups name if upsname is set

TYPE: str DEFAULT: None

host

NUT server IP or FQDN

TYPE: str DEFAULT: 'localhost'

port

NUT server port

TYPE: int DEFAULT: 3493

upsname

UPS name, if not set or null all UPSes will be shown

TYPE: str DEFAULT: None

username

NUT username

TYPE: str DEFAULT: None

password

NUT password

TYPE: str DEFAULT: None

timeout

Connection timeout seconds

TYPE: int DEFAULT: 30

bars

whether to show status bars on 1 or 2 lines or automatically ('auto', 0)

TYPE: Literal['auto', 0, 1, 2] DEFAULT: 0

**kwargs

TYPE: Any DEFAULT: {}