def get_severity(severity_int):
    """
    helper meethod to swap severities

    :param severity_int: integer value for severity
    :return: collectd string for severity
    """
    return {
        1: "FAILURE",
        2: "WARNING",
        4: "OKAY"
    }[severity_int]