RRD's won't populate after server move :S
Moderators: Developers, Moderators
-
- Posts: 14
- Joined: Tue May 16, 2006 4:59 am
RRD's won't populate after server move :S
hey guys. i just did a server move for cacti. I imported all the rrd's, dumped and imported the mysql db, and added the poller.php into crontab.
I just don't understand why I can't get cacti to populate and show new data. (although the old data,already in the rrd, did show up)
any ideas?
Rick
IT.pt Tech
I just don't understand why I can't get cacti to populate and show new data. (although the old data,already in the rrd, did show up)
any ideas?
Rick
IT.pt Tech
-
- Posts: 14
- Joined: Tue May 16, 2006 4:59 am
-
- Posts: 14
- Joined: Tue May 16, 2006 4:59 am
-
- Posts: 14
- Joined: Tue May 16, 2006 4:59 am
-
- Posts: 14
- Joined: Tue May 16, 2006 4:59 am
- fmangeant
- Cacti Guru User
- Posts: 2345
- Joined: Fri Sep 19, 2003 8:36 am
- Location: Sophia-Antipolis, France
- Contact:
Hi
IMO it's in the settings table, something like this :
IMO it's in the settings table, something like this :
Code: Select all
path_webroot /var/www/html/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]
[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]
-
- Posts: 14
- Joined: Tue May 16, 2006 4:59 am
- fmangeant
- Cacti Guru User
- Posts: 2345
- Joined: Fri Sep 19, 2003 8:36 am
- Location: Sophia-Antipolis, France
- Contact:
I'm using phpmyadmin to change things like that.
[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]
[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]
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
<path_rra> is deduced from cacti's installation path, appended is "/rra". There's no settings for that, it's pure code. But why are you asking for <path_rra>, when your scripts path is wrong? <path_rra> points to the rrd file's directory.sourcecode wrote:i think i saw one problema already. the poller is looking for the scripts in the wrong directory. how could i change the <path_rra> ?
Script paths are given under Data Input Method, per script. You may use <path_cacti> as a replacement for cacti's installation path. If you change anything here, please php reuild_poller_cache.php
Reinhard
- fmangeant
- Cacti Guru User
- Posts: 2345
- Joined: Fri Sep 19, 2003 8:36 am
- Location: Sophia-Antipolis, France
- Contact:
Hi Reinhardlvm wrote:<path_rra> is deduced from cacti's installation path, appended is "/rra". There's no settings for that, it's pure code. But why are you asking for <path_rra>, when your scripts path is wrong? <path_rra> points to the rrd file's directory.
if you move your Cacti installation from /path1 on one server to /path2 on another server, does this setting gets modified by 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]
[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]
-
- Posts: 14
- Joined: Tue May 16, 2006 4:59 am
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
You're typing too fast for me!fmangeant wrote:Hi Reinhardlvm wrote:<path_rra> is deduced from cacti's installation path, appended is "/rra". There's no settings for that, it's pure code. But why are you asking for <path_rra>, when your scripts path is wrong? <path_rra> points to the rrd file's directory.
if you move your Cacti installation from /path1 on one server to /path2 on another server, does this setting gets modified by Cacti ?
AFAIK (did not try), only moving will not change it, cause <path_cacti> is retrieved from Settings->Paths. This will be determined only at startup. But after moving, I suppose, you'll have first to change this settings and then php rebuild_poller_cache.php. This should do, but I never tried on my own
Reinhard
-
- Posts: 14
- Joined: Tue May 16, 2006 4:59 am
is it possible to change the paths in settings> paths ? i cant find anything there about <path_cacti>, only got on mine:
snmpwalk Binary Path
The path to your snmpwalk binary.
snmpget Binary Path
The path to your snmpget binary.
snmpbulkwalk Binary Path
The path to your snmpbulkwalk binary.
snmpgetnext Binary Path
The path to your snmpgetnext binary.
RRDTool Binary Path
The path to the rrdtool binary.
RRDTool Default Font Path
The path to the rrdtool default true type font for version 1.2 and above.
PHP Binary Path
The path to your PHP binary file (may require a php recompile to get this file).
Logging
Cacti Log File Path
The path to your Cacti log file (if blank, defaults to /log/cacti.log)
Alternate Poller Path
Cactid Poller File Path
The path to Cactid binary.
snmpwalk Binary Path
The path to your snmpwalk binary.
snmpget Binary Path
The path to your snmpget binary.
snmpbulkwalk Binary Path
The path to your snmpbulkwalk binary.
snmpgetnext Binary Path
The path to your snmpgetnext binary.
RRDTool Binary Path
The path to the rrdtool binary.
RRDTool Default Font Path
The path to the rrdtool default true type font for version 1.2 and above.
PHP Binary Path
The path to your PHP binary file (may require a php recompile to get this file).
Logging
Cacti Log File Path
The path to your Cacti log file (if blank, defaults to /log/cacti.log)
Alternate Poller Path
Cactid Poller File Path
The path to Cactid binary.
Who is online
Users browsing this forum: No registered users and 1 guest