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!
Graphs not showing up -- getting a U in the logs : undefined
Moderators: Developers, Moderators
-
- Cacti Guru User
- Posts: 1884
- Joined: Mon Oct 16, 2006 5:57 am
- Location: United Kingdom
- Contact:
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.
"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
- 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
Please follow my "NaN Debugging Howto", follow second link of my signature.cbnoonan wrote:... The only Error I see in the logs is "ERROR: Not enough arguments".
Reinhard
update -- fixed
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
Once I gave the full path of php5 to cacti, things worked smoothly.
--colleen
Who is online
Users browsing this forum: No registered users and 1 guest