I'm not sure if it's something I'm doing wrong or if there is a bug in
Monitorix, but I'm unable to get Monitorix to connect to MySQL.

Here are settings (and yes I included password, don't really care because
it's bound to localhost.)

# MYSQL graph
#
-----------------------------------------------------------------------------
<mysql>
        conn_type = host
        list = localhost
#       list = /var/run/mysqld/mysqld.sock
        <desc>
                localhost = 3306, monitorix, m0n1t0r1x15
        </desc>
        rigid = 0, 2, 0, 0, 0, 0
        limit = 100, 100, 100, 100, 100, 100
</mysql>

I tested the connection in MySQL - it's setup per instructions:

astump@astump15:~$ mysql -u monitorix -pm0n1t0r1x15 -h localhost
Warning: Using a password on the command line interface can be insecure.
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 2361

But I'm getting this in the monitorix log:

Sun May 10 21:09:00 2015 - mysql::mysql_update: Cannot connect to MySQL
'/var/run/mysqld/mysqld.sock'.
Sun May 10 21:09:00 2015 - ERROR: while updating
/var/lib/monitorix/mysql.rrd: /var/lib/monitorix/mysql.rrd: expected
timestamp not found in data source from N

-- 
Thank you,

Anthony Stump
anthonyst...@kc.rr.com
f00d...@gmail.com
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Monitorix-general mailing list
Monitorix-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/monitorix-general

Reply via email to