-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Arjen de Korte wrote: > Citeren "Svein Skogen (listmail account)" <[email protected]>: > >> 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 | [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/ iEYEARECAAYFAkpxqTQACgkQODUnwSLUlKTmSwCeP70Vu21qJlC7DZzzh0LaD51a peQAoKhelzXkzZ/l5mb7r+wAdl3ZSF3J =kH84 -----END PGP SIGNATURE----- _______________________________________________ Nut-upsuser mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser

