I’m monitoring my APC PDUs with Checkmk using SNMP and the integrated check_mk-apc_ats_output plugin. Here is the output for the service “Phase 1 output”:
There are 2 charts available: Voltage and Load. Load is always at -1.00% which is basically useless, I’d rather have the Current chart instead. I’m not sure how these values are calculated, when I log in to the APC web interface this is how it looks:
That means your device is not a fully fledged ATS only a partially one
This is also the reason for the ats_status check. Here your device provides not enough data to work.
Fair enough. Could you point me to the right file if I want to edit this plugin to remove the load value when it’s negative and to add perfdata for the current instead? It can be a link to the git as well, I couldn’t find the file when searching for the plugin name, only the translation but it didn’t help me.
I’m trying to find that local directory to overwrite the original without editing it. I tried ~/local/share/check_mk/checks/apc_ats_output without success. The original file is located in /opt/omd/versions/2.2.0p9.cre/share/check_mk/checks/apc_ats_output.
Edit: nevermind, it works, had to go into discovery and rediscover the same service for some reason…
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:
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.