diff --git a/pack/commands.cfg b/pack/commands.cfg index d49ea38..911db60 100644 --- a/pack/commands.cfg +++ b/pack/commands.cfg @@ -22,7 +22,7 @@ define command { define command { command_name check_linux_network_usage - command_line $PLUGINSDIR$/check_netint.pl -H $HOSTADDRESS$ -C $_HOSTSNMPCOMMUNITY$ -n "$_HOSTNET_IFACES$" -f -e -w $_HOSTNET_WARN$ -c $_HOSTNET_CRIT$ -q -k -y -M -B -m -P "$SERVICEPERFDATA$" -T "$LASTSERVICECHECK$" -o $_HOSTSNMP_MSG_MAX_SIZE$ + command_line $PLUGINSDIR$/check_netint.pl -H $HOSTADDRESS$ -C $_HOSTSNMPCOMMUNITY$ -n "$_HOSTNET_IFACES$" -f -e -w $_HOSTNET_WARN$ -c $_HOSTNET_CRIT$ -q -k -Y -M -B -m -P "$SERVICEPERFDATA$" -T "$LASTSERVICECHECK$" -o $_HOSTSNMP_MSG_MAX_SIZE$ } define command { diff --git a/share/templates/graphite/check_linux_network_usage.graph b/share/templates/graphite/check_linux_network_usage.graph new file mode 100644 index 0000000..21f1714 --- /dev/null +++ b/share/templates/graphite/check_linux_network_usage.graph @@ -0,0 +1 @@ +${uri}render/?width=586&height=308&lineMode=connected&vtitle=Network%20Usage%20(bps)&fgcolor=000000&bgcolor=FFFFFF)&yMin=0&target=legendValue(alias(nPercentile(${host}.${service}.eth0_out_bps%2C95)%2C%22Eth0 out 95th prct%22)%2C%22last%22)&target=legendValue(alias(${host}.${service}.eth0_out_bps%2C%22Eth0 outgoing bandwidth%22)%2C%22last%22)&target=legendValue(alias(nPercentile(${host}.${service}.eth0_in_bps%2C95)%2C%22Eth0 in 95th prct%22)%2C%22last%22)&target=legendValue(alias(${host}.${service}.eth0_in_bps%2C%22Eth0 in bandwidth%22)%2C%22last%22)