Bug 754720 - JON 3.x : Provide a "dump system configuration" button
Summary: JON 3.x : Provide a "dump system configuration" button
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RHQ Project
Classification: Other
Component: Core Server
Version: 4.2
Hardware: Unspecified
OS: Unspecified
medium
unspecified
Target Milestone: ---
: RHQ 4.3.0
Assignee: RHQ Project Maintainer
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On: 750849
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-11-17 14:39 UTC by Heiko W. Rupp
Modified: 2013-09-11 13:07 UTC (History)
2 users (show)

Fixed In Version:
Clone Of: 750849
Environment:
Last Closed: 2013-09-11 13:07:51 UTC
Embargoed:


Attachments (Terms of Use)

Description Heiko W. Rupp 2011-11-17 14:39:58 UTC
+++ This bug was initially created as a clone of Bug #750849 +++

RHQ should have a button that the admin can press and where the system information is then dumped into the server log.

The info is a bit like what we provide in the summary portlet + the upper part of the system settings page + information about #of alerts and alert definitions

--- Additional comment from hrupp on 2011-11-17 08:14:40 EST ---

master 70f31ee0

There is now an additional button at the bottom of the system settings page of the administration view.
Pressing this dumps the system information at info level to server log (and if the server was started
with 'console' option also to the console.
Users can copy&paste this e.g. when asked for by support.


Sample dump:

14:06:41,128 INFO  [SystemInfoManager] SystemInformation: ********
CAM_LDAP_GROUP_FILTER: [objectclass=groupofuniquenames]
ENABLE_DEBUG_MODE: [false]
CAM_LDAP_BIND_PW: [- non null -]
AlertDefinitionCount: [1]
CAM_LDAP_BASE_DN: [dc=test]
AVAILABILITY_PURGE: [31536000000]
CAM_JAAS_PROVIDER: [true]
BuildNumber: [ceb6034]
ServerCount: [10]
DATABASE_DRIVER_NAME: [PostgreSQL Native Driver]
RESOURCE_GENERIC_PROPERTIES_UPGRADE: [false]
CAM_RT_COLLECT_IP_ADDRS: [true]
CAM_LDAP_NAMING_PROVIDER_URL: [ldap://1.2.3.4:1389]
SERVER_LOCAL_TIME: [17. November 2011 14:06 Uhr MEZ]
ServiceCount: [337]
SERVER_TIMEZONE: [Mitteleurop#ische Zeit]
CAM_LDAP_GROUP_MEMBER: [uniquemember]
CAM_LDAP_PROTOCOL: [false]
ACTIVE_DRIFT_PLUGIN: [drift-jpa]
CAM_LDAP_BIND_DN: [cn=Directory manager]
EVENT_PURGE: [1209600000]
AGENT_MAX_QUIET_TIME_ALLOWED: [900000]
CAM_GUIDE_ENABLED: [true]
CAM_SYSLOG_ACTIONS_ENABLED: [false]
CAM_BASELINE_FREQUENCY: [259200000]
DB_SCHEMA_VERSION: [2.116]
ENABLE_AGENT_AUTO_UPDATE: [true]
CAM_DATA_MAINTENANCE: [3600000]
DATABASE_PRODUCT_NAME: [PostgreSQL]
DATA_REINDEX_NIGHTLY: [true]
ENABLE_EXPERIMENTAL_FEATURES: [false]
CAM_BASELINE_DATASET: [604800000]
CAM_DATA_PURGE_1H: [1209600000]
DATABASE_PRODUCT_VERSION: [9.1.0]
SchedulesPerMinute: [35]
PlatformCount: [1]
DRIFT_FILE_PURGE: [2678400000]
TRAIT_PURGE: [31536000000]
SERVER_HOME_DIR: [/im/dev-container/jbossas/server/default]
FullName: [RHQ]
DATABASE_CONNECTION_URL: [jdbc:postgresql://127.0.0.1:5432/rhqdev?loginTimeout=0&socketTimeout=0&prepareThreshold=5&unknownLength=2147483647&loglevel=0&tcpkeepalive=false]
CAM_DATA_PURGE_1D: [31536000000]
DATABASE_DRIVER_VERSION: [PostgreSQL 9.0 JDBC4 (build 801)]
SERVER_INSTALL_DIR: [/im/dev-container]
CAM_HELP_PASSWORD: [- non null -]
NEXT_MEASUREMENT_TABLE_ROTATION: [18. November 2011 01:00 Uhr MEZ]
CAM_DATA_PURGE_6H: [2678400000]
CAM_BASE_URL: [http://localhost:7080/]
CAM_LDAP_FILTER: [objectclass=*]
CURRENT_MEASUREMENT_TABLE: [RHQ_MEAS_DATA_NUM_R06]
Name: [RHQ]
SERVER_VERSION: [4.3.0-SNAPSHOT]
RT_DATA_PURGE: [2678400000]
AlertCount: [2]
ALERT_PURGE: [2678400000]
CAM_LDAP_NAMING_FACTORY_INITIAL: [com.sun.jndi.ldap.LdapCtxFactory]
CAM_HELP_USER: [web]
CAM_LDAP_LOGIN_PROPERTY: [uid]
********


Note You need to log in before you can comment on or make changes to this bug.