summaryrefslogtreecommitdiffstats
path: root/templates/snmp-int.ini
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 13:21:16 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 13:21:16 +0000
commit2e582fe0b8b6a8e67982ddb84935db1bd3b401fe (patch)
treedd511b321f308264952cffb005a4288ea4e478e6 /templates/snmp-int.ini
parentInitial commit. (diff)
downloadicingaweb2-module-graphite-2e582fe0b8b6a8e67982ddb84935db1bd3b401fe.tar.xz
icingaweb2-module-graphite-2e582fe0b8b6a8e67982ddb84935db1bd3b401fe.zip
Adding upstream version 1.2.2.upstream/1.2.2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'templates/snmp-int.ini')
-rw-r--r--templates/snmp-int.ini54
1 files changed, 54 insertions, 0 deletions
diff --git a/templates/snmp-int.ini b/templates/snmp-int.ini
new file mode 100644
index 0000000..32a87ad
--- /dev/null
+++ b/templates/snmp-int.ini
@@ -0,0 +1,54 @@
+[interfacetable-traffic.graph]
+check_command = "snmp-interface"
+
+[interfacetable-traffic.metrics_filters]
+bpsin = "$service_name_template$.perfdata.$interface$_in_bps.value"
+bpsout = "$service_name_template$.perfdata.$interface$_out_bps.value"
+
+[interfacetable-traffic.urlparams]
+min = "0"
+title = "Interface $interface$ Traffic"
+lineWidth = "2"
+yUnitSystem = "si"
+
+[interfacetable-traffic.functions]
+bpsin = "alias(color($metric$, '#1a7dd7'), 'Traffic in (B/s)')"
+bpsout = "alias(color($metric$, '#0b3c68'), 'Traffic out (B/s)')"
+
+
+[interfacetable-discard.graph]
+check_command = "snmp-interface"
+
+[interfacetable-discard.metrics_filters]
+ppsindiscard = "$service_name_template$.perfdata.$interface$_in_discard.value"
+ppsoutdiscard = "$service_name_template$.perfdata.$interface$_out_discard.value"
+
+[interfacetable-discard.urlparams]
+min = "0"
+title = "Interface $interface$ Discards"
+lineWidth = "2"
+yUnitSystem = "si"
+
+[interfacetable-discard.functions]
+ppsindiscard = "alias(color($metric$, '#edb017'), 'Discard in (B/s)')"
+ppsoutdiscard = "alias(color($metric$, '#ad7d05'), 'Discard out (B/s)')"
+
+
+[interfacetable-error.graph]
+check_command = "snmp-interface"
+
+[interfacetable-error.metrics_filters]
+ppsinerr = "$service_name_template$.perfdata.$interface$_in_error.value"
+ppsouterr = "$service_name_template$.perfdata.$interface$_out_error.value"
+
+[interfacetable-error.urlparams]
+min = "0"
+title = "Interface $interface$ Errors"
+lineWidth = "2"
+yUnitSystem = "si"
+
+[interfacetable-error.functions]
+ppsinerr = "alias(color($metric$, '#ff5566'), 'Error in (B/s)')"
+ppsouterr = "alias(color($metric$, '#a80000'), 'Error out (B/s)')"
+
+