Добрый день!
Заметил, что на контроллере wb-rules не может подключить к mosquitto. При этом mosquitto ведет себя странно. У нас настроена отправла timestamp раз в несколько секунд. График должен представлять ровную линию, где последующая точка выше предыдущей. А я получил вот это:
Далее, я попытался собрать диагностический архив, но не получилось:
root@IQ200000:~# apt-get install wb-diag-collect
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be upgraded:
wb-diag-collect
1 upgraded, 0 newly installed, 0 to remove and 81 not upgraded.
Need to get 11.5 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 https://deb.wirenboard.com/wb6/bullseye stable/main armhf wb-diag-collect all 1.9.3 [11.5 kB]
Fetched 11.5 kB in 34s (335 B/s)
Reading changelogs... Done
(Reading database ... 34706 files and directories currently installed.)
Preparing to unpack .../wb-diag-collect_1.9.3_all.deb ...
Unpacking wb-diag-collect (1.9.3) over (1.9.2) ...
Setting up wb-diag-collect (1.9.3) ...
root@IQ200000:/var/log# wb-diag-collect diag
Start data collecting
Traceback (most recent call last):
File "/usr/lib/python3.9/asyncio/subprocess.py", line 135, in wait
return await self._transport._wait()
File "/usr/lib/python3.9/asyncio/base_subprocess.py", line 235, in _wait
return await waiter
asyncio.exceptions.CancelledError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.9/asyncio/tasks.py", line 492, in wait_for
fut.result()
asyncio.exceptions.CancelledError
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/bin/wb-diag-collect", line 10, in <module>
sys.exit(main())
File "/usr/share/wb-diag-collect/wb/diag/diag_collect.py", line 71, in main
asyncio.get_event_loop().run_until_complete(
File "/usr/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete
return future.result()
File "/usr/share/wb-diag-collect/wb/diag/collector.py", line 32, in collect
await self.execute_commands(tmpdir, options["commands"], options["timeout"])
File "/usr/share/wb-diag-collect/wb/diag/collector.py", line 121, in execute_commands
await asyncio.wait_for(proc.wait(), timeout=timeout)
File "/usr/lib/python3.9/asyncio/tasks.py", line 494, in wait_for
raise exceptions.TimeoutError() from exc
asyncio.exceptions.TimeoutError
Собрал просто логи журнала:
IQ200000.txt.zip (609,5 КБ)
Так же смущают сообщения подобного плана:
MQTT token wait timeout: *mqtt.SubscribeToken (&{{{{0 0} 0 0 {{} 0} {{} 0}} 0x11af880 <nil>} [/devices/64cf5d1fb68e82b2320d0505/controls/suspend/on] map[] 1837})
После перезапуска mosquitto график с timestamp стал ровный.
Пытался придумать заголовок, но дажее ИИ метается:

