change directory name cann't view graph

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

Moderators: Developers, Moderators

Post Reply
jimmyx
Posts: 5
Joined: Wed Oct 19, 2005 4:05 am

change directory name cann't view graph

Post by jimmyx »

after i change directory name to "mrtg" from "cacti",
cann't view new graph and change back directory name, all graph back to normal.

[root@test-server cacti]# pwd
/var/www/html/cacti
[root@test-server cacti]# mv /var/www/html/cacti /var/www/html/mrtg
cann't view graph
[root@test-server cacti]# mv /var/www/html/mrtg /var/www/html/cacti
normal
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

take a look at the Cacti MySQL database; in the settings table, you'll find :

Code: Select all

path_webroot = /path/to/cacti
path_webcacti = /cacti
[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]
jimmyx
Posts: 5
Joined: Wed Oct 19, 2005 4:05 am

Post by jimmyx »

yes,i can find code:
path_webroot = /path/to/cacti

but cann't find code:
path_webcacti = /cacti

the issue still not fix when i replace that record.
any idea for it. cacti version is 0.8.6d
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Clear Poller Cache

Run it...
[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]
jimmyx
Posts: 5
Joined: Wed Oct 19, 2005 4:05 am

Post by jimmyx »

fixed it. need to re-config /etc/crontab file
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests