CMDPHP: Poller[0] ERROR

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

Moderators: Developers, Moderators

Post Reply
zoga08
Posts: 1
Joined: Tue Jan 23, 2007 8:20 am

CMDPHP: Poller[0] ERROR

Post by zoga08 »

Hi, i'm trying to generate the graphs, but happens some errors.

Looking the cacti.log, appears a bunche of this message.

01/23/2007 11:15:09 AM - CMDPHP: Poller[0] ERROR: Cannot connect to MySQL server on '201.xxx.xxx.xxx'. Please make sure you have specified a valid MySQL database name in 'include/config.php'.

And when i look at the graph management, appears this.

RRDTool Command:

/usr/local/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Hermes - Used Space - Real Memory" \
--rigid \
--base=1024 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bytes" \
--slope-mode \
AREA:#002A97:"Total" \
GPRINT::LAST:"Current\:%8.2lf %s" \
GPRINT::AVERAGE:"Average\:%8.2lf %s" \
GPRINT::MAX:"Maximum\:%8.2lf %s\n" \
AREA:#F51D30:"Used" \
GPRINT::LAST:" Current\:%8.2lf %s" \
GPRINT::AVERAGE:"Average\:%8.2lf %s" \
GPRINT::MAX:"Maximum\:%8.2lf %s\n"

RRDTool Says:

ERROR: parameter '#002A97' does not represent a number in line AREA:#002A97:Total

and other times appears this.

RRDTool Command:

/usr/local/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Hermes - Used Space - Memory Buffers" \
--rigid \
--base=1024 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bytes" \
--slope-mode \
DEF:a="/usr/local/www/data-dist/cacti/rra/hermes_hdd_total_36.rrd":hdd_total:AVERAGE \
DEF:b="/usr/local/www/data-dist/cacti/rra/hermes_hdd_total_36.rrd":hdd_used:AVERAGE \
AREA:a#002A97:"Total" \
GPRINT:a:LAST:"Current\:%8.2lf %s" \
GPRINT:a:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:a:MAX:"Maximum\:%8.2lf %s\n" \
AREA:b#F51D30:"Used" \
GPRINT:b:LAST:" Current\:%8.2lf %s" \
GPRINT:b:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:b:MAX:"Maximum\:%8.2lf %s\n"

RRDTool Says:

ERROR: opening '/usr/local/www/data-dist/cacti/rra/hermes_hdd_total_36.rrd': No such file or directory


please .. i need some help .. i'm lost .. :cry:
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please check settings for ./include/config.php. The first few lines are of importance
Reinhard
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests