Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
I have 2 problems with Cacti which I can't get right:
Problem 1:
I am trying to get some bandwidth stats from Cacti but I am not able to get a working image. I checked the rrdtool version and everything is set up correct.
ERROR: opening '/var/www/vhosts/xxx.com/httpdocs/status/rra/server01_traffic_in_62.rrd': No such file or directory
I added a server and added the Interface - Traffic (bits/sec, Total Bandwidth graph). I see this problem many times on the forum but never a good solution. I added rocommunity public to the servers snmpd.conf file and restarted snmpd.
Problem 2:
When I add my servers to tree mode I dont see them! I do see them in List and Preview mode! Any ideas?
Last edited by Aris on Sat Sep 30, 2006 12:57 am, edited 1 time in total.
this graph uses the same data source twice (traffic_in).
Go to graph management, and select traffic_out for the 2nd data source.
Aris wrote:Problem 2:
When I add my servers to tree mode I dont see them! I do see them in List and Preview mode! Any ideas?
Do you try to add them from devices management ? If yes, this bug has been corrected in the upcoming Cacti 0.8.6i release (http://bugs.cacti.net/view.php?id=731)
You can add your servers in a tree using tree management.
[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]
I added 4 servers and localhost.
Localhost creates graphs but servers 1 - 2 - 3 - 4 are all creating the exact same stats! Server01 has a constant load of 2.x and shows 0.6 just like all other servers!
this host template is meant to be used only with the Cacti server.
You can use the "ucd/net snmp" host template to graph other Unix servers.
[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]
this graph uses the same data source twice (traffic_in).
Go to graph management, and select traffic_out for the 2nd data source.
Aris wrote:Problem 2:
When I add my servers to tree mode I dont see them! I do see them in List and Preview mode! Any ideas?
Do you try to add them from devices management ? If yes, this bug has been corrected in the upcoming Cacti 0.8.6i release (http://bugs.cacti.net/view.php?id=731)
You can add your servers in a tree using tree management.
Incorrect sir... I have to point out that they are using the same rrdtool file, but 2 seperate DS stored in that rrdtool file.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
Question, did you add the template directly? If so, remove it. That template is part of the Interface Data Query.
So, so get traffic graphs, you will need to add the "Interface SNMP" data query to the host. Once you do that, you can then click "Create graphs for this host" link at the top of the page. Then select the interfaces you would like to graph and click create.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
rony wrote:Incorrect sir... I have to point out that they are using the same rrdtool file, but 2 seperate DS stored in that rrdtool file.
Sorry, I missed this
[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]