NetWorker:REST APIを使用して失敗したジョブをクエリする方法
Summary: REST APIを使用して失敗したジョブをクエリする方法。この記事では、すべてのバージョン、世代、モデル、コンポーネントに適用可能なREST APIを使用してNetWorkerジョブにクエリーを実行する方法の概要について説明します。
This article applies to
This article does not apply to
This article is not tied to any specific product.
Not all product versions are identified in this article.
Instructions
- jobsdb内のすべてのジョブを表示するには、次のGETリクエストを使用します。
https://NETWORKER_SERVER_ADDRESS:9090/nwrestapi/v3/global/jobs
- ジョブ エンドポイントは、特定の属性についてクエリを実行できます。
/jobs?q=AttributeName:Value
たとえば、次のコマンドを使用して「失敗した」ジョブのみをクエリします。
https://NETWORKER_SERVER_ADDRESS:9090/nwrestapi/v3/global/jobs?q=completionStatus:Failed
- クエリに複数のフィルターを追加するには、「and」を使用して各属性:値のペアを区切ります。
/jobs?q=AttributeName1:Value1 and AttributeName2:Value2
たとえば、「backup」という名前の失敗したアクションのみをクエリーします。
https://NETWORKER_SERVER_ADDRESS:9090/nwrestapi/v3/global/jobs?q=completionStatus:Failed and policyActionName:backup
- フィルターに使用できる属性と値は、グローバル/jobsクエリーに表示されます。
Additional Information
REST API開発者ガイドには、次の追加情報が記載されています。
Affected Products
NetWorkerArticle Properties
Article Number: 000157956
Article Type: How To
Last Modified: 19 Mar 2025
Version: 4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.