munkireport_parser.py
def sensor_report(record, report):
    """Generate report when sensor is in bad state"""
    # bad fans
    if record[FAN_TEMS_MSSFF] == "1":
        add_problem(
            report,
            "Fan",
            "Fan Errors!",
            determine_acknowledgement(record, report, "ack-fans"),
        )
Generate report when sensor is in bad state
Generate report when sensor is in bad state
Generate report when sensor is in bad state
def sensor_report(record, report):
    if record[FAN_TEMS_MSSFF] == "1":
        add_problem(
            report,
            "Fan",
            "Fan Errors!",
            determine_acknowledgement(record, report, "ack-fans"),
        )
def sensor_report ( record , report ) : if record [ FAN_TEMS_MSSFF ] == "1" : add_problem ( report , "Fan" , "Fan Errors!" , determine_acknowledgement ( record , report , "ack-fans" ) , )
Generate report when sensor is in bad state
Generate report when sensor is in bad state
"""Generate report when sensor is in bad state""" # bad fans
record
report