[Nut-upsuser] pebcak or something else?

Svein Skogen (listmail account) svein-listmail at stillbilde.net
Thu Jul 30 14:07:48 UTC 2009


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

Arjen de Korte wrote:
> Citeren "Svein Skogen (listmail account)" <svein-listmail at stillbilde.net>:
> 
>> I've set up my ups solution with a dedicated box (laptop with its own
>> powersupply) connected to the ups, and have set up upsmon.conf to use a
>> customized script (SHUTDOWNCMD
>> "/usr/local/upsmonitor-files/shutdown.sh") that shuts down my ESXi boxes
>> properly.
>>
>> However when ups power reaches the shutdown point, it seems that NUT
>> promptly ignores the shutdown script and goes on to shut down the
>> monitoring box instead. The laptop is running FreeBSD 7 stable
>> (RELENG_7) with nut version 2.4.1
>>
>> What have I done wrong? (in all respects except this, the NUT setup
>> works)
> 
> 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?

//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/

iEYEARECAAYFAkpxqTQACgkQODUnwSLUlKTmSwCeP70Vu21qJlC7DZzzh0LaD51a
peQAoKhelzXkzZ/l5mb7r+wAdl3ZSF3J
=kH84
-----END PGP SIGNATURE-----



More information about the Nut-upsuser mailing list