「SaCmdManager」を使用したサービスマッピングの CLI コンソール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: ; } } 注:このツールは、より高性能なコマンド検証ツールが2022年にリリースされたため、事実上廃止されています。https://docs.servicenow.com/bundle/tokyo-it-operations-management/page/product/it-operations-management/reference/command-validation-reference.html 目次 概要前提条件アクティブ化/非アクティブ化する方法使用状況例 概要 コマンドラインコントロールは、各サーバーにログインせずに service-now 自体からコマンドを実行するために使用されます。ディスカバリーパターンステップを作成するときに必要になる可能性がある情報を簡単に検索できます。コマンドラインコンソールはリアルタイムのコマンドラインコンソールではないため、cd のようなコマンドは機能しません。コマンドラインコンソールは、誰でもどのホストでもコマンドを実行できるように見えるため、威圧的になる可能性がありますが、実際には適切な権限を持つユーザーのみがコンソールを使用できます。 前提条件 サービスマッピングプラグイン「com.snc.service-mapping」を有効にする必要があります。「SaCmdManager」を介して通信しようとしているホストは、正常に検出され、CMDB に入力されている必要があります。ターゲット IP は、MID サーバーから到達可能である必要があります。 アクティブ化/非アクティブ化する方法 インターフェイスはプロセッサによって提供され、使用要件に基づいてアクティブ化または非アクティブ化できます。[システム定義] - [プロセッサ] >に移動し、「SaCmdManager」を検索します。 使用状況 ページを開くには、次の URL をブラウザに直接入力し、インスタンスの URL とターゲットサーバーの IP アドレスに置き換えます。 https://<instance_name>.service-now.com/SaCmdManager.do?ip=<Target IP> 例 Windows コマンドの例: 「C:\CloudDimensions\mongoose.cfg.txt」と入力します。dir "C:\CloudDimensions" Unix コマンドの例: cat /usr/local/rvm/rubies/ruby-2.3.0/configls /usr/local2 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: ; } }