Hi, would this be of interest? Should i provide a PR where the CPU Usage is also in diagnostic?
Had this issue where the CPU was at 3% but the project was still on working but it actually wasn’t.
Think it was because there were pictures of a different project accidentally.
I thought of extending this with a plugin for email notification:
on finish
on error
on low threshold CPU usage for quite some minutes.
Also, a checkmark in diagnostic to auto-refresh every X seconds.
I would also add a swap/pagefile indicator to see how much memory is available. Physical memory is often just part of the total available memory.
Yes, that too.
At the moment I am using a small bash script that shoes me these values. If that would be in WebODM, one step less to do when setting up and using WebODM
Would have loved to write a plugin for that, just don’t find the time
I can’t program, so please keep that in mind, but yes, I believe a plugin might be a good approach combined with maybe integrating some of the changes.
We’re working on the email notification plugin right now. The dev managed to find the signal for when a task has finished processing, but there doesn’t seem to be one for when a task has failed?
Any idea if such a signal exists, if no, do you know the main points where a task may fail to process so we can send the plugin signal?
This pull request adds a new plugin to the application that provides email notifications for task completion, failure, and removal. The plugin can be accessed from the “Task Notification” tab on the main menu and allows users to configure the SMTP server settings and enable/disable notifications for different events.
Amazing contribution. Thanks a lot.
Just ran an update and it’s already integrated
Would be really neat if the memory usage chart would include swap.
Just tried to include swap by simply manipulating plugin.py inside the webapp docker container, but after starting with ./webodm.sh start I only get
Since that python script uses /proc/meminfo as its source, it is easy to also fetch some info about swap. And since now psutils is loaded, it should be a piece of cake to get that info onto that diagnostic page
I am not much of a programmer, but following some Github PRs, it’s amazing to see how @pierotofy and the ODM team embrace contributions