{ "info": { "author": "Benoit Delbosc", "author_email": "bdelbosc@nuxeo.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Console", "Intended Audience :: Developers", "Intended Audience :: Information Technology", "Intended Audience :: System Administrators", "License :: OSI Approved :: GNU General Public License (GPL)", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Software Development :: Quality Assurance", "Topic :: System :: Monitoring" ], "description": "================================\nlogchart nuxeo tool\n================================\n\nThis tool generates a monitor report with charts from miscellaneous log files:\n\n* JVM Garbage collector logging (gc.log)\n* Java Virtual Machine logging (jvm.log)\n* JBoss threads logging (webthreads.log)\n* NuxeoDS Data source usage (nuxeo-ds.log)\n* jmxstat output (jmxstat.log)\n* Sysstat sar logging, cpu and disk activity (sysstat-sar.log)\n* PostgreSQL logs (pgsql.log)\n* PostgreSQL vacuum output (vacuum.log)\n\n View a `report example `_.\n\n\nRequirements\n=============\n\n* python\n\n* python-docutils\n\n* gnuplot >= 4.2 (with png support)\n\n* sysstat sar, same version used during the monitor.\n\n* pgFouine for PostgreSQL log and vacuum analysis\n\nOn Debian::\n\n sudo aptitude install gnuplot sysstat python-docutils pgfouine\n\n\nUsage\n=========\n\nThe ``logchart.py`` tool expects that all the logs are in the same\ndirectory and produce a detail report::\n\n logchart.py [options] LOG_PATH REPORT_PATH\n\n\nThe ``hudson.sh`` scripts can be used from an hudson job to scan other jobs\nand produces logchart monitor reports.\n\n\n\nHow to setup monitoring on jboss/tomcat\n========================================\n\nThe Nuxeo `monitorctl.sh `_ script generates all the logs.\n\nHere are some details on how to do it by hand.\n\n\nGarbage collector monitoriing\n--------------------------------\n\nUsing the jvm verbose:gc option::\n\n JAVA_OPTS=\"$JAVA_OPTS -Xloggc:$JBOSS_HOME/server/default/log/gc.log -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCTimeStamps\"\n\nDisk and systeme monitoring\n------------------------------\n\nUsing sysstat sar utility, just run something like::\n\n sar -d -o $JBOSS_HOME/server/default/log/sysstat-sar.log 5 720 >/dev/null 2>&1 &\n\nThis will monitor the activity every 5s during 1h.\n\n\nJBoss logging monitor\n--------------------------\n\nCheck documentation http://doc.nuxeo.com/display/KB/Monitoring+Nuxeo+DM\n\nJMX logging\n----------------\n\nUsing `jmxstat `_::\n\n jmxstat localhost:1089 --contention \"Catalina:type=Manager,path=/nuxeo,host=localhost[activeSessions]\" > jmxstat.log 2>&1 &\n\n\nPostgreSQL monitoring\n------------------------------\n\nVisit the pgFouine tutorial to setup properly your PostgreSQL instance\n\nhttp://pgfouine.projects.postgresql.org/tutorial.html\n\nFor instance log only request slower than 100ms::\n\n log_min_duration_statement = 100\n\n\nPostgreSQL vacuum analysis\n------------------------------\n\nJust catch the vacuum output::\n\n vacuumdb -fzv database-name &> vacuum.log\n\n\n.. Local Variables:\n.. mode: rst\n.. End:\n.. vim: set filetype=rst:", "description_content_type": null, "docs_url": null, "download_url": "http://pypi.python.org/packages/source/t/logchart/logchart-1.0.1.tar.gz", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://pypi.python.org/pypi/logchart", "keywords": "monitor report logs nuxeo chart gnuplot", "license": "GPL", "maintainer": null, "maintainer_email": null, "name": "logchart", "package_url": "https://pypi.org/project/logchart/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/logchart/", "project_urls": { "Download": "http://pypi.python.org/packages/source/t/logchart/logchart-1.0.1.tar.gz", "Homepage": "http://pypi.python.org/pypi/logchart" }, "release_url": "https://pypi.org/project/logchart/1.0.1/", "requires_dist": null, "requires_python": null, "summary": "Monitor report generator using misc logs.", "version": "1.0.1" }, "last_serial": 794309, "releases": { "1.0.1": [ { "comment_text": "", "digests": { "md5": "1dfe8df215912f8d3b738848a43199b7", "sha256": "707f5d1d4c67839cdb415675681ea32e8c2ce518f7f4ebfba4d02320619e5586" }, "downloads": -1, "filename": "logchart-1.0.1-py2.6.egg", "has_sig": false, "md5_digest": "1dfe8df215912f8d3b738848a43199b7", "packagetype": "bdist_egg", "python_version": "2.6", "requires_python": null, "size": 19617, "upload_time": "2011-10-14T15:54:39", "url": "https://files.pythonhosted.org/packages/85/10/4d777eafc11fce8026c94430b246d4aa0ed220518d2f71cce42c5200dc46/logchart-1.0.1-py2.6.egg" }, { "comment_text": "", "digests": { "md5": "6f91b3637d855f72210c3af62a0ac4df", "sha256": "c5326dbc325fa762e68a014891c21444789797585264034b69edfbf8731307f6" }, "downloads": -1, "filename": "logchart-1.0.1-py2.7.egg", "has_sig": false, "md5_digest": "6f91b3637d855f72210c3af62a0ac4df", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 19566, "upload_time": "2011-10-14T15:54:42", "url": "https://files.pythonhosted.org/packages/4c/37/281dbe961016c26786ff0a656a516eb67b24d72fb9f2b1be1d04f28accff/logchart-1.0.1-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "d87345566a6c647b0297beeecd2fc109", "sha256": "7ded2e6b6d6c471682e624282ca41e8dbfe224353f1c27549b22db4df7b9c045" }, "downloads": -1, "filename": "logchart-1.0.1.tar.gz", "has_sig": false, "md5_digest": "d87345566a6c647b0297beeecd2fc109", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11518, "upload_time": "2011-10-14T15:54:38", "url": "https://files.pythonhosted.org/packages/20/75/786bd536bdf861d3e772bf4875a41f3b4b2ce761cb3ee500b062f6e85a9c/logchart-1.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "1dfe8df215912f8d3b738848a43199b7", "sha256": "707f5d1d4c67839cdb415675681ea32e8c2ce518f7f4ebfba4d02320619e5586" }, "downloads": -1, "filename": "logchart-1.0.1-py2.6.egg", "has_sig": false, "md5_digest": "1dfe8df215912f8d3b738848a43199b7", "packagetype": "bdist_egg", "python_version": "2.6", "requires_python": null, "size": 19617, "upload_time": "2011-10-14T15:54:39", "url": "https://files.pythonhosted.org/packages/85/10/4d777eafc11fce8026c94430b246d4aa0ed220518d2f71cce42c5200dc46/logchart-1.0.1-py2.6.egg" }, { "comment_text": "", "digests": { "md5": "6f91b3637d855f72210c3af62a0ac4df", "sha256": "c5326dbc325fa762e68a014891c21444789797585264034b69edfbf8731307f6" }, "downloads": -1, "filename": "logchart-1.0.1-py2.7.egg", "has_sig": false, "md5_digest": "6f91b3637d855f72210c3af62a0ac4df", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 19566, "upload_time": "2011-10-14T15:54:42", "url": "https://files.pythonhosted.org/packages/4c/37/281dbe961016c26786ff0a656a516eb67b24d72fb9f2b1be1d04f28accff/logchart-1.0.1-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "d87345566a6c647b0297beeecd2fc109", "sha256": "7ded2e6b6d6c471682e624282ca41e8dbfe224353f1c27549b22db4df7b9c045" }, "downloads": -1, "filename": "logchart-1.0.1.tar.gz", "has_sig": false, "md5_digest": "d87345566a6c647b0297beeecd2fc109", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11518, "upload_time": "2011-10-14T15:54:38", "url": "https://files.pythonhosted.org/packages/20/75/786bd536bdf861d3e772bf4875a41f3b4b2ce761cb3ee500b062f6e85a9c/logchart-1.0.1.tar.gz" } ] }