[mrtg] mrtg-mysql-load not returning usable data?

Alex Franks arfranks at gmail.com
Thu Nov 23 00:47:13 MET 2006


I've poured through all the web archives, online forums and anything
else I could find, but still no solution has arisen.

I'm using:
mrtg-mysql-load 1.02 (newest version I think?)
mrtg-2.14.5
mysql-4.1.18-log

YES, my mrtg installation works just fine for other graphic stats,
including things that don't come from my router (apache stats). I'm
*pretty sure* mrtg-mysql-load works as well, because when I run it
from the command line (outside of the cron job that runs mrtg) I get
the version information and uptime on the html page mrtg creates for
mysql load, but no data.

I've read that mrtg-mysql-load was designed for mysql 3.23.? so
perhaps that's not helping either.

And this shows up in the /var/log/mrtg.log:

2006-11-22 15:40:01 -- Wednesday, 22 November 2006 at 15:40: WARNING:
Could not get any data from external command
'/usr/local/bin/mrtg-mysql-load -c
/www/shoegoo.soletechnology/docs/mrtg/mysql-load.cfg'
Maybe the external command did not even start. ()

2006-11-22 15:40:01 -- Wednesday, 22 November 2006 at 15:40: WARNING:
Problem with External get '/usr/local/bin/mrtg-mysql-load -c
/www/shoegoo.soletechnology/docs/mrtg/mysql-load.cfg':
   Expected a Number for 'in' but nothing'

2006-11-22 15:40:01 -- Wednesday, 22 November 2006 at 15:40: WARNING:
Problem with External get '/usr/local/bin/mrtg-mysql-load -c
/www/shoegoo.soletechnology/docs/mrtg/mysql-load.cfg':
   Expected a Number for 'out' but nothing'

2006-11-22 15:40:01 -- Wednesday, 22 November 2006 at 15:40: ERROR:
Target[shoeshine_mysqlload][_IN_] ' $target->[11]{$mode} ' did not
eval into defined data
2006-11-22 15:40:01 -- Wednesday, 22 November 2006 at 15:40: ERROR:
Target[shoeshine_mysqlload][_OUT_] ' $target->[11]{$mode} ' did not
eval into defined data

I'm somewhat new to mrtg, so if this is an obvious, n00b question,
I'll happily take the abuse in order to get this thing working.

Thanks

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://lists.ee.ethz.ch/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the mrtg mailing list