diff --git a/notify_rt.py b/notify_rt.py index 41c76e6..9ce72ba 100644 --- a/notify_rt.py +++ b/notify_rt.py @@ -225,8 +225,8 @@ def delete_comments_icinga(username, password, comments): elif ARGS.state == "OK" or ARGS.state == "UP": print("Server/host back up") add_comment_rt(TICKET_ID) - set_status_rt(TICKET_ID) set_subject_recovered_rt(TICKET_ID) + set_status_rt(TICKET_ID) delete_comments_icinga( CONFIG['icinga_user'], CONFIG['icinga_pass'],