[Nut-upsdev] enumerating UPSes with upsc (was Re: [Nut-upsuser] SNMP/management front-ends)

Carlos Rodrigues carlos.efr at mail.telepac.pt
Tue Jan 2 22:05:10 CET 2007


On 1/2/07, Charles Lepple <clepple at gmail.com> wrote:
> The NUT protocol suppports enumerating UPSes, but this functionality
> is not currently in upsc. Does anyone have any objections to adding a
> "-l" option or similar to fetch this list via upsc?
>
> We could also emulate "finger" syntax, and use "upsc @hostname" for to
> list UPSes, but that syntax would be more appropriate for listing all
> variables from all UPSes (not listing only the names of the UPSes).

I think a "-l" option sounds good, better than just "@hostname".

As for "@hostname" listing all variables from all UPSes, I think
"*@hostname" would be a better choice (and it could even be extended
to support real pattern matching in the future, if the need arises).

-- 
Carlos Rodrigues



More information about the Nut-upsdev mailing list