Comments on: Improved Cacti monitoring templates for MySQL http://www.xaprb.com/blog/2008/04/27/improved-cacti-monitoring-templates-for-mysql/ Stay curious! Fri, 10 May 2013 18:25:19 +0000 hourly 1 http://wordpress.org/?v=3.5.1 By: Xaprb http://www.xaprb.com/blog/2008/04/27/improved-cacti-monitoring-templates-for-mysql/#comment-14598 Xaprb Mon, 19 May 2008 15:52:00 +0000 http://www.xaprb.com/blog/2008/04/27/improved-cacti-monitoring-templates-for-mysql/#comment-14598 Please seek help for your issue in the Cacti forums. Nobody reads the comments on this blog when they’re looking for help, so a) nobody will notice you here and b) nobody will ever benefit from you posting the solution here, if you solve the issue. Thanks!

]]>
By: mike http://www.xaprb.com/blog/2008/04/27/improved-cacti-monitoring-templates-for-mysql/#comment-14597 mike Mon, 19 May 2008 15:40:03 +0000 http://www.xaprb.com/blog/2008/04/27/improved-cacti-monitoring-templates-for-mysql/#comment-14597 When I try to use templates, my graphs don’t update. Rrd files are not being created. I dont what is wrong. I imported the host template, copyied the script. I can manually run the script from the command line without any problem. I gave privileges to cactiuser account on the mysql side. In addition, on some cacti servers, when I tried to add a device using mysql host template, I get this error:

om SNMP not valid. Partial Result: …
230 [main] ? (5436) C:\cygwin\bin\sh.exe: *** fatal error – system shared me
mory version mismatch detected – 0x2D1E009C/0x8A88009C.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version. The most recent version *should*
reside in x:\cygwin\bin, where ‘x’ is the drive on which you have
installed the cygwin distribution. Rebooting is also suggested if you
are unable to find another cygwin DLL.

Can anybody help?

]]>
By: Dejc http://www.xaprb.com/blog/2008/04/27/improved-cacti-monitoring-templates-for-mysql/#comment-14519 Dejc Tue, 06 May 2008 05:54:01 +0000 http://www.xaprb.com/blog/2008/04/27/improved-cacti-monitoring-templates-for-mysql/#comment-14519 When I try to import your xml I get the following error
Error: XML: Hash version does not exist.
Is this a cacti version issue? I have 0.8.6i?

Pleas help me?

]]>
By: Matt http://www.xaprb.com/blog/2008/04/27/improved-cacti-monitoring-templates-for-mysql/#comment-14494 Matt Wed, 30 Apr 2008 00:42:07 +0000 http://www.xaprb.com/blog/2008/04/27/improved-cacti-monitoring-templates-for-mysql/#comment-14494 Great, thanks Mike.

That did clear up those script errors, and provides data when calling it directly. Still no joy when running poller.

It’s parsing correctly in the multi output parser section, but fails on the rrd update.

04/29/2008 07:40:10 PM – POLLER: Poller[0] Parsed MULTI output field ‘rows_deleted:5066′ [map rows_deleted->rows_deleted]
04/29/2008 07:40:10 PM – POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/cacti/rra/mysql_server_rows_deleted_52.rrd –template 1209516001:U
ERROR: Not enough arguments

Gotta be something in the data template, but too much staring at it today.

Thanks for the help, and thanks again to the author for the software =)

]]>
By: Mike http://www.xaprb.com/blog/2008/04/27/improved-cacti-monitoring-templates-for-mysql/#comment-14493 Mike Wed, 30 Apr 2008 00:26:08 +0000 http://www.xaprb.com/blog/2008/04/27/improved-cacti-monitoring-templates-for-mysql/#comment-14493 Matt – this may be related – on my test system (no replication, hence no bin logging), the script crapped out when it tried to retrieve information about said logs. I commented out anything referring to them- ie: lines 163ish-170ish (I’ve added some debug code to my own copy, so the line numbers might be a little off) (including “SHOW MASTER LOGS”), and lines 353ish-363ish (“including AS binary_log_space”). That seems to allow the script to run cleanly, though I haven’t gone back to recreate the rrds, and whatnot. Cacti kinda makes my brain bleed.

]]>