documentazione_3di_riservata:manuali_sysadmin:apcupsd
Differenze
Queste sono le differenze tra la revisione selezionata e la versione attuale della pagina.
| Entrambe le parti precedenti la revisioneRevisione precedenteProssima revisione | Revisione precedente | ||
| documentazione_3di_riservata:manuali_sysadmin:apcupsd [2019/02/07 16:40] – epapakroni | documentazione_3di_riservata:manuali_sysadmin:apcupsd [Data sconosciuta] (versione attuale) – eliminata - modifica esterna (Data sconosciuta) 127.0.0.1 | ||
|---|---|---|---|
| Linea 1: | Linea 1: | ||
| - | ====== Installazione ====== | ||
| - | In tutti i computer/ | ||
| - | |||
| - | '' | ||
| - | |||
| - | ===== Configurazioni nel MASTER ===== | ||
| - | |||
| - | **1** - Edita il file diconfigurazione: | ||
| - | Prima fai una copia del originale: | ||
| - | |||
| - | '' | ||
| - | |||
| - | Poi | ||
| - | |||
| - | '' | ||
| - | |||
| - | Trova e modifica: UPSCABLE, UPSTYPE, DEVICE, POLLTIME, BATTERYLEVEL e MINUTES | ||
| - | |||
| - | In genere le opzioni come sotto indicati dovrebbero bastare | ||
| - | |||
| - | <code xml> | ||
| - | ## apcupsd.conf v1.1 ## | ||
| - | # | ||
| - | # for apcupsd release 3.14.12 (29 March 2014) - debian | ||
| - | # | ||
| - | # " | ||
| - | |||
| - | # | ||
| - | # ========= General configuration parameters ============ | ||
| - | # | ||
| - | ... | ||
| - | UPSCABLE usb | ||
| - | ... | ||
| - | UPSTYPE usb | ||
| - | ... | ||
| - | #DEVICE /dev/ttyS0 | ||
| - | |||
| - | # POLLTIME <int> | ||
| - | # | ||
| - | # | ||
| - | # dumb) and networked UPSes (UPSTYPE net, snmp). Lowering this setting | ||
| - | # will improve apcupsd' | ||
| - | # | ||
| - | # | ||
| - | #POLLTIME 60 | ||
| - | |||
| - | # | ||
| - | # ======== Configuration parameters used during power failures ========== | ||
| - | # | ||
| - | |||
| - | # Note: BATTERYLEVEL, | ||
| - | # the first that occurs will cause the initation of a shutdown. | ||
| - | ... | ||
| - | # If during a power failure, the remaining battery percentage | ||
| - | # (as reported by the UPS) is below or equal to BATTERYLEVEL, | ||
| - | # apcupsd will initiate a system shutdown. | ||
| - | BATTERYLEVEL 30 | ||
| - | ... | ||
| - | # If during a power failure, the remaining runtime in minutes | ||
| - | # (as calculated internally by the UPS) is below or equal to MINUTES, | ||
| - | # apcupsd, will initiate a system shutdown. | ||
| - | MINUTES 10 | ||
| - | |||
| - | # | ||
| - | # ==== Configuration statements for Network Information Server ==== | ||
| - | # | ||
| - | |||
| - | # NETSERVER [ on | off ] on enables, off disables the network | ||
| - | # information server. | ||
| - | ... | ||
| - | NETSERVER on | ||
| - | |||
| - | # NISIP <dotted notation ip address> | ||
| - | ... | ||
| - | NISIP 0.0.0.0 | ||
| - | </ | ||
| - | |||
| - | **2** - Editare etc/ | ||
| - | |||
| - | Questo file contiene i computer o server protetti dal UPS. Nel nostro caso | ||
| - | |||
| - | <code xml> | ||
| - | # Network UPS Tools - hosts.conf | ||
| - | # | ||
| - | # This file does double duty - it lists the systems that multimon will | ||
| - | # monitor, and also specifies the systems that upsstats is allowed to | ||
| - | # watch. | ||
| - | # among other things. | ||
| - | # may speak to. upsfstats too. | ||
| - | # | ||
| - | # Usage: list systems running upsd that you want to monitor | ||
| - | # | ||
| - | # MONITOR < | ||
| - | |||
| - | MONITOR 127.0.0.1 " | ||
| - | MONITOR 10.17.61.87 " | ||
| - | </ | ||
/data/attic/documentazione_3di_riservata/manuali_sysadmin/apcupsd.1549554038.txt.gz · Ultima modifica: da epapakroni