On 07/13/2016 10:02 AM, Stuart Gathman wrote: > On 07/13/2016 04:17 AM, Dmitri Stepanov wrote: >> I need to shutdown a number of hosts which has not NUT from one which has >> it. > Let's make sure you are not missing an obvious point. By "has not NUT", > you might mean not running upsd. The best practice is to run upsmon on > the other hosts. This does not require running NUT proper (server). Is > there some reason why you can't run upsmon on the other hosts? > Typically, upsd and drivers are packaged as something like "nut-server", > whereas upsmon is packaged as "nut-client". If you truly can't run upsmon, then you can speak the upsd protocol directly over tcp. For an example non-nut implementation, look at the "check_ups" plugin for nagios. It queries a NUT server for basic information, including whether it is on battery.
_______________________________________________ Nut-upsuser mailing list Nut-upsuser@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser