Created
June 14, 2018 20:40
-
-
Save zeha/2c62490dbc35acf48e42976989f1f0e1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- /opt/omd/versions/1.4.0p33.cee/share/check_mk/checks/netapp_api_vs_traffic 2018-06-14 22:38:10.015343639 +0200 | |
+++ fixed 2018-06-14 22:38:02.875290054 +0200 | |
@@ -88,7 +88,7 @@ | |
if what not in data: | |
continue | |
- rate = get_rate(what, now, int(data[what]) * scale) | |
+ rate = get_rate('%s:%s' % (protocol, what), now, int(data[what]) * scale) | |
yield 0, "%s %s: %s" % (protoname, perftext, format_func(rate)), [(perfname, rate)] | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment