[Nut-upsdev] shut down smart ups with snmp protocol

Arjen de Korte nut+devel at de-korte.org
Tue Jun 9 14:35:51 UTC 2009


Citeren "mbedyn Gazeta.pl" <mbedyn op gazeta.pl>:

>> See 'man 8 snmp-ups'.
>
> I have read docs... and it stays that
>
> This driver has been tagged experimental, even if it has been  reported
> to  be stable. Thus it is not suitable for production systems and it is
> not built by default. This is mainly due to  the  fact  that  there  is
> still no proper upsdrv_shutdown() function implemented !

Well, that pretty much says it all, doesn't it?

Since you're writing to the development mailing list, we assume that  
you know that not having a upsdrv_shutdown() function in a driver  
pretty much means that you can't shut the UPS down via upsdrvctl and  
that you need to use an alternative way to send it a shutdown command.

> Maybe there is somebody who has done this before with this driver...

It can't be done. Upgrade to the latest version (nut-2.4.1) and you'll  
find that the man page for snmp-ups mentions why this will never be  
possible and what you might do about it.

Note that we don't backport changes to earlier versions, so if you  
have questions for development, make sure you're running at least the  
latest stable version (or better yet, the SVN trunk version). Older  
version might be supported through the nut-users mailing list.

Best regards, Arjen
-- 
Please keep list traffic on the list




More information about the Nut-upsdev mailing list