; ====================================================================== ; ; Net IO ; ; show network usage in / out ; ; ---------------------------------------------------------------------- ; 2020-03-23 <axel.hahn@iml.unibe.ch> initial version ; 2022-08-22 <axel.hahn@unibe.ch> compatibility to netio update; 1 graph per interface ; ====================================================================== ; ---------------------------------------------------------------------- ; graph total ; ---------------------------------------------------------------------- [netio.graph] check_command = "NetIO" [netio.urlparams] areaAlpha = "0.2" ; areaMode = "first" areaMode = "all" colorList = "6699aa,cc66dd" ; ^ ^ ; trans read lineWidth = "2" min = "0" yUnitSystem = "binary" title = "Total" [netio.metrics_filters] rx = "$service_name_template$.perfdata.rx.value" tx = "$service_name_template$.perfdata.tx.value" [netio.functions] ; usage = "alias(color($metric$, '#ff5566'), 'Usage (%)')" rx = "alias($metric$, 'Received [byte]')" tx = "alias($metric$, 'Transmitted [byte]')" ; ---------------------------------------------------------------------- ; graph per interface ; ---------------------------------------------------------------------- [netio_nic.graph] check_command = "NetIO" [netio_nic.urlparams] areaAlpha = "0.2" ; areaMode = "first" ; areaMode = "all" colorList = "e0e8f0,e8e0f0,6699aa,cc66dd" ; ^ ^ ^ ^ ; read trans read trans ; total interface lineWidth = "2" min = "0" yUnitSystem = "binary" title = "$nic$" [netio_nic.metrics_filters] ; total values (light colors) rx = "$service_name_template$.perfdata.rx.value" tx = "$service_name_template$.perfdata.tx.value" ; values of a single interface rx2 = "$service_name_template$.perfdata.rx-$nic$.value" tx2 = "$service_name_template$.perfdata.tx-$nic$.value" [netio_nic.functions] rx2 = "alias($metric$, 'Received [byte]')" tx2 = "alias($metric$, 'Transmitted [byte]')" rx = "alias($metric$, 'Received total')" tx = "alias($metric$, 'Transmitted total')"