Jelle de Jong
2010-Feb-08 21:46 UTC
[Nut-upsuser] question about multi ups monitoring and reactions with nut
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello everybody, I have a Debian network server doing monitoring for three UPS devices.> MONITOR r3000xr at localhost 1 monuser xxxxxxxxxx master > MONITOR apcups01 at localhost 1 monuser xxxxxxxxx monitor-only > MONITOR apcups02 at localhost 1 monuser xxxxxxxxx monitor-onlyI want nut to send an email to root for every changes nut detects to any of the UPS devices. The network server itself is only drawing power from the apcups01 device. How can I configure nut to only start a shut-down procedure when apcups01 is running out of battery runtime? I checked http://www.networkupstools.org/doc/2.2.0/ but did not find specific answers. Could somebody help me with a configuration example? Thanks in advance, Kind regards, Jelle -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iJwEAQECAAYFAktwhkQACgkQ1WclBW9j5HmhWgQAh9mku2Vf+mPD9tEPM9k0+Me0 w7ea0wNBWLhUVYI/8UhCgPZr9haPu6lPicgpitS04lbm9rGQXLMMz/IlJqJJCBWH SHge2x02LgeaVJfTv5Pr20JeGGZMnLUcHWgqUJz0LFUQ+9utusGCDV2nxYar4lAX 2zmMl0iR93IgPTEKxmU=2SMw -----END PGP SIGNATURE-----
Charles Lepple
2010-Feb-09 02:39 UTC
[Nut-upsuser] question about multi ups monitoring and reactions with nut
On Feb 8, 2010, at 4:46 PM, Jelle de Jong wrote:> I have a Debian network server doing monitoring for three UPS devices. > >> MONITOR r3000xr at localhost 1 monuser xxxxxxxxxx master >> MONITOR apcups01 at localhost 1 monuser xxxxxxxxx monitor-only >> MONITOR apcups02 at localhost 1 monuser xxxxxxxxx monitor-only > > I want nut to send an email to root for every changes nut detects to > any of the UPS devices. > > The network server itself is only drawing power from the apcups01 > device. How can I configure nut to only start a shut-down procedure > when apcups01 is running out of battery runtime?See 'man upsmon.conf'. Hint: what does "1" mean in the lines you posted?
Arjen de Korte
2010-Feb-09 08:04 UTC
[Nut-upsuser] question about multi ups monitoring and reactions with nut
Citeren Jelle de Jong <jelledejong op powercraft.nl>:> I have a Debian network server doing monitoring for three UPS devices. > >> MONITOR r3000xr op localhost 1 monuser xxxxxxxxxx master >> MONITOR apcups01 op localhost 1 monuser xxxxxxxxx monitor-only >> MONITOR apcups02 op localhost 1 monuser xxxxxxxxx monitor-onlyWe don't have a keyword 'monitor-only'. The above configuration is invalid. See 'man 8 upsmon'.> I want nut to send an email to root for every changes nut detects to > any of the UPS devices.See 'man 8 upssched'. Best regards, Arjen -- Please keep list traffic on the list