I’m not really sure how Nagios/Sensu works, but based on my guesses I would think some of these might be useful (note that some of these are theoretical, I don’t know if they’ll work or not):
- use the
--log-file
parameter (and possibly--log-level
) to give you a grep-able file - read the raw log tables from the sqlite log file
- use a
--run-script-after
shell to get access to exitcode (and possibly other finish stats) - look at something like what @StephenGregory is doing here Export result in standardized format
- use HTTP requests to the Duplicati server to get the same data shown in the web UI (which of course could include (last successful run")