Downtimes set via Api-http or Command Line

Hi,

@r.sander My knowledge of python is quite poor so can I ask you for more information? from what i can see this script is official. there’s no documentation?

For more information I mean an example of using this script.

On the internet I find only a pdf of 2015.
link: https://checkmk.de/download/2015-Konferenz-Treasures.pdf

In which two examples are made:

Set a downtime
./downtime -v -d 10 -c “Check_MK Conference demo” -S DIWWGYFHXGUVLXJQAJKD
sdtcsynomd1

Remove a downtime
./downtime -r -v -d 10 -S DIWWGYFHXGUVLXJQAJKD sdtcsynomd1

but, I get the following error:

@ways I try to see your script. thank you :slight_smile:

thx you all.
Dario.