[SOLVED] Total Bandwidth graph not showing Total In

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

deanmaglinte
Posts: 10
Joined: Mon Oct 22, 2007 2:55 pm
Location: Westfield, Indiana

[SOLVED] Total Bandwidth graph not showing Total In

Post by deanmaglinte »

I am graphing the total bandwidth flowing through some of the ports on a switch. I setup the (bytes/sec, Total bandwidth) graph related to whatever ports I want and it seems to be collecting the data I need. However, when I look at the graph I can't see the total inbound traffic! It shows the total outbound traffic, but the inbound traffic gets cutoff. Can someone show me how to adjust this?

Image
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

This is a font size issue. Lower font size or edit Graph Template and mark <HR> on the 4th graph template item
Reinhard
deanmaglinte
Posts: 10
Joined: Mon Oct 22, 2007 2:55 pm
Location: Westfield, Indiana

Post by deanmaglinte »

I'm a newbie to Cacti. how do I go about changing the font size?

Thanks.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Settings -> Visual
Reinhard
deanmaglinte
Posts: 10
Joined: Mon Oct 22, 2007 2:55 pm
Location: Westfield, Indiana

Post by deanmaglinte »

I dropped the font size down to 4, saved the changes and actually restarted the whole server.....just to make sure all the changes were seen by Cacti. This did not fix my issue. Got any other tips?

Thanks.
deanmaglinte
Posts: 10
Joined: Mon Oct 22, 2007 2:55 pm
Location: Westfield, Indiana

Post by deanmaglinte »

In the graph template, it looks like item #5 (COMMENT:Total In) has an <HR> after it already.
User avatar
fmangeant
Cacti Guru User
Posts: 2345
Joined: Fri Sep 19, 2003 8:36 am
Location: Sophia-Antipolis, France
Contact:

Post by fmangeant »

Hi

do you have some per-user visual settings ?
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
deanmaglinte
Posts: 10
Joined: Mon Oct 22, 2007 2:55 pm
Location: Westfield, Indiana

Post by deanmaglinte »

There are per-user visual settings. I just altered them to:

Title Font Size: 8
Legend Font Size: 6
Axis Font Size: 4
Unit Font Size: 4

What is the best way to restart all the Cacti services (command line and GUI)?
User avatar
fmangeant
Cacti Guru User
Posts: 2345
Joined: Fri Sep 19, 2003 8:36 am
Location: Sophia-Antipolis, France
Contact:

Post by fmangeant »

IMHO you don't have to restart anything after changing font sizes.
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
deanmaglinte
Posts: 10
Joined: Mon Oct 22, 2007 2:55 pm
Location: Westfield, Indiana

Post by deanmaglinte »

I have basically changed the font sizes to half of their previuos values and it does not change anything on my graphs. Am I missing something?
User avatar
fmangeant
Cacti Guru User
Posts: 2345
Joined: Fri Sep 19, 2003 8:36 am
Location: Sophia-Antipolis, France
Contact:

Post by fmangeant »

For each element (title, legend, etc.), did you fill the path to the font ?
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
deanmaglinte
Posts: 10
Joined: Mon Oct 22, 2007 2:55 pm
Location: Westfield, Indiana

Post by deanmaglinte »

Are you referring to Title Font File, Legend Font File, Axis Font File, Unit Font File? Those were blank, by default, so I have not touched those yet. Should I change these as well?
User avatar
fmangeant
Cacti Guru User
Posts: 2345
Joined: Fri Sep 19, 2003 8:36 am
Location: Sophia-Antipolis, France
Contact:

Post by fmangeant »

Yes, if you choose custom font sizes, you have to fill the path the font.
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
deanmaglinte
Posts: 10
Joined: Mon Oct 22, 2007 2:55 pm
Location: Westfield, Indiana

Post by deanmaglinte »

I apologize for newbie questions, but I don't know what the path to the font file is or the name of the font file?
User avatar
fmangeant
Cacti Guru User
Posts: 2345
Joined: Fri Sep 19, 2003 8:36 am
Location: Sophia-Antipolis, France
Contact:

Post by fmangeant »

It should be the same than in Settings ->Paths -> RRDTool Default Font Path

Usually, RRDtool font is located here : /usr/share/rrdtool/fonts/DejaVuSansMono-Roman.ttf
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest