Charles Lepple
2014-Jan-21 13:51 UTC
[Nut-upsuser] Shutdown when both (all) UPS on battery / low battery
On Jan 21, 2014, at 8:05 AM, Rafa? Oleszek wrote:> MONITOR UPS_251 at localhost 2 monmaster password master > MONITOR UPS_252 at localhost 2 monmaster password masterI think the "2"s here should be "1". "powervalue is an integer representing the number of power supplies that the UPS feeds *on this system*." So if UPS_251 is connected to one power supply on the system running upsmon, and UPS_252 is connected to another, then each powervalue is 1.> MINSUPPLIES 2Or you could change this to 4, but that masks what is actually going on. -- Charles Lepple clepple at gmail
Rafal Oleszek
2014-Jan-21 14:24 UTC
[Nut-upsuser] Shutdown when both (all) UPS on battery / low battery
I tried all options: 1,2 and in MINSUPPLIES: 1,2,3,4 still didn't work. UPS_251 and UPS_252 feeds all environment and it's not feed directly one server, but many of them.> On Jan 21, 2014, at 8:05 AM, Rafa? Oleszek wrote: > >> MONITOR UPS_251 at localhost 2 monmaster password master >> MONITOR UPS_252 at localhost 2 monmaster password master > > I think the "2"s here should be "1". > > "powervalue is an integer representing the number of power supplies that > the UPS feeds *on this system*." > > So if UPS_251 is connected to one power supply on the system running > upsmon, and UPS_252 is connected to another, then each powervalue is 1. > >> MINSUPPLIES 2 > > Or you could change this to 4, but that masks what is actually going on. > > -- > Charles Lepple > clepple at gmail > > > > > _______________________________________________ > Nut-upsuser mailing list > Nut-upsuser at lists.alioth.debian.org > http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser
Charles Lepple
2014-Jan-23 00:58 UTC
[Nut-upsuser] Shutdown when both (all) UPS on battery / low battery
On Jan 21, 2014, at 9:24 AM, Rafal Oleszek wrote:> I tried all options: > 1,2 > and in MINSUPPLIES: 1,2,3,4 > still didn't work.My mistake - I gave you the wrong advice before. For MINSUPPLIES, I'm used to either a 1:1 UPS-to-server ratio, or 2:1 where the server can run with either power supply unpowered. I just tried this in upsmon.conf: MONITOR dummy1 1 monuser password slave MONITOR dummy2 1 monuser password slave MINSUPPLIES 1 With only one dummy-ups set to "OB LB", upsmon kept polling. When both were set to "OB LB", it tried to shut down the system. That was with NUT 2.7.1 - I don't remember any bugs in this area, but it would be in the changelog.> UPS_251 and UPS_252 feeds all environment and it's not feed directly one > server, but many of them.Right, and only the master is responsible for shutting down the UPS itself. Or do you mean that not all of the servers are connected to both UPSes? -- Charles Lepple clepple at gmail
Seemingly Similar Threads
- Shutdown when both (all) UPS on battery / low battery
- Shutdown when both (all) UPS on battery / low battery
- Shutdown when both (all) UPS on battery / low battery
- Shutdown when both (all) UPS on battery / low battery
- Shutdown when both (all) UPS on battery / low battery