-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Arjen de Korte wrote:
> Citeren "Svein Skogen (listmail account)" <[email protected]>:
> 
>>> Read the section on POWER VALUES in 'man 8 upsmon'. You probably should
>>> assign the UPS a 'power value' of 0 (zero) on the laptop that is
>>> monitoring it (but isn't powered by it).
>>
>> if it's a value of 0, will it still invoke the SHUTDOWNCMD?
> 
> No and that's not what you want anyway if the box isn't powered by the
> UPS. Is there any particular reason why you can't run a upsmon client on
> the ESXi host OS? Usually this scales a lot better on multiple systems.
> 
> Have a look at the NOTIFYCMD if you really want upsmon to run a script
> when a certain event triggers.

I want the external box to shut down the ESXi (which is powered by the
ups), because there really isn't a way to do this from inside the ESXi
host. The custom shutdown script on the external box does this for me
(the laptop that is actually connected to the ups can survive without
power for some four hours. The ESXi server has 15 or so minutes).

Getting a clean shutdown in case of powerfailure is my primary reason
for wanting an ups in the first place.

//Svein

- --
- --------+-------------------+-------------------------------
  /"\   |Svein Skogen       | [email protected]
  \ /   |Solberg Østli 9    | PGP Key:  0xE5E76831
   X    |2020 Skedsmokorset | [email protected]
  / \   |Norway             | PGP Key:  0xCE96CE13
        |                   | [email protected]
 ascii  |                   | PGP Key:  0x58CD33B6
 ribbon |System Admin       | [email protected]
Campaign|stillbilde.net     | PGP Key:  0x22D494A4
        +-------------------+-------------------------------
        |msn messenger:     | Mobile Phone: +47 907 03 575
        |[email protected] | RIPE handle:    SS16503-RIPE
- --------+-------------------+-------------------------------
         If you really are in a hurry, mail me at
               [email protected]
 This mailbox goes directly to my cellphone and is checked
        even when I'm not in front of my computer.
- ------------------------------------------------------------
                     Picture Gallery:
          https://gallery.stillbilde.net/v/svein/
- ------------------------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkpxrhMACgkQODUnwSLUlKS4WACgpSPI0QczBK0P1zRCBS/Vv3iZ
9AoAnA1/UoAtPZZBOg+YC+RsRXVBVT3b
=nzqV
-----END PGP SIGNATURE-----

_______________________________________________
Nut-upsuser mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser

Reply via email to