レポートの生成
SUSE Multi-Linux Managerでは、ユーザがさまざまなレポートを作成できます。 これらのレポートはサブスクライブしたシステム、ユーザ、および組織のインベントリを取得するのに役立ちます。 レポートの使用は、特に多数のシステムを管理している場合は、SUSE Multi-Linux Manager Web UIから手動で情報を収集するより簡単な場合が多いです。
コマンドラインツールspacewalk-reportを使用して事前設定されたレポートを生成することができますが、Hub Reportingを導入することで、完全にカスタマイズされたレポートを生成することもできます。 これは、SQL言語をサポートする任意のレポーティングツールをレポーティングデータベースに接続し、データを直接抽出することで実現できます。 データの可用性と構造の詳細については、レポーティングデータベーススキーマのドキュメントを参照してください。
1. spacewalk-reportの使用
|
サーバコンテナでステップを実行する前に、 |
レポートを生成するには、spacewalk-reportsパッケージをインストールしている必要があります。 spacewalk-reportコマンドを使用すると、SUSE Multi-Linux Manager全体のコンテンツ、システム、およびユーザリソースに関するレポートを整理して表示できます。
|
Hub Reportingの導入により、 |
次に関するレポートを生成できます。
- システムインベントリ
-
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レポートの詳細については、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パラメータを参照してください。