Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Network usage bw and 95th percentil #5

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pack/commands.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
1 change: 1 addition & 0 deletions share/templates/graphite/check_linux_network_usage.graph
Original file line number Diff line number Diff line change
@@ -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)