[Nut-upsuser] pebcak or something else?
Svein Skogen (listmail account)
svein-listmail at stillbilde.net
Thu Jul 30 14:28:35 UTC 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Arjen de Korte wrote:
> Citeren "Svein Skogen (listmail account)" <svein-listmail at stillbilde.net>:
>
>>> 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 | svein at d80.iso100.no
\ / |Solberg Østli 9 | PGP Key: 0xE5E76831
X |2020 Skedsmokorset | svein at jernhuset.no
/ \ |Norway | PGP Key: 0xCE96CE13
| | svein at stillbilde.net
ascii | | PGP Key: 0x58CD33B6
ribbon |System Admin | svein-listmail at stillbilde.net
Campaign|stillbilde.net | PGP Key: 0x22D494A4
+-------------------+-------------------------------
|msn messenger: | Mobile Phone: +47 907 03 575
|svein at jernhuset.no | RIPE handle: SS16503-RIPE
- --------+-------------------+-------------------------------
If you really are in a hurry, mail me at
svein-mobile at stillbilde.net
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-----
More information about the Nut-upsuser
mailing list