Poller problem (Fixed)

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Post Reply
User avatar
AndyStewart
Cacti User
Posts: 102
Joined: Thu Sep 29, 2005 5:21 am
Location: Edinburgh, Scotland

Poller problem (Fixed)

Post by AndyStewart »

I've just finished moving my CACTI install from a desktop PC to a proper server (about 6 months of back data)

everything looks good, all web pages come up ok, all the graphs are there are well.

One problem i "think" I have is the following error appearing in the CACTI.LOG
04/21/2006 10:54:52 AM - CMDPHP: Poller[0] Host[3] DS[22] WARNING: Result from SERVER not valid. Partial Result: WARNING: Function do
04/21/2006 10:54:52 AM - PHPSVR: Poller[0] WARNING: PHP Script File to be included, does not exist
04/21/2006 10:54:52 AM - PHPSVR: Poller[0] WARNING: Function does not exist
Any ideas? Something i've missed in the move?
Last edited by AndyStewart on Fri Apr 21, 2006 5:41 am, edited 1 time in total.
I don't care if the glass is half full or half empty, i want to know, who's been drinking my pint!!!

[size=75][Windows 2003 & IIS6] [Cacti 0.8.7b] [ActivePerl 5.8.8.817] [MySql 5.0.19] [NetSNMP 5.2.1.2-1] [PHP 5.1.2] [RRDTool 1.2.11]
[Plugins: PluginArchitecture, Monitor, Discovery, Threshold, Update, Reports, Manage, RealTime][/size]
User avatar
AndyStewart
Cacti User
Posts: 102
Joined: Thu Sep 29, 2005 5:21 am
Location: Edinburgh, Scotland

Post by AndyStewart »

Never mind - think i've found it....

I'd moved the cacti install from C: to E: and looks like there are still some references to C: in the code...
I don't care if the glass is half full or half empty, i want to know, who's been drinking my pint!!!

[size=75][Windows 2003 & IIS6] [Cacti 0.8.7b] [ActivePerl 5.8.8.817] [MySql 5.0.19] [NetSNMP 5.2.1.2-1] [PHP 5.1.2] [RRDTool 1.2.11]
[Plugins: PluginArchitecture, Monitor, Discovery, Threshold, Update, Reports, Manage, RealTime][/size]
User avatar
AndyStewart
Cacti User
Posts: 102
Joined: Thu Sep 29, 2005 5:21 am
Location: Edinburgh, Scotland

Post by AndyStewart »

Nope still got an issue:
04/21/2006 11:07:46 AM - CMDPHP: Poller[0] Host[3] DS[22] WARNING: Result from SERVER not valid. Partial Result: WARNING: Function do
04/21/2006 11:07:46 AM - CMDPHP: Poller[0] Host[3] DS[22] SERVER: C:\apache\htdocs\cacti\scripts\ss_host_cpu.php ss_host_cpu 10.170.50.50 3 1:161:500:$snmp0epatz:::MD5::[None] get usage 0, output: U
04/21/2006 11:07:46 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id,rrd_name,time,output) values (22,'cpu','2006-04-21 11:07:45','U')"
04/21/2006 11:07:46 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select poller_id,end_time from poller_time where poller_id = 0"
04/21/2006 11:07:46 AM - PHPSVR: Poller[0] DEBUG: INCLUDE: 'C:\apache\htdocs\cacti\scripts\ss_host_cpu.php' SCRIPT: 'ss_host_cpu' CMD: '10.170.50.50 3 1:161:500:$snmp0epatz:::MD5::[None] get usage 1'
04/21/2006 11:07:46 AM - PHPSVR: Poller[0] WARNING: PHP Script File to be included, does not exist
04/21/2006 11:07:46 AM - PHPSVR: Poller[0] WARNING: Function does not exist
For some reason its showing C:\APACHE\HTDOCS\CACTI\scripts etc for all the commands.

Everything is on E:\INETPUB\WWWROOT\CACTI\scripts etc.

I've searched all the files under CACTI and can find no entry anywhere that points to this path.

Any ideas where it is so I can sort it?
I don't care if the glass is half full or half empty, i want to know, who's been drinking my pint!!!

[size=75][Windows 2003 & IIS6] [Cacti 0.8.7b] [ActivePerl 5.8.8.817] [MySql 5.0.19] [NetSNMP 5.2.1.2-1] [PHP 5.1.2] [RRDTool 1.2.11]
[Plugins: PluginArchitecture, Monitor, Discovery, Threshold, Update, Reports, Manage, RealTime][/size]
User avatar
AndyStewart
Cacti User
Posts: 102
Joined: Thu Sep 29, 2005 5:21 am
Location: Edinburgh, Scotland

Post by AndyStewart »

nvm (again) - sorted it..

Cleared Poller cache - all working now....
I don't care if the glass is half full or half empty, i want to know, who's been drinking my pint!!!

[size=75][Windows 2003 & IIS6] [Cacti 0.8.7b] [ActivePerl 5.8.8.817] [MySql 5.0.19] [NetSNMP 5.2.1.2-1] [PHP 5.1.2] [RRDTool 1.2.11]
[Plugins: PluginArchitecture, Monitor, Discovery, Threshold, Update, Reports, Manage, RealTime][/size]
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests