I'm trying to create a dashboard that presents the bandwidth utilization for switchports that connect to our vendor controlled routers. We have about 10 locations and I'd like to add the bandwidth graph from each switchport that connects to the router router in each location. This is simple enough, but the presentation of the data leaves a few things I'd like to modify.
1. I have added a description to each graph, but this is only available if a user mouses over on the graph. The graph shows "Datasource: ds1", but I'm not sure how to change that.
2. Thresholds for Warning and Critical are not shown in the graph. Circuit speeds and thresholds are different at each location and I'd like to display the bandwidth relative to the thresholds all in one place.
3. On the left it says Mb/s but if traffic is below a certain amount, traffic is displayed as 100-900 m
Is there a better way to go about this, or is this just not something that is commonly done?
Bandwidth Dashboard
-
thepacketslinger
- Posts: 4
- Joined: Thu Sep 20, 2012 9:29 am
Bandwidth Dashboard
You do not have the required permissions to view the files attached to this post.
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: Bandwidth Dashboard
I think these changes are possible. However it would likely require changes to some of our protected code. We will discuss with a few developers, but I might also suggest to contact sales and look into custom development of a new dashlet for you. I think this could be done pretty quickly.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Re: Bandwidth Dashboard
Hi,
This feature/question is of great interest to me as well. Specifically I'm interested in part 2 of the original post:
2. Thresholds for Warning and Critical are not shown in the graph. Circuit speeds and thresholds are different at each location and I'd like to display the bandwidth relative to the thresholds all in one place.
I know when I create performance data through a plugin I can define these thresholds and they show up as lines on the graph. Can this be done for Bandwidth graphs created via mrtg?
Should I open a separate query for this?
Cheers,
Lee Benson
Transmax
This feature/question is of great interest to me as well. Specifically I'm interested in part 2 of the original post:
2. Thresholds for Warning and Critical are not shown in the graph. Circuit speeds and thresholds are different at each location and I'd like to display the bandwidth relative to the thresholds all in one place.
I know when I create performance data through a plugin I can define these thresholds and they show up as lines on the graph. Can this be done for Bandwidth graphs created via mrtg?
Should I open a separate query for this?
Cheers,
Lee Benson
Transmax
Re: Bandwidth Dashboard
2. Thresholds will only display as you near the threshold. The graph images, when generated, will do so based on the max 'y' value recorded. When setting up monitoring through the switch/routing wizard, thresholds can be specified. In you example, both of these ports are averaging less than 1Mbps - If these are 10/100 or gigabit, the recorded values are much smaller than the default thresholds.
3. 'm' represents 'mils' - so 600m is equivalent to 0.6 Mbps.
3. 'm' represents 'mils' - so 600m is equivalent to 0.6 Mbps.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: Bandwidth Dashboard
Hi again,
Sorry to disagree, but your comment on 2) is incorrect.
Please see images attached. In the last month, the warning threshold was passed twice. We got alerts (good) but the graph does NOT show the threshold lines.
Cheers,
Lee
Sorry to disagree, but your comment on 2) is incorrect.
Please see images attached. In the last month, the warning threshold was passed twice. We got alerts (good) but the graph does NOT show the threshold lines.
Cheers,
Lee
You do not have the required permissions to view the files attached to this post.
Re: Bandwidth Dashboard
Seems that is the case with the mrtg template. You could add the threshold lines by adding a few lines to the mrtg template:transmax wrote:Sorry to disagree, but your comment on 2) is incorrect.
Code: Select all
vi /usr/local/nagios/share/pnp/templates/check_xi_service_mrtgtraf.phpCode: Select all
$def[1] .= "HRULE:$WARN[1]#ffff00:\"IN Warning $WARN[1]$UNIT[1] \" " ;
$def[1] .= "HRULE:$CRIT[1]#ff0000:\"IN Critical $CRIT[1]$UNIT[1] \" " ;
$def[1] .= "HRULE:$WARN[2]#ffcc00:\"OUT Warning $WARN[2] $UNIT[2] \" " ;
$def[1] .= "HRULE:$CRIT[2]#a00000:\"OUT Critical $CRIT[2] $UNIT[2] \" " ;I will talk to the devs as I am unsure why this was not a part of the template to begin with.
You do not have the required permissions to view the files attached to this post.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.