Closed GoogleCodeExporter closed 9 years ago
This is almost certainly a general Cacti issue, please seek a resolution in the
Cacti
forums instead. Thanks. Please close this issue if you solve it in the forums;
otherwise post another note to it if you find this is an issue with the
templates.
Original comment by baron.schwartz
on 13 Jun 2008 at 5:14
Every post in the forums that speaks to this kind of issue requires the script
author
to debug it.
Can you tell me if you've used the templates successfully with a fully patched
Cacti
0.8.7b so that I can figure out how to proceed?
Original comment by aarai...@gmail.com
on 13 Jun 2008 at 5:56
I have not used the templates on that version. But when I've seen this before,
it
was usually because I did something after creating them graphs. For example,
while I
was creating the templates, I'd create some graphs for one device, tweak the
templates and create graphs for another device. Then I'd go back to look at the
first device and it would be broken at that point.
I can try to install this on a newer Cacti version and see what happens, but it
will
be a little while before I can get to it.
Original comment by baron.schwartz
on 13 Jun 2008 at 6:17
OK, if I remove the graphs and re-run poller.php, I get
06/13/2008 01:25:17 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool create
/var/www/cacti/rra/mysql_free_pages_9.rrd --step 300
DS:free_pages:GAUGE:600:0:18446744073709551615
DS:modified_pages:GAUGE:600:0:18446744073709551615
DS:database_pages:GAUGE:600:0:18446744073709551615
DS:pool_size:GAUGE:600:0:18446744073709551615 RRA:AVERAGE:0.5:1:500
RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775
RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:500 RRA:MAX:0.5:1:600
RRA:MAX:0.5:6:700
RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
06/13/2008 01:25:17 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update
/var/www/cacti/rra/mysql_free_pages_9.rrd --template N:U
06/13/2008 01:25:17 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update
/var/www/cacti/rra/localhost_proc_7.rrd --template proc 1213381516:147
06/13/2008 01:25:17 PM - SYSTEM STATS: Time:1.1202 Method:cmd.php Processes:1
Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:6 RRDsProcessed:6
OK u:0.00 s:0.00 r:1.01
ERROR: Not enough arguments
So it looks like ss_get_mysql_stats.php isn't generating the error directly,
even
though there's one of those errors for each mysql data source.
Original comment by aarai...@gmail.com
on 13 Jun 2008 at 6:29
I've just installed the template & script on a fresh CentOS 5.1 installation
with
Cacti 0.8.7b from the rpmforge repositories, and it worked OK.
Original comment by baron.schwartz
on 15 Jun 2008 at 2:48
Thank you. I appreciate you double-checking. Unfortunately, I haven't gotten
anywhere.
The problem is that --template expects an argument, but the update command
above is
not providing it. The man page for rrdupdate tells me it's supposed to be a
data
source template name, which are all populated, FWICT, in the admin. All of the
localhost system-related rrdtool invocations get a "proc" data template, so I
don't
think it's an issue of rrdtool version mismatch.
I tried reimporting the templates, walking through
http://docs.cacti.net/node/283
(suggested in the cacti-users archives), and redoing basically everything from a
basic install in the manual. I get the same result every time -- rrds filled
with
NaN from creation, but unable to update.
Original comment by aarai...@gmail.com
on 15 Jun 2008 at 9:40
FWIW, from the thread in issue 16, I ran ss_get_mysql_stats.php from the command
line, and it returns data with no errors.
Original comment by aarai...@gmail.com
on 15 Jun 2008 at 9:44
I wish I knew what to tell you, but I can't think of anything to suggest. I
can't
reproduce the problem; it must be triggered by something in your setup.
Original comment by baron.schwartz
on 16 Jun 2008 at 2:22
Can't reproduce.
Original comment by baron.schwartz
on 14 Oct 2008 at 8:40
Original issue reported on code.google.com by
aarai...@gmail.com
on 13 Jun 2008 at 5:07