Hello!
After trying out both the Python and the PHP snmp extenders in /scripts I still haven't managed to get mySQL monitoring working (while Apache monitoring works great).
Though it works for some: http://www.observium.org/forum/index.php/topic,103.0.html
I get the following error while using the PHP script:
Applications: apache mysql...ERROR: /srv/observium/rrd/localhost/app-mysql-3.rrd: expected 79 data source readings (got 3) from N
And I got a lot of zeros then some error if I use the Python one (I'm guessing it's because the /includes/poller/applications/mysql.inc.php expects name:value pairs)
Any advice?
Thanks, Pas
On 7 Apr 2011, at 06:50, Pász Gergely pasthelod@gmail.com wrote:
Applications: apache mysql...ERROR: /srv/observium/rrd/localhost/app-mysql-3.rrd: expected 79 data source readings (got 3) from N
And I got a lot of zeros then some error if I use the Python one (I'm guessing it's because the /includes/poller/applications/mysql.inc.php expects name:value pairs)
Tried a different python version?
2.5 vs 2.6 fixed this for me iirc and then I gave up on application monitoring.
C.
On 2011.04.07. 9:19, Charlie Allom wrote:
On 7 Apr 2011, at 06:50, Pász Gergelypasthelod@gmail.com wrote:
Applications: apache mysql...ERROR: /srv/observium/rrd/localhost/app-mysql-3.rrd: expected 79 data source readings (got 3) from N
And I got a lot of zeros then some error if I use the Python one (I'm guessing it's because the /includes/poller/applications/mysql.inc.php expects name:value pairs)
Tried a different python version?
2.5 vs 2.6 fixed this for me iirc and then I gave up on application monitoring.
C.
Both 2.5 and 2.6 gives output with the same formatting, number of lines. I guess it's no turning back, I've to delve into that poller script.
Thanks.
On Thu, Apr 07, 2011 at 04:39:43PM +0200, Pász Gergely pasthelod@gmail.com wrote:
Both 2.5 and 2.6 gives output with the same formatting, number of lines. I guess it's no turning back, I've to delve into that poller script.
try changing:
"for line in row[2].split" to row[0]
participants (2)
-
Charlie Allom
-
Pász Gergely