보고서 생성
SUSE Multi-Linux Manager를 사용하면 사용자가 다양한 보고서를 생성할 수 있습니다. 이 보고서는 가입한 시스템, 사용자 및 조직의 인벤토리를 작성할 때 유용하게 사용할 수 있습니다. 특히, 관리 중인 시스템이 많은 경우 보고서를 사용하는 방식이 SUSE Multi-Linux Manager Web UI에서 정보를 수동으로 수집하는 방식보다 더 간단합니다.
명령줄 도구 spacewalk-report를 사용하여 사전 구성된 보고서를 생성할 수 있지만, 허브 보고의 도입으로 완전 맞춤식 보고서를 생성할 수도 있습니다. 이는 SQL 언어를 지원하는 보고 도구를 보고 데이터베이스에 연결하고 데이터를 직접 추출하여 수행할 수 있습니다. 데이터 가용성 및 구조에 대한 자세한 내용은 보고 데이터베이스 스키마 설명서에서 확인할 수 있습니다.
1. spacewalk-report 사용
|
서버 컨테이너 내에서 단계를 실행하기 전에 |
보고서를 생성하려면 spacewalk-reports 패키지가 설치되어 있어야 합니다. spacewalk-report 명령을 사용하면 SUSE Multi-Linux Manager의 컨텐트, 시스템 및 사용자 리소스에 대한 보고서를 구성 및 표시할 수 있습니다.
|
허브 보고의 도입으로, 이제 |
다음에 대한 보고서 생성 가능:
- 시스템 인벤토리
-
SUSE Multi-Linux Manager에 등록된 모든 시스템을 나열합니다.
- 패치
-
등록된 시스템과 관련된 모든 패치를 나열합니다. 패치를 심각도별로 정렬할 수 있을 뿐만 아니라 특정 패치에 적용되는 시스템도 정렬할 수 있습니다.
- 사용자
-
등록된 모든 사용자 및 특정 사용자와 관련된 모든 시스템을 나열합니다.
보고서를 CSV 형식으로 가져오려면 서버의 명령 프롬프트에서 다음 명령을 실행합니다.
spacewalk-report <report_name>
2. spacewalk-report 및 보고 데이터베이스
spacewalk-report는 기본적으로 새 보고 데이터베이스를 사용하여 데이터를 추출합니다. 이는 새로 생성된 보고서가 데이터의 구조와 형식에서 약간의 차이가 있음을 의미합니다. 모든 보고서에 공통적인 차이점은 다음과 같습니다.
-
보고서 데이터는 실시간으로 변경되지 않고 예약된 작업을 실행하는 방식으로만 업데이트됩니다.
-
데이터 중복이 제거되었으며, 이전에 "다중 값"으로 간주되었던 열에 이제
;로 구분된 여러 값이 포함됩니다. 이는 또한 명령줄 옵션--multival-on-rows및--multival-separator가 이제 기본 동작이므로 새 보고서에 더 이상 적용할 수 없음을 의미합니다. -
허브 시나리오에서 관리 서버와 애플리케이션 데이터베이스에서 정보가 마지막으로 업데이트된 시간을 파악하기 위해 모든 보고서에 새로운 열
mgm_id및synced_date가 도입되었습니다. -
모든 부울 값은 이제
1/0값이 아닌True/False로 표시됩니다. -
org_id열이organization으로 대체되었으며, 여기에는 숫자 식별자가 아닌 조직 이름이 포함됩니다. -
"서버"라는 용어가 "시스템"으로 대체되었습니다. 예를 들어,
server_id열이 이제system_id입니다.
구체적인 보고서 변경사항은 사용할 수 있는 보고서 목록을 참조하십시오.
|
이 변경된 동작으로 문제가 발생하면 새 옵션 |
허브 보고에 대한 자세한 내용은 Hub Reporting에서 확인할 수 있습니다.
3. 사용할 수 있는 보고서 목록
이 테이블은 사용할 수 있는 보고서를 보여줍니다.
| Report | Invoked as | Description | Uses reporting database | Specific differences |
|---|---|---|---|---|
Actions |
|
All actions. |
Yes |
The column |
Activation Keys |
|
All activation keys, and the entitlements, channels, configuration channels, system groups, and packages associated with them. |
No |
|
Activation Keys: Channels |
|
All activation keys and the entities associated with each key. |
No |
|
Activation Keys: Configuration |
|
All activation keys and the configuration channels associated with each key. |
No |
|
Activation Keys: Server Groups |
|
All activation keys and the system groups associated with each key. |
No |
|
Activation Keys: Packages |
|
All activation keys and the packages each key can deploy. |
No |
|
Channel Packages |
|
All packages in a channel. |
Yes |
|
Channel Report |
|
Detailed report of a given channel. |
Yes |
|
Cloned Channel Report |
|
Detailed report of cloned channels. |
Yes |
|
Configuration Files |
|
All configuration file revisions for all organizations, including file contents and file information. |
No |
|
Latest Configuration Files |
|
The most recent configuration file revisions for all organizations, including file contents and file information. |
No |
|
Custom Channels |
|
Channel metadata for all channels owned by specific organizations. |
Yes |
The column |
Custom Info |
|
Client custom information. |
Yes |
|
Patches in Channels |
|
All patches in channels. |
Yes |
|
Patches Details |
|
All patches that affect registered clients. |
Yes |
|
All patches |
|
All patches. |
No |
|
Patches for Clients |
|
Applicable patches and any registered clients that are affected. |
Yes |
|
Host Guests |
|
Host and guests mapping. |
Yes |
|
Inactive Clients |
|
Inactive clients. |
Yes |
The mandatory parameter is now called |
System Inventory |
|
Clients registered to the server, together with hardware and software information. |
Yes |
The column |
Kickstart Scripts |
|
All kickstart scripts, with details. |
No |
|
Kickstart Trees |
|
Kickstartable trees. |
No |
" |
All Upgradable Versions |
|
All newer package versions that can be upgraded. |
Yes |
|
Newest Upgradable Version |
|
Newest package versions that can be upgraded. |
Yes |
|
Proxy Overview |
|
All proxies and the clients registered to each. |
Yes |
|
Repositories |
|
All repositories, with their associated SSL details, and any filters. |
No |
|
Result of SCAP |
|
Result of OpenSCAP |
Yes |
|
Result of SCAP |
|
Result of OpenSCAP |
Yes |
|
System Data |
|
Client data needed for splice integration. |
No |
|
System Currency |
|
Number of available patches for each registered client. |
No |
|
System Extra Packages |
|
All packages installed on all clients that are not available from channels the client is subscribed to. |
Yes |
|
System Groups |
|
System groups. |
Yes |
|
System Hardware |
|
System hardware information. |
No |
|
Activation Keys for System Groups |
|
Activation keys for system groups. |
No |
|
Systems in System Groups |
|
Clients in system groups. |
Yes |
|
System Groups Users |
|
System groups and users that have permissions on them. |
No |
|
History: System |
|
Event history for each client. |
Yes |
|
History: Channels |
|
Channel event history. |
Yes |
|
History: Configuration |
|
Configuration event history. |
Yes |
The column |
History: Entitlements |
|
System entitlement event history. |
Yes |
|
History: Errata |
|
Errata event history. |
Yes |
The column |
History: Kickstart |
|
Kickstart event history. |
Yes |
The column |
History: Packages |
|
Package event history. |
Yes |
The column |
History: SCAP |
|
OpenSCAP event history. |
Yes |
The column |
MD5 Certificates |
|
All registered clients using certificates with an MD5 checksum. |
No |
|
Installed Packages |
|
Packages installed on clients. |
Yes |
|
System Profiles |
|
All clients registered to the server, with software and system group information. |
No |
|
Users |
|
All users registered to SUSE Multi-Linux Manager. |
Yes |
The column |
MD5 Users |
|
All users for all organizations using MD5 encrypted passwords, with their details and roles. |
Yes |
The column |
Systems administered |
|
Clients that individual users can administer. |
Yes |
The column |
개별 보고서에 대한 자세한 내용은 --info 또는 --list-fields-info 옵션 및 보고서 이름을 사용하여 spacewalk-report를 실행하여 확인할 수 있습니다. 그러면 보고서에서 가능한 필드의 설명과 목록이 표시됩니다.
프로그램 호출 및 옵션에 대한 자세한 내용은 spacewalk-report(8) 사용자 지정 페이지 및 spacewalk-report 명령의 --help 파라미터를 참조하십시오.