#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Splunk On-Call

# Copyright (C) 2019 tribe29 GmbH - License: GNU General Public License v2
# This file is part of Checkmk (https://checkmk.com). It is subject to the terms and
# conditions defined in the file COPYING, which is part of this source code package.

from cmk.notification_plugins.utils import post_request, process_by_status_code
from cmk.notification_plugins.victorops import victorops_msg

if __name__ == "__main__":
    response = post_request(victorops_msg)
    process_by_status_code(response)
