Poller.php no working

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

Moderators: Developers, Moderators

Post Reply
dabigshiznizzle
Posts: 5
Joined: Thu Jan 06, 2005 1:17 pm

Poller.php no working

Post by dabigshiznizzle »

I can't seem to get my poller.php to execute. I am monitoring the localhost and a Cisco router so I do have data sources created. I also cleared the poller cache, but that didn't seem to help either. I have checked to verify that polling is enabled.

This is a Gentoo install so if anyone can help, thanks.

Code: Select all

 php poller.php
There are no items in your poller cache or polling is disabled. Make sure you have at least one data source created. If you do, go to 'Utilities', and select 'Clear Poller Cache'.
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

What version of cacti?

What version of PHP?
[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]
dabigshiznizzle
Posts: 5
Joined: Thu Jan 06, 2005 1:17 pm

Post by dabigshiznizzle »

cacti 0.8.6c
php-4.3.7-r1
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Please post your poller cache.

Thanks!

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Guest

Post by Guest »

There isn't any content in the poller cache. Below is the content from the cacti.log


Code: Select all

01/07/2005 01:51:58 PM - CMDPHP: Poller[0] ERROR: Either there are no items in the cache or polling is disabled  
01/07/2005 12:17:15 PM - WEBLOG: Poller[0] CACTI2RRD: /usr/bin/rrdtool graph - --imgformat=PNG --start=-86400 --end=-300 --title="Localhost - Memory Usage" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 --vertical-label="kilobytes" DEF:a="/var/www/localhost/htdocs/cacti/rra/localhost_mem_buffers_3.rrd":mem_buffers:AVERAGE DEF:b="/var/www/localhost/htdocs/cacti/rra/localhost_mem_swap_4.rrd":mem_swap:AVERAGE AREA:a#FF4105:"Free" GPRINT:a:LAST:"Current\:%8.2lf %s" GPRINT:a:AVERAGE:"Average\:%8.2lf %s" GPRINT:a:MAX:"Maximum\:%8.2lf %s\n" STACK:b#FFC73B:"Swap" GPRINT:b:LAST:"Current\:%8.2lf %s" GPRINT:b:AVERAGE:"Average\:%8.2lf %s" GPRINT:b:MAX:"Maximum\:%8.2lf %s"  
01/07/2005 12:17:15 PM - WEBLOG: Poller[0] CACTI2RRD: /usr/bin/rrdtool graph - --imgformat=PNG --start=-86400 --end=-300 --title="Localhost - Memory Usage" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 --vertical-label="kilobytes" DEF:a="/var/www/localhost/htdocs/cacti/rra/localhost_mem_buffers_3.rrd":mem_buffers:AVERAGE DEF:b="/var/www/localhost/htdocs/cacti/rra/localhost_mem_swap_4.rrd":mem_swap:AVERAGE AREA:a#FF4105:"Free" GPRINT:a:LAST:"Current\:%8.2lf %s" GPRINT:a:AVERAGE:"Average\:%8.2lf %s" GPRINT:a:MAX:"Maximum\:%8.2lf %s\n" STACK:b#FFC73B:"Swap" GPRINT:b:LAST:"Current\:%8.2lf %s" GPRINT:b:AVERAGE:"Average\:%8.2lf %s" GPRINT:b:MAX:"Maximum\:%8.2lf %s"  
01/07/2005 12:17:06 PM - WEBLOG: Poller[0] CACTI2RRD: /usr/bin/rrdtool graph - --imgformat=PNG --start=1105013826 --end=1105100226 --title="Localhost - Memory Usage" --rigid --base=1000 --height=100 --width=300 --alt-autoscale-max --lower-limit=0 --no-legend COMMENT:"From 2005/01/06 12:17:06 To 2005/01/07 12:17:06\c" COMMENT:"\n" --vertical-label="kilobytes" DEF:a="/var/www/localhost/htdocs/cacti/rra/localhost_mem_buffers_3.rrd":mem_buffers:AVERAGE DEF:b="/var/www/localhost/htdocs/cacti/rra/localhost_mem_swap_4.rrd":mem_swap:AVERAGE AREA:a#FF4105:"" STACK:b#FFC73B:""  
01/07/2005 12:17:06 PM - WEBLOG: Poller[0] CACTI2RRD: /usr/bin/rrdtool graph - --imgformat=PNG --start=1105013826 --end=1105100226 --title="Localhost - Processes" --base=1000 --height=100 --width=300 --alt-autoscale-max --lower-limit=0 --no-legend COMMENT:"From 2005/01/06 12:17:06 To 2005/01/07 12:17:06\c" COMMENT:"\n" --vertical-label="processes" DEF:a="/var/www/localhost/htdocs/cacti/rra/localhost_proc_7.rrd":proc:AVERAGE AREA:a#F51D30:""  
01/07/2005 12:17:06 PM - WEBLOG: Poller[0] CACTI2RRD: /usr/bin/rrdtool graph - --imgformat=PNG --start=1105013826 --end=1105100226 --title="Localhost - Logged in Users" --rigid --base=1000 --height=100 --width=300 --alt-autoscale-max --lower-limit=0 --no-legend COMMENT:"From 2005/01/06 12:17:06 To 2005/01/07 12:17:06\c" COMMENT:"\n" --vertical-label="users" DEF:a="/var/www/localhost/htdocs/cacti/rra/localhost_users_6.rrd":users:AVERAGE AREA:a#4668E4:""  
01/07/2005 12:17:06 PM - WEBLOG: Poller[0] CACTI2RRD: /usr/bin/rrdtool graph - --imgformat=PNG --start=1105013826 --end=1105100226 --title="7206ex- Traffic" --rigid --base=1000 --height=100 --width=300 --alt-autoscale-max --lower-limit=0 --no-legend COMMENT:"From 2005/01/06 12:17:06 To 2005/01/07 12:17:06\c" COMMENT:"\n" --vertical-label="bits per second" CDEF:cdefa=a,8,* CDEF:cdefe=a,8,* AREA:cdefa#00CF00:"" LINE1:cdefe#002A97:""  
01/07/2005 12:17:06 PM - WEBLOG: Poller[0] CACTI2RRD: /usr/bin/rrdtool graph - --imgformat=PNG --start=1105013826 --end=1105100226 --title="Localhost - Load Average" --rigid --base=1000 --height=100 --width=300 --alt-autoscale-max --lower-limit=0 --units-exponent=0 --no-legend COMMENT:"From 2005/01/06 12:17:06 To 2005/01/07 12:17:06\c" COMMENT:"\n" --vertical-label="processes in the run queue" DEF:a="/var/www/localhost/htdocs/cacti/rra/localhost_load_1min_5.rrd":load_1min:AVERAGE DEF:b="/var/www/localhost/htdocs/cacti/rra/localhost_load_1min_5.rrd":load_5min:AVERAGE DEF:c="/var/www/localhost/htdocs/cacti/rra/localhost_load_1min_5.rrd":load_15min:AVERAGE CDEF:cdefg=TIME,1105099926,GT,a,a,UN,0,a,IF,IF,TIME,1105099926,GT,b,b,UN,0,b,IF,IF,TIME,1105099926,GT,c,c,UN,0,c,IF,IF,+,+ AREA:a#EACC00:"" STACK:b#EA8F00:"" STACK:c#FF0000:"" LINE1:cdefg#000000:""  
01/07/2005 12:17:05 PM - WEBLOG: Poller[0] CACTI2RRD: /usr/bin/rrdtool graph - --imgformat=PNG --start=1105013665 --end=1105100065 --title="7206ex- Traffic" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 COMMENT:"From 2005/01/06 12:14:25 To 2005/01/07 12:14:25\c" COMMENT:"\n" --vertical-label="bits per second" CDEF:cdefa=a,8,* CDEF:cdefe=a,8,* AREA:cdefa#00CF00:"Inbound" GPRINT:cdefa:LAST:" Current\:%8.2lf %s" GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n" LINE1:cdefe#002A97:"Outbound" GPRINT:cdefe:LAST:"Current\:%8.2lf %s" GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s"  
01/07/2005 12:14:32 PM - WEBLOG: Poller[0] CACTI2RRD: /usr/bin/rrdtool graph - --imgformat=PNG --start=1105013665 --end=1105100065 --title="7206ex- Traffic" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 COMMENT:"From 2005/01/06 12:14:25 To 2005/01/07 12:14:25\c" COMMENT:"\n" --vertical-label="bits per second" CDEF:cdefa=a,8,* CDEF:cdefe=a,8,* AREA:cdefa#00CF00:"Inbound" GPRINT:cdefa:LAST:" Current\:%8.2lf %s" GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n" LINE1:cdefe#002A97:"Outbound" GPRINT:cdefe:LAST:"Current\:%8.2lf %s" GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s"  
01/07/2005 12:14:29 PM - WEBLOG: Poller[0] CACTI2RRD: /usr/bin/rrdtool graph - --imgformat=PNG --start=1105013665 --end=1105100065 --title="7206ex- Traffic" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 COMMENT:"From 2005/01/06 12:14:25 To 2005/01/07 12:14:25\c" COMMENT:"\n" --vertical-label="bits per second" CDEF:cdefa=a,8,* CDEF:cdefe=a,8,* AREA:cdefa#00CF00:"Inbound" GPRINT:cdefa:LAST:" Current\:%8.2lf %s" GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n" LINE1:cdefe#002A97:"Outbound" GPRINT:cdefe:LAST:"Current\:%8.2lf %s" GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s"  
01/07/2005 12:14:26 PM - WEBLOG: Poller[0] CACTI2RRD: /usr/bin/rrdtool graph - --imgformat=PNG --start=1105013665 --end=1105100065 --title="Localhost - Memory Usage" --rigid --base=1000 --height=100 --width=300 --alt-autoscale-max --lower-limit=0 --no-legend COMMENT:"From 2005/01/06 12:14:25 To 2005/01/07 12:14:25\c" COMMENT:"\n" --vertical-label="kilobytes" DEF:a="/var/www/localhost/htdocs/cacti/rra/localhost_mem_buffers_3.rrd":mem_buffers:AVERAGE DEF:b="/var/www/localhost/htdocs/cacti/rra/localhost_mem_swap_4.rrd":mem_swap:AVERAGE AREA:a#FF4105:"" STACK:b#FFC73B:""  
01/07/2005 12:14:26 PM - WEBLOG: Poller[0] CACTI2RRD: /usr/bin/rrdtool graph - --imgformat=PNG --start=1105013665 --end=1105100065 --title="Localhost - Processes" --base=1000 --height=100 --width=300 --alt-autoscale-max --lower-limit=0 --no-legend COMMENT:"From 2005/01/06 12:14:25 To 2005/01/07 12:14:25\c" COMMENT:"\n" --vertical-label="processes" DEF:a="/var/www/localhost/htdocs/cacti/rra/localhost_proc_7.rrd":proc:AVERAGE AREA:a#F51D30:""  
01/07/2005 12:14:25 PM - WEBLOG: Poller[0] CACTI2RRD: /usr/bin/rrdtool graph - --imgformat=PNG --start=1105013665 --end=1105100065 --title="Localhost - Logged in Users" --rigid --base=1000 --height=100 --width=300 --alt-autoscale-max --lower-limit=0 --no-legend COMMENT:"From 2005/01/06 12:14:25 To 2005/01/07 12:14:25\c" COMMENT:"\n" --vertical-label="users" DEF:a="/var/www/localhost/htdocs/cacti/rra/localhost_users_6.rrd":users:AVERAGE AREA:a#4668E4:""  
01/07/2005 12:14:25 PM - WEBLOG: Poller[0] CACTI2RRD: /usr/bin/rrdtool graph - --imgformat=PNG --start=1105013665 --end=1105100065 --title="Localhost - Load Average" --rigid --base=1000 --height=100 --width=300 --alt-autoscale-max --lower-limit=0 --units-exponent=0 --no-legend COMMENT:"From 2005/01/06 12:14:25 To 2005/01/07 12:14:25\c" COMMENT:"\n" --vertical-label="processes in the run queue" DEF:a="/var/www/localhost/htdocs/cacti/rra/localhost_load_1min_5.rrd":load_1min:AVERAGE DEF:b="/var/www/localhost/htdocs/cacti/rra/localhost_load_1min_5.rrd":load_5min:AVERAGE DEF:c="/var/www/localhost/htdocs/cacti/rra/localhost_load_1min_5.rrd":load_15min:AVERAGE CDEF:cdefg=TIME,1105099765,GT,a,a,UN,0,a,IF,IF,TIME,1105099765,GT,b,b,UN,0,b,IF,IF,TIME,1105099765,GT,c,c,UN,0,c,IF,IF,+,+ AREA:a#EACC00:"" STACK:b#EA8F00:"" STACK:c#FF0000:"" LINE1:cdefg#000000:""  
01/07/2005 12:14:25 PM - WEBLOG: Poller[0] CACTI2RRD: /usr/bin/rrdtool graph - --imgformat=PNG --start=1105013665 --end=1105100065 --title="7206ex- Traffic" --rigid --base=1000 --height=100 --width=300 --alt-autoscale-max --lower-limit=0 --no-legend COMMENT:"From 2005/01/06 12:14:25 To 2005/01/07 12:14:25\c" COMMENT:"\n" --vertical-label="bits per second" CDEF:cdefa=a,8,* CDEF:cdefe=a,8,* AREA:cdefa#00CF00:"" LINE1:cdefe#002A97:""  
01/07/2005 12:13:07 PM - CMDPHP: Poller[0] ERROR: Either there are no items in the cache or polling is disabled  
01/07/2005 12:12:52 PM - WEBLOG: Poller[0] CACTI2RRD: /usr/bin/rrdtool graph - --imgformat=PNG --start=-86400 --end=-300 --title="Localhost - Logged in Users" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 --vertical-label="users" DEF:a="/var/www/localhost/htdocs/cacti/rra/localhost_users_6.rrd":users:AVERAGE AREA:a#4668E4:"Users" GPRINT:a:LAST:"Current\:%8.0lf" GPRINT:a:AVERAGE:"Average\:%8.0lf" GPRINT:a:MAX:"Maximum\:%8.0lf"  
01/07/2005 12:12:52 PM - WEBLOG: Poller[0] CACTI2RRD: /usr/bin/rrdtool graph - --imgformat=PNG --start=-86400 --end=-300 --title="Localhost - Logged in Users" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 --vertical-label="users" DEF:a="/var/www/localhost/htdocs/cacti/rra/localhost_users_6.rrd":users:AVERAGE AREA:a#4668E4:"Users" GPRINT:a:LAST:"Current\:%8.0lf" GPRINT:a:AVERAGE:"Average\:%8.0lf" GPRINT:a:MAX:"Maximum\:%8.0lf"  
01/07/2005 11:51:29 AM - WEBLOG: Poller[0] CACTI2RRD: /usr/bin/rrdtool graph - --imgformat=PNG --start=-86400 --end=-300 --title="Localhost - Load Average" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 --units-exponent=0 --vertical-label="processes in the run queue" DEF:a="/var/www/localhost/htdocs/cacti/rra/localhost_load_1min_5.rrd":load_1min:AVERAGE DEF:b="/var/www/localhost/htdocs/cacti/rra/localhost_load_1min_5.rrd":load_5min:AVERAGE DEF:c="/var/www/localhost/htdocs/cacti/rra/localhost_load_1min_5.rrd":load_15min:AVERAGE CDEF:cdefg=TIME,1105098389,GT,a,a,UN,0,a,IF,IF,TIME,1105098389,GT,b,b,UN,0,b,IF,IF,TIME,1105098389,GT,c,c,UN,0,c,IF,IF,+,+ AREA:a#EACC00:"1 Minute Average" GPRINT:a:LAST:" Current\:%8.2lf\n" STACK:b#EA8F00:"5 Minute Average" GPRINT:b:LAST:" Current\:%8.2lf\n" STACK:c#FF0000:"15 Minute Average" GPRINT:c:LAST:"Current\:%8.2lf\n" LINE1:cdefg#000000:""  
01/07/2005 11:51:28 AM - WEBLOG: Poller[0] CACTI2RRD: /usr/bin/rrdtool graph - --imgformat=PNG --start=-86400 --end=-300 --title="Localhost - Load Average" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 --units-exponent=0 --vertical-label="processes in the run queue" DEF:a="/var/www/localhost/htdocs/cacti/rra/localhost_load_1min_5.rrd":load_1min:AVERAGE DEF:b="/var/www/localhost/htdocs/cacti/rra/localhost_load_1min_5.rrd":load_5min:AVERAGE DEF:c="/var/www/localhost/htdocs/cacti/rra/localhost_load_1min_5.rrd":load_15min:AVERAGE CDEF:cdefg=TIME,1105098388,GT,a,a,UN,0,a,IF,IF,TIME,1105098388,GT,b,b,UN,0,b,IF,IF,TIME,1105098388,GT,c,c,UN,0,c,IF,IF,+,+ AREA:a#EACC00:"1 Minute Average" GPRINT:a:LAST:" Current\:%8.2lf\n" STACK:b#EA8F00:"5 Minute Average" GPRINT:b:LAST:" Current\:%8.2lf\n" STACK:c#FF0000:"15 Minute Average" GPRINT:c:LAST:"Current\:%8.2lf\n" LINE1:cdefg#000000:""  
dabigshiznizzle
Posts: 5
Joined: Thu Jan 06, 2005 1:17 pm

Post by dabigshiznizzle »

Problem solved. When in doubt nuke the SQL database and recreate.


laters
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests