# Getting "last successfull run" from commandline

**URL:** <https://forum.duplicati.com/t/getting-last-successfull-run-from-commandline/5129>\
**Category:** Support\
**Created:** [October 30, 2018, 7:55am UTC](https://forum.duplicati.com/t/getting-last-successfull-run-from-commandline/5129 "2018-10-30T07:55:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![gerdw](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/g/838e76/32.png) [@gerdw](https://forum.duplicati.com/u/gerdw)\
**Post date:** [October 30, 2018, 7:55am UTC](https://forum.duplicati.com/t/getting-last-successfull-run-from-commandline/5129/1 "2018-10-30T07:55:57Z")

</div>

Hi Duplicati-Experts 😉

I want to Monitor Duplicati with check\_mk. Doe someone know a way i can get the “last successfull run” as it is shown in the Web-GUI by commandline?

Yours  
Gerd

---

<div class="post-metadata">

**Author:** ![gerdw](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/g/838e76/32.png) [@gerdw](https://forum.duplicati.com/u/gerdw)\
**Post date:** [October 30, 2018, 9:55am UTC](https://forum.duplicati.com/t/getting-last-successfull-run-from-commandline/5129/2 "2018-10-30T09:55:48Z")

</div>

I have chosen an other way: I set up run after script which writes a file in case DUPLICATI\_\_PARSED\_RESULT is ‘Success’ and DUPLICATI\_\_OPERATIONNAME is ‘Backup’

Then I use the check\_mk fileinfo to check how old the file is.

If it is older than x check\_mk fires an alert.

Yours Gerd
