Hi,

this patchset adds support for collecting information about
application crashes handled by abrt.

If spacewalk-abrt package is installed, rhn_check will
collect number of crashes and send it to the server via
XMLRPC API (if server supports it).

The data are stored for each system in rhnAbrtInfo table
and shown on system detail page (systems/details/Overview.do)
under 'Application crashes' header.

Later, this feature can be extended to
- display data on YourRhn.do page;
- collect more information about crashes.

Comments welcome!


Richard Marko (10):
  spacewalk-abrt initial
  Add makefiles for spacewalk-abrt
  Add specfile for spacewalk-abrt
  Add schema and migration files for rhnAbrtInfo table
  Add abrt data handling functionality
  Update rhn_check to send abrt data to the server
  Add Crashes class and database mapping
  Update server class to use crash information
  Show crash count on system detail page
  Add translation strings for crash information

 backend/server/handlers/xmlrpc/__init__.py         |    2 +
 backend/server/handlers/xmlrpc/abrt.py             |   59 +++++++++++
 backend/server/rhnCapability.py                    |    1 +
 client/rhel/rhn-client-tools/src/bin/rhn_check.py  |   40 +++++++-
 client/rhel/spacewalk-abrt/Makefile                |    6 ++
 client/rhel/spacewalk-abrt/Makefile.spacewalk-abrt |   28 ++++++
 client/rhel/spacewalk-abrt/abrt                    |    1 +
 client/rhel/spacewalk-abrt/abrt.py                 |   21 ++++
 client/rhel/spacewalk-abrt/spacewalk-abrt.spec     |   40 ++++++++
 .../com/redhat/rhn/domain/server/Crashes.hbm.xml   |   22 +++++
 .../src/com/redhat/rhn/domain/server/Crashes.java  |  102 ++++++++++++++++++++
 .../src/com/redhat/rhn/domain/server/Server.java   |   15 +++
 .../rhn/domain/server/Server_legacyUser.hbm.xml    |    3 +
 .../frontend/strings/jsp/StringResource_en_US.xml  |   28 ++++++
 .../webapp/WEB-INF/pages/systems/sdc/overview.jsp  |   20 ++++
 schema/spacewalk/common/tables/rhnAbrtInfo.sql     |   29 ++++++
 .../111-rhnAbrtInfo_create.sql.oracle              |   30 ++++++
 .../111-rhnAbrtInfo_create.sql.postgresql          |   30 ++++++
 18 files changed, 476 insertions(+), 1 deletion(-)
 create mode 100644 backend/server/handlers/xmlrpc/abrt.py
 create mode 100644 client/rhel/spacewalk-abrt/Makefile
 create mode 100644 client/rhel/spacewalk-abrt/Makefile.spacewalk-abrt
 create mode 100644 client/rhel/spacewalk-abrt/abrt
 create mode 100644 client/rhel/spacewalk-abrt/abrt.py
 create mode 100644 client/rhel/spacewalk-abrt/spacewalk-abrt.spec
 create mode 100644 java/code/src/com/redhat/rhn/domain/server/Crashes.hbm.xml
 create mode 100644 java/code/src/com/redhat/rhn/domain/server/Crashes.java
 create mode 100644 schema/spacewalk/common/tables/rhnAbrtInfo.sql
 create mode 100644 
schema/spacewalk/upgrade/spacewalk-schema-1.7-to-spacewalk-schema-1.8/111-rhnAbrtInfo_create.sql.oracle
 create mode 100644 
schema/spacewalk/upgrade/spacewalk-schema-1.7-to-spacewalk-schema-1.8/111-rhnAbrtInfo_create.sql.postgresql

-- 
1.7.10.4

_______________________________________________
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel

Reply via email to