intdash-agentctl config verify connection#
接続設定を検証します。
利用方法
intdash-agentctl config verify connection [<subcommand options>]
Subcommand Options
- --timeout <timeout>, -t <timeout>
設定検証のタイムアウトを指定します(単位: 秒)。1~60の値を指定できます(デフォルト: 5)。
- --help, -h
ヘルプを表示します。
例
デフォルトのタイムアウト(5秒)で接続設定を検証:
$ intdash-agentctl config verify connection
edge_name: vehicle1
edge_nickname: ""
gateway: 172.17.0.1
network_type: ethernet
verified: true
タイムアウト時間を10秒に設定して接続設定を検証し結果をJSON形式で表示:
$ intdash-agentctl config --json verify connection --timeout 10
{"edge_name":"vehicle1","edge_nickname":"","gateway":"172.17.0.1","network_type":"ethernet","verified":true}
参考
出力される情報は、Agent Command APIの Verify Connection Settings と同じです。