Issues with APC PDU / transfer switch (check_mk-apc_ats_output)

And a quick note about apc_ats_status for any other AP4450 users… the info is actually there with SNMP, just edit the snmp_scan_function to make it the same as apc_ats_output.

From:

    "snmp_scan_function": lambda oid: ".1.3.6.1.4.1.318.1.3.11" in oid(".1.3.6.1.2.1.1.2.0"),

To:

    "snmp_scan_function": lambda oid: oid(".1.3.6.1.2.1.1.2.0")
    in [
        ".1.3.6.1.4.1.318.1.3.11",
        ".1.3.6.1.4.1.318.1.3.32",
    ],

You may have to toy around the plugin a little bit for the 5V PSU that is absent from these units (and add the 3.3V and 1V PSUs instead), but you will otherwise get the selected power source and an alert if it changes. I created a PR: