Ayant attrapé la grippe je me suis mis à configurer mon onduleur Eaton! Je ne sais pas si c’était une bonne chose
Voilà, j’ai installé NUT server dans Proxmox.
Cependant dans mon fichier upsd.conf, quand je mets :
LISTEN 0.0.0.0 3493
j’ai une erreur quand je fais la commande « upsc ups » que je n’ai pas quand je mets
LISTEN 127.0.0.0 3493
est ce grave docteur ?
pour le syno, tu as bien créer un utilisateur monuser/secret dans la conf de nut ? ( de même si tu branches l’UPS au syno, pour y accéder il faut utiliser l’utilisateur monuser )
les synology utilisent l’utilisateur monuser avec le mot de passe secret .
Donc, si tu veux te connecter au NUT d’un synology il faut utiliser cet utilisateur . Et si tu veux donner ton serveur NUT à un syno, il va tenter d’utiliser ce compte là (il faut donc le lui créer, avec la conf que te donne @Herbs )
Merci pour vos réponses, cependant en y ajoutant monuser et secret, cela ne change pas le fait que mon NAS n’arrive pas à se connecter au serveur réseau UPS.
Pourtant j’ai bien mis l’adresse IP de proxmox dans la config du Synology.
Si vous avez d’autres pistes…
Merci à vous.
# Network UPS Tools: example nut.conf
#
##############################################################################
# General section
##############################################################################
# The MODE determines which part of the NUT is to be started, and which
# configuration files must be modified.
#
# This file try to standardize the various files being found in the field, like
# /etc/default/nut on Debian based systems, /etc/sysconfig/ups on RedHat based
# systems, ... Distribution's init script should source this file to see which
# component(s) has to be started.
#
# The values of MODE can be:
# - none: NUT is not configured, or use the Integrated Power Management, or use
# some external system to startup NUT components. So nothing is to be started.
# - standalone: This mode address a local only configuration, with 1 UPS
# protecting the local system. This implies to start the 3 NUT layers (driver,
# upsd and upsmon) and the matching configuration files. This mode can also
# address UPS redundancy.
# - netserver: same as for the standalone configuration, but also need
# some more network access controls (firewall, tcp-wrappers) and possibly a
# specific LISTEN directive in upsd.conf.
# Since this MODE is opened to the network, a special care should be applied
# to security concerns.
# - netclient: this mode only requires upsmon.
#
# IMPORTANT NOTE:
# This file is intended to be sourced by standard POSIX shell scripts (so
# there is no guaranteed `export VAR=VAL` syntax) and by systemd on Linux.
# You MUST NOT use spaces around the equal sign!
MODE=netserver
# Uncomment this to allow starting the service even if ups.conf has no device
# sections at the moment. This environment variable overrides the built-in
# "false" and an optional same-named default flag that can be set in upsd.conf:
#ALLOW_NO_DEVICE=tru
#export ALLOW_NO_DEVICE
Arfff cela ne fonctionne toujours pas et je n’ai pas de firewall.
Je me suis posé la question suivante…j’ai un Wifi mesh à la maison avec des TP-Link Deco XE75 Pro.
Ainsi ma box est relié à ma borne TP-Link en filaire, et mon mini PC sou sproxmox relié à la borne.
Mon NAS lui est branché sur ma box en ethernet.
Ma box délivre des IP 192.168.1.xxx
Ma borne délivre des IP 192.168.68.xxx
Est ce que cela peut jouer ?
Faudrait il que je branche mon NAS et Proxmox pour avoir le même début d’IP ?