Hi!
Recently upgraded to OMV6, and now I cannot get the NUT-plugin to work.
Tried running:
Code
sudo /usr/bin/salt-call --local saltutil.clear_cache
sudo omv-salt stage run prepare
sudo omv-salt deploy run collectd monit
But it will fail with the following error for the collectd.service:
Code
Oct 18 19:48:44 nas-omv collectd[38938]: There is configuration for the `nut' plugin, but the plugin isn't loaded. Please check your configuration.
Oct 18 19:48:44 nas-omv collectd[38938]: plugin_load: plugin "rrdcached" successfully loaded.
Oct 18 19:48:44 nas-omv collectd[38938]: plugin_load: plugin "syslog" successfully loaded.
Oct 18 19:48:44 nas-omv collectd[38938]: plugin_load: plugin "unixsock" successfully loaded.
Oct 18 19:48:44 nas-omv collectd[38938]: plugin_load: plugin "uptime" successfully loaded.
Oct 18 19:48:44 nas-omv collectd[38938]: Error: Parsing the config file failed!
Oct 18 19:48:44 nas-omv systemd[1]: collectd.service: Main process exited, code=exited, status=1/FAILURE
Oct 18 19:48:44 nas-omv systemd[1]: collectd.service: Failed with result 'exit-code'.
Oct 18 19:48:44 nas-omv systemd[1]: Failed to start Statistics collection and monitoring daemon.
Oct 18 19:48:54 nas-omv systemd[1]: collectd.service: Scheduled restart job, restart counter is at 234.
Oct 18 19:48:54 nas-omv systemd[1]: Stopped Statistics collection and monitoring daemon.
Oct 18 19:48:54 nas-omv systemd[1]: Starting Statistics collection and monitoring daemon...
Oct 18 19:48:54 nas-omv collectd[39048]: plugin_load: plugin "cpu" successfully loaded.
Oct 18 19:48:54 nas-omv collectd[39048]: plugin_load: plugin "df" successfully loaded.
Oct 18 19:48:54 nas-omv collectd[39048]: plugin_load: plugin "interface" successfully loaded.
Oct 18 19:48:54 nas-omv collectd[39048]: plugin_load: plugin "load" successfully loaded.
Oct 18 19:48:54 nas-omv collectd[39048]: plugin_load: plugin "memory" successfully loaded.
Oct 18 19:48:54 nas-omv collectd[39048]: plugin_load: Could not find plugin "nut" in /usr/lib/collectd
Alles anzeigen
The file states "Error: Parsing the config file failed!", could this be the issue? What config file is this?
I can see the NUT-service is running just fine:
Code
root@nas-omv:~# systemctl status nut-server
● nut-server.service - Network UPS Tools - power devices information server
Loaded: loaded (/lib/systemd/system/nut-server.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2022-10-18 19:51:22 CDT; 1min 30s ago
Process: 40450 ExecStart=/sbin/upsd (code=exited, status=0/SUCCESS)
Main PID: 40451 (upsd)
Tasks: 1 (limit: 18775)
Memory: 648.0K
CPU: 13ms
CGroup: /system.slice/nut-server.service
└─40451 /lib/nut/upsd
Oct 18 19:51:22 nas-omv upsd[40450]: fopen /run/nut/upsd.pid: No such file or directory
Oct 18 19:51:22 nas-omv upsd[40450]: listening on 0:0:0:0:0:0:0:0 port 3493
Oct 18 19:51:22 nas-omv upsd[40450]: not listening on 0.0.0.0 port 3493
Oct 18 19:51:22 nas-omv upsd[40450]: listening on 0:0:0:0:0:0:0:0 port 3493
Oct 18 19:51:22 nas-omv upsd[40450]: not listening on 0.0.0.0 port 3493
Oct 18 19:51:22 nas-omv upsd[40450]: Connected to UPS [1500xs]: usbhid-ups-1500xs
Oct 18 19:51:22 nas-omv upsd[40450]: Connected to UPS [1500xs]: usbhid-ups-1500xs
Oct 18 19:51:22 nas-omv upsd[40451]: Startup successful
Oct 18 19:51:22 nas-omv systemd[1]: Started Network UPS Tools - power devices information server.
Oct 18 19:51:30 nas-omv upsd[40451]: User monmaster@::ffff:127.0.0.1 logged into UPS [1500xs]
root@nas-omv:~#
Alles anzeigen
Found a very similar issue here for the collectd.service, but it should have been fixed!
Any ideas?
//Odin