Random Project

Fix for schedule_host_downtime

First, thanks for both scripts, helped out a lot!

One thing, I couldn’t schedule host downtime using your script and found out that it has to to with a missing trigger_id in the commandline call… at least for 3.4.1

$trigger_id=0
cmdline=”[$datetime] SCHEDULE_HOST_DOWNTIME;$hostname;$start_time;$end_time;$fixed;$trigger_id;$duration;$comment_author;$comment_data”