Graphs not showing up -- getting a U in the logs : undefined

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

Moderators: Developers, Moderators

Post Reply
cbnoonan
Posts: 2
Joined: Thu Feb 08, 2007 7:54 pm

Graphs not showing up -- getting a U in the logs : undefined

Post by cbnoonan »

Hi,


Cacti Variables
Operating System: unix
PHP SNMP Support: no
Cacti Version: 0.8.6i

I'm using the Poller.php to poll a bunch of hosts.
All of the hosts have the same login information. When I try to create graphs with DEBUG as verbose, I get the following:


02/08/2007 06:43:58 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /opt/www/cacti_0.8.6i/rra/addbsumysql_readexeclogposdiff_88.rrd --template BinlogCacheDiskUse:BinlogCacheUse:SecondsBehindMaster:ReadExecLogPosDiff 1170978237:0:0:0:0
02/08/2007 06:43:58 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /opt/www/cacti_0.8.6i/rra/clicksumysql_readexeclogposdiff_136.rrd --template BinlogCacheDiskUse:BinlogCacheUse:SecondsBehindMaster:ReadExecLogPosDiff 1170978236:0:0:0:0
02/08/2007 06:43:59 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /opt/www/cacti_0.8.6i/rra/m120_readexeclogposdiff_232.rrd --template 1170978238:U
02/08/2007 06:43:59 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /opt/www/cacti_0.8.6i/rra/predictionstats_readexeclogposdiff_216.rrd --template 1170978238:U
02/08/2007 06:43:59 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /opt/www/cacti_0.8.6i/rra/statsslave_readexeclogposdiff_224.rrd --template 1170978238:U


The same template sometimes works and sometimes doesn't. What causes the U --undefined data? The only Error I see in the logs is "ERROR: Not enough arguments".

Please help!
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

Do you get any results if you run the script manually ? "U" normally means that no data has been returned for Cacti to graph.

"Not enough arguments" means that the script is incomplete (ie, something is missing). In order to troubleshoot this further, more information is needed.
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Graphs not showing up -- getting a U in the logs : undef

Post by gandalf »

cbnoonan wrote:... The only Error I see in the logs is "ERROR: Not enough arguments".
Please follow my "NaN Debugging Howto", follow second link of my signature.
Reinhard
cbnoonan
Posts: 2
Joined: Thu Feb 08, 2007 7:54 pm

update -- fixed

Post by cbnoonan »

This was a weird issue to figure out. Some of the hosts which I was polling had their passwords in mysql 16 byte length and some in 41 byte length. I needed a way from cacti to be able to accept both. My error ended up being two different versions of PHP were installed on the server. The newer version allows connection (with mysql_connect()) to the 41 byte length passwords, but the older version would error out.


Once I gave the full path of php5 to cacti, things worked smoothly.


--colleen
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest