Open GoogleCodeExporter opened 8 years ago
Please note that I have a second MySql monitored database witch is not so
configuration different that work well
* same data capture computer and crontab but monitored database is remote
* same remote mcp database (just name change - mcp_webtest)
* same html report generation computer and crontab
* same mycheckpoint/mysql/python version
but reports are graph filled (except OS information but it's ok)
so why ??
Original comment by tda...@gmail.com
on 13 Jun 2012 at 9:36
Original comment by tda...@gmail.com
on 13 Jun 2012 at 9:40
Attachments:
Found a difference between html report (mcp_webprod vs mcp_webtest)
ampersand are html substituted in mcp_webprod html report
I mean that, in html code, there is a lot (all in fact) '&' sign replaced by
'&' htlm code
A simple global replace done with vi make the report usable
Original comment by tda...@gmail.com
on 15 Jun 2012 at 9:14
Both data gather are triggered from the same crontab:
*/5 * * * * mycheckpoint_r223.py --host=xxx.xxx.xxx.xxx --port=3306
--user=mycheckpoint --password=mycheckpoint --database=mcp_webprod
--monitored-host=localhost --monitored-socket=/tmp/mysql.sock
*/5 * * * * mycheckpoint_r223.py --host=xxx.xxx.xxx.xxx --port=3306
--user=mycheckpoint --password=mycheckpoint --database=mcp_webtest
--monitored-host=yyy.yyy.yyy.yyy --monitored-socket=/tmp/mysql.sock
Data are stored on same mysql server, anyone can see a difference between these
two crontab entry that can justify different beaviour in html report ?
Original comment by tda...@gmail.com
on 15 Jun 2012 at 9:17
All reports are ok with this :
00 * * * * /opt/mysql/bin/mysql -umycheckpoint -pmycheckpoint mcp_webprod
--execute="SELECT html FROM sv_report_html" --silent --raw | sed
"s/\&/\&/g" > /data/www/dsi_tools/mycheckpoint/webprod.html
01 * * * * /opt/mysql/bin/mysql -umycheckpoint -pmycheckpoint mcp_webprod
--execute="SELECT html FROM sv_report_html_brief" --silent --raw | sed
"s/\&/\&/g" > /data/www/dsi_tools/mycheckpoint/webprod_brief.html
Original comment by tda...@gmail.com
on 15 Jun 2012 at 9:29
Original issue reported on code.google.com by
tda...@gmail.com
on 13 Jun 2012 at 9:31Attachments: