[Nut-upsdev] enumerating UPSes with upsc (was Re: [Nut-upsuser]
SNMP/management front-ends)
Daniel O'Connor
doconnor at gsoft.com.au
Wed Jan 3 03:12:44 CET 2007
On Wednesday 03 January 2007 08:59, Charles Lepple wrote:
> you're suggesting that @hostname return all variables from all UPSes,
> right?
No, I'm suggesting it returns all the UPSs on a particular hostname.
> One thing that occurred to me after suggesting that syntax is that the
> results would all run together.
Yes this would be suboptimal behaviour :)
> If 'upsc -l host' lists the available UPSes, it is trivial (even in
> shell scripting) to iterate over the results, and run "upsc $ups at host"
> on each UPS. IMHO, it keeps the parsing simple.
I am suggesting @hostname be an alias for -l hostname.
However since I'm not writing it my opinion counts for little 8-)
--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
-- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/nut-upsdev/attachments/20070103/c58621c2/attachment.pgp
More information about the Nut-upsdev
mailing list