NUT Plugin not working correctly

  • Hi Community,


    I am running NUT Tool as NetServer on a Home Assistant and an EATON USB650 connected to the HA HW.

    On a different HW, I am running OMV with the NUT Plugin configured a Net Client.

    The Plugin can connect to the Server an presents data from the UPS in Diagnostics/Services/UPS.

    But on the dashboard the UPS service is shows a tick at Enabled but not on Running and the service status is RED.


    Any idea what to look for?

    What additional information do you need to assess the situation?


    Thanks

    Matthias

  • This is regularly logged in the system log:


    25.3.2025, 10:07:24
    monit[664]: 'nut-monitor' failed to start (exit status 0) -- no output

    25.3.2025, 10:06:53
    systemd[1]: nut-monitor.service: Failed with result 'exit-code'.

    25.3.2025, 10:06:53
    systemd[1]: nut-monitor.service: Main process exited, code=exited, status=1/FAILURE

    25.3.2025, 10:06:53
    nut-monitor[3656]: Network UPS Tools upsmon 2.8.0

    25.3.2025, 10:06:53
    nut-monitor[3656]: Fatal error: unusable configuration

    25.3.2025, 10:06:53
    nut-monitor[3656]: Convert it and add a username to upsd.users - see the documentation

    25.3.2025, 10:06:53
    nut-monitor[3656]: Unable to use old-style MONITOR line without a username

    25.3.2025, 10:06:53
    nut-monitor[3656]: Could not find PID file to see if previous upsmon instance is already running!

    25.3.2025, 10:06:53
    nut-monitor[3656]: fopen /run/nut/upsmon.pid: No such file or directory

    25.3.2025, 10:06:53
    systemd[1]: nut-server.service: Deactivated successfully.

    25.3.2025, 10:06:53
    systemd[1]: Started nut-monitor.service - Network UPS Tools - power device monitor and shutdown controller.

    25.3.2025, 10:06:53
    nut-server[3655]: Then set MODE to a suitable value in /etc/nut/nut.conf to enable it

    25.3.2025, 10:06:53
    nut-server[3655]: upsd disabled, please adjust the configuration to your needs

    25.3.2025, 10:06:53
    systemd[1]: Started nut-server.service - Network UPS Tools - power devices information server.

    25.3.2025, 10:06:53
    monit[664]: 'nut-monitor' start: '/bin/systemctl start nut-monitor'

  • votdev

    Approved the thread.
    • /etc/nut/upsd.users

    # This file is auto-generated by openmediavault (https://www.openmediavault.org)

    # WARNING: Do not edit this file, your changes will get lost.

    [admin]

    password = ^@u>BpLRXu:o7]<?

    actions = set

    actions = fsd

    instcmds = ALL


    [monmaster]

    password = 0V*OjP..uA>B\=?>&

    upsmon master


    • /etc/nut/upsmon.conf

    # This file is auto-generated by openmediavault (https://www.openmediavault.org)

    # WARNING: Do not edit this file, your changes will get lost.

    [admin]

    password = ^@u>BpLRXu:o7]<?

    actions = set

    actions = fsd

    instcmds = ALL


    [monmaster]

    password = 0V*OjP..uA>B\=?>&

    upsmon master

    root@chewbacca:/etc/nut# cat upsmon.conf

    # This file is auto-generated by openmediavault (https://www.openmediavault.org)

    # WARNING: Do not edit this file, your changes will get lost.

    MONITOR eaton_el650usbdin@192.168.178.55:3493 1 ups Leavenworth2025# slave

    MINSUPPLIES 1

    SHUTDOWNCMD "/sbin/shutdown -h +0"

    NOTIFYCMD "/sbin/upssched"

    POLLFREQ 5

    POLLFREQALERT 5

    HOSTSYNC 15

    DEADTIME 555

    POWERDOWNFLAG /etc/killpower

    NOTIFYFLAG ONLINE SYSLOG+WALL+EXEC

    NOTIFYFLAG ONBATT SYSLOG+WALL+EXEC

    NOTIFYFLAG LOWBATT SYSLOG+WALL+EXEC

    NOTIFYFLAG COMMOK SYSLOG+WALL+EXEC

    NOTIFYFLAG COMMBAD SYSLOG+WALL+EXEC

    NOTIFYFLAG SHUTDOWN SYSLOG+WALL+EXEC

    NOTIFYFLAG REPLBATT SYSLOG+WALL+EXEC

    NOTIFYFLAG NOCOMM SYSLOG+WALL+EXEC

    NOTIFYFLAG FSD SYSLOG+WALL+EXEC

    RBWARNTIME 43200

    NOCOMMWARNTIME 300

    FINALDELAY 5


    dpkg -l | grep openmediavault


    ii openmediavault 7.7.1-3 all openmediavault - The open network attached storage solution

    ii openmediavault-keyring 1.0.2-2 all GnuPG archive keys of the openmediavault archive

    ii openmediavault-nut 7.0.6-1 all openmediavault Network UPS Tools (NUT) plugin


  • votdev

    Added the Label resolved

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!