diff options
Diffstat (limited to 'templates/snmp-int.ini')
-rw-r--r-- | templates/snmp-int.ini | 54 |
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)')" + + |