Open wdoekes opened 11 months ago
Also, it stops publishing periodic updates when there is no gas usage:
Dec 24 13:37:28 framboos.kiwi pe32proxsenspy2_pub[28003]: sent no_pulse, next=1703421508.8404968
Dec 24 13:38:28 framboos.kiwi pe32proxsenspy2_pub[28003]: sent no_pulse, next=1703421568.856849
Dec 24 13:39:28 framboos.kiwi pe32proxsenspy2_pub[28003]: sent no_pulse, next=1703421628.8760037
Dec 24 13:39:59 framboos.kiwi pe32proxsenspy2_pub[28003]: - task <Task finished name='dead_mans_switch' coro=<dead_mans_switch() done, defined at /srv/pe32proxsenspy_pub/pe32proxsenspy_pub.py:33> exception=DeadMansSwitchTripped('more than 86400573 ms have passed without changes')> was already done
Dec 24 13:39:59 framboos.kiwi pe32proxsenspy2_pub[28003]: Traceback (most recent call last):
Dec 24 13:39:59 framboos.kiwi pe32proxsenspy2_pub[28003]: File "/srv/pe32proxsenspy_pub/pe32proxsenspy_pub.py", line 361, in <module>
Dec 24 13:39:59 framboos.kiwi pe32proxsenspy2_pub[28003]: loop.run_until_complete(main_coro)
Dec 24 13:39:59 framboos.kiwi pe32proxsenspy2_pub[28003]: File "/usr/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete
Dec 24 13:39:59 framboos.kiwi pe32proxsenspy2_pub[28003]: return future.result()
Dec 24 13:39:59 framboos.kiwi pe32proxsenspy2_pub[28003]: File "/srv/pe32proxsenspy_pub/pe32proxsenspy_pub.py", line 333, in main
Dec 24 13:39:59 framboos.kiwi pe32proxsenspy2_pub[28003]: task.result() # raises exceptions if any
Dec 24 13:39:59 framboos.kiwi pe32proxsenspy2_pub[28003]: File "/srv/pe32proxsenspy_pub/pe32proxsenspy_pub.py", line 38, in dead_mans_switch
Dec 24 13:39:59 framboos.kiwi pe32proxsenspy2_pub[28003]: raise DeadMansSwitchTripped(
Dec 24 13:39:59 framboos.kiwi pe32proxsenspy2_pub[28003]: __main__.DeadMansSwitchTripped: more than 86400573 ms have passed without changes
Dec 24 13:39:59 framboos.kiwi systemd[1]: pe32proxsenspy2_pub.service: Main process exited, code=exited, status=1/FAILURE
Dec 24 13:39:59 framboos.kiwi systemd[1]: pe32proxsenspy2_pub.service: Failed with result 'exit-code'.
Dec 24 13:40:14 framboos.kiwi systemd[1]: pe32proxsenspy2_pub.service: Scheduled restart job, restart counter is at 1.
Dec 24 13:40:14 framboos.kiwi systemd[1]: Stopped PE32 proximity sensor exporter.
Dec 24 13:40:14 framboos.kiwi systemd[1]: Started PE32 proximity sensor exporter.
Dec 24 13:40:15 framboos.kiwi pe32proxsenspy2_pub[23316]: pid 23316: send SIGINT or SIGTERM to exit.
Dec 24 13:40:15 framboos.kiwi pe32proxsenspy2_pub[23316]: Using selector: EpollSelector
Dec 25 13:40:16 framboos.kiwi pe32proxsenspy2_pub[23316]: - task <Task finished name='dead_mans_switch' coro=<dead_mans_switch() done, defined at /srv/pe32proxsenspy_pub/pe32proxsenspy_pub.py:33> exception=DeadMansSwitchTripped('more than 86400160 ms have passed without changes')> was already done
Dec 25 13:40:16 framboos.kiwi pe32proxsenspy2_pub[23316]: Traceback (most recent call last):
Dec 25 13:40:16 framboos.kiwi pe32proxsenspy2_pub[23316]: File "/srv/pe32proxsenspy_pub/pe32proxsenspy_pub.py", line 361, in <module>
Dec 25 13:40:16 framboos.kiwi pe32proxsenspy2_pub[23316]: loop.run_until_complete(main_coro)
Dec 25 13:40:16 framboos.kiwi pe32proxsenspy2_pub[23316]: File "/usr/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete
Dec 25 13:40:16 framboos.kiwi pe32proxsenspy2_pub[23316]: return future.result()
Dec 25 13:40:16 framboos.kiwi pe32proxsenspy2_pub[23316]: File "/srv/pe32proxsenspy_pub/pe32proxsenspy_pub.py", line 333, in main
Dec 25 13:40:16 framboos.kiwi pe32proxsenspy2_pub[23316]: task.result() # raises exceptions if any
Dec 25 13:40:16 framboos.kiwi pe32proxsenspy2_pub[23316]: File "/srv/pe32proxsenspy_pub/pe32proxsenspy_pub.py", line 38, in dead_mans_switch
Dec 25 13:40:16 framboos.kiwi pe32proxsenspy2_pub[23316]: raise DeadMansSwitchTripped(
Dec 25 13:40:16 framboos.kiwi pe32proxsenspy2_pub[23316]: __main__.DeadMansSwitchTripped: more than 86400160 ms have passed without changes
Dec 25 13:40:16 framboos.kiwi systemd[1]: pe32proxsenspy2_pub.service: Main process exited, code=exited, status=1/FAILURE
Dec 25 13:40:16 framboos.kiwi systemd[1]: pe32proxsenspy2_pub.service: Failed with result 'exit-code'.
Dec 25 13:40:31 framboos.kiwi systemd[1]: pe32proxsenspy2_pub.service: Scheduled restart job, restart counter is at 2.
Dec 25 13:40:31 framboos.kiwi systemd[1]: Stopped PE32 proximity sensor exporter.
Dec 25 13:40:31 framboos.kiwi systemd[1]: Started PE32 proximity sensor exporter.
Dec 25 13:40:32 framboos.kiwi pe32proxsenspy2_pub[432]: pid 432: send SIGINT or SIGTERM to exit.
Dec 25 13:40:32 framboos.kiwi pe32proxsenspy2_pub[432]: Using selector: EpollSelector
Log:
separate-log.txt
Images:
Earlier use is fine:
The 40L value is likely average, and should not be in the graph. The question remains: