すべての MID サーバーログをその場で一度に検索し、結果のみをインスタンスに返す方法Issue <!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: #000000; } span { font-size: 12pt; font-family: Lato; color: #000000; } h2 { font-size: 24pt; font-family: Lato; color: black; } h3 { font-size: 18pt; font-family: Lato; color: black; } h4 { font-size: 14pt; font-family: Lato; color: black; } a { font-size: 12pt; font-family: Lato; color: #00718F; } a:hover { font-size: 12pt; color: #024F69; } a:target { font-size: 12pt; color: #032D42; } a:visited { font-size: 12pt; color: #00718f; } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } MID サーバーのログは 10 MB ごとにローテーションされます。エージェントログの場合は 10 個あります。すべてをダウンロードしないと、日付の締め切りを知ることができないため、どのファイルが必要かを知ることができません。 このトリックでは、MID サーバーにすべてのログ自体で探している文字列を検索させることで回避できます。例: 特定の ECC キュー出力レコードのsys_idで、それを実行したスレッドのエージェントログエントリを検索する。以前に発生したことがあるかどうかを確認するエラーメッセージすべての「LogStatusMonitor」エントリ (メモリ使用量の完全な記録など) Release<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: #000000; } span { font-size: 12pt; font-family: Lato; color: #000000; } h2 { font-size: 24pt; font-family: Lato; color: black; } h3 { font-size: 18pt; font-family: Lato; color: black; } h4 { font-size: 14pt; font-family: Lato; color: black; } a { font-size: 12pt; font-family: Lato; color: #00718F; } a:hover { font-size: 12pt; color: #024F69; } a:target { font-size: 12pt; color: #032D42; } a:visited { font-size: 12pt; color: #00718f; } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } Resolution<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: #000000; } span { font-size: 12pt; font-family: Lato; color: #000000; } h2 { font-size: 24pt; font-family: Lato; color: black; } h3 { font-size: 18pt; font-family: Lato; color: black; } h4 { font-size: 14pt; font-family: Lato; color: black; } a { font-size: 12pt; font-family: Lato; color: #00718F; } a:hover { font-size: 12pt; color: #024F69; } a:target { font-size: 12pt; color: #032D42; } a:visited { font-size: 12pt; color: #00718f; } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } 基本的な考え方は、「コマンド」プローブを使用してログフォルダで「find」を実行し、文字列を含む任意のファイル内の行を返すことです。 新しい空の ECC キューレコードフォームを開く - /ecc_queue.do次のようにフィールドに入力します。 エージェント = mid.server.トピック = コマンド名前 = FIND "<search string>" logs\*.*キュー = 出力ステータス = 準備完了シーケンス = (この値をクリア) 送信ECC キューテーブルで、その出力からの入力応答を探します。コマンドからの出力はペイロードに含まれます。/ecc_queue_list.do?sysparm_query=topic%3dCommand Linux MID サーバーの場合、grep を使用して同様の検索を実行できます。 例: 以下は、「f3b7c62f1b937b840c50524d6e4bcb5f」sys_id特定のecc_queue出力レコードを検索したときの出力です。この場合はディスカバリー SNMP プローブですが、スレッド名には常に出力sys_idが含まれるため、任意の機能またはプローブからのログも同じ方法で検索できます。