aramperes / nut-rs

rups: A Network UPS Tools (NUT) implementation in Rust.

Home Page:https://crates.io/crates/rups

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support `GET NUMLOGINS`

aramperes opened this issue · comments

https://networkupstools.org/docs/developer-guide.chunked/ar01s09.html

Form:
	GET NUMLOGINS <upsname>
	GET NUMLOGINS su700

Response:
	NUMLOGINS <upsname> <value>
	NUMLOGINS su700 1

<value> is the number of clients which have done LOGIN for this UPS. This is used by the master upsmon to determine how many clients are still connected when starting the shutdown process.