after importing database poller doesn't work

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
myrpedder
Posts: 2
Joined: Wed Jun 27, 2007 4:50 am
Location: Germany

after importing database poller doesn't work

Post by myrpedder »

Hey all,
after transfer of cacti from one system to another, the poller.php searches scripts in wrong path. The installation path from cacti on both systems is different.

System_old:
Cacti in <path_old>
Database: cacti.old

System_new:
Cacti in <path_new>
Database: cacti.new

After transfer cacti from System_old to System_new I made tests with the default configuration. Everything works fine.

Now I imported the database cacti.old to the new system to use old data and configuration.

After that, poller.php looks for scripts etc. in <path.old>. But there are no scripts. I think the path for the poller is located in the database.
Where? Can I change the path on an easy way?
Can anybody help?
Kind regards

Joerg
Last edited by myrpedder on Wed Aug 22, 2007 3:39 pm, edited 1 time in total.
jay
Cacti User
Posts: 390
Joined: Wed Aug 31, 2005 8:55 am
Location: Bristol, England

Post by jay »

Hi

Are you using windows or Linux??

If windows are you talking about the scheduled task? If so you need to check its pointing to the correct path for poller.php

e.g
c:\php\php.exe c:\inetpub\wwwroot\cacti\poller.php

If not what are you paths for all your Cacti components?

Jay
Cacti Version 0.8.7e, Spine 0.8.7e, Apache 2.2.15, Mysql 5.0.88, PHP 5.2.13, RRDTool 1.2.30, NET-SNMP 5.5
Quad Core AMD Opteron Processor 2384, 2.70Ghz, 2GB RAM , 1 CPU used
Windows Server 2003 (X64), VMWARE ESX
Plugins: Aggregate 0.75

SYSTEM STATS: Time:12.5140 Method:spine Processes:2 Threads:15 Hosts:400 HostsPerProcess:200 DataSources:2909 RRDsProcessed:1384
myrpedder
Posts: 2
Joined: Wed Jun 27, 2007 4:50 am
Location: Germany

Post by myrpedder »

Sorry, I'm using Linux (Fedora)
Kind regards
jay
Cacti User
Posts: 390
Joined: Wed Aug 31, 2005 8:55 am
Location: Bristol, England

Post by jay »

I'm not a Linux expert I'm afraid so can't hep you there. It might be worth going through the install guide/upgrade guide and see if you have missed something. Sorry for not being able to assist any more.

Jay
Cacti Version 0.8.7e, Spine 0.8.7e, Apache 2.2.15, Mysql 5.0.88, PHP 5.2.13, RRDTool 1.2.30, NET-SNMP 5.5
Quad Core AMD Opteron Processor 2384, 2.70Ghz, 2GB RAM , 1 CPU used
Windows Server 2003 (X64), VMWARE ESX
Plugins: Aggregate 0.75

SYSTEM STATS: Time:12.5140 Method:spine Processes:2 Threads:15 Hosts:400 HostsPerProcess:200 DataSources:2909 RRDsProcessed:1384
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: after importing database poller doesn't work

Post by gandalf »

myrpedder wrote:Hey all,
after transfer of cacti from one system to another, the poller.php searches scripts in wrong path.
Please try

Code: Select all

php -q rebuild_poller_cache.php
Reinhard
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests