IMPORTANT ANNOUNCEMENT: On May 6, 2024, Carbon Black User eXchange (UeX) and Case Management will move to a new platform!
The Community will be in read-only mode starting April 19th, 7:00 AM PDT. Check out the blog post!
You will still be able to use the case portal to create and interact with your support cases until the transition, view more information here!

EDR: How to monitor Event Forwarder service status via API

EDR: How to monitor Event Forwarder service status via API

Environment

  • EDR Server: 7.1 and Higher (formerly CB Response)
  • EDR Event Forwarder: 3.7.0 and Higher

Objective

Set up monitoring for the service status of Event Forwarder and start services if stopped

Resolution

  1. Determine how often to check the running state of the service
  2. Decide which scripting language / services to use to query the API
  3. Add a GET request for the status of the service
    • https://<SERVER>/api/v1/event_forwarder/control
  4. Use the "state" field returned to determine if the service is running. Different states are Running,Stopped, and Unknown
  5. If stopped, send a POST request to the same control to start services with the following body
    • {"action":"START"}

Related Content


Labels (1)
Tags (2)
Was this article helpful? Yes No
No ratings
Article Information
Author:
Creation Date:
‎09-02-2020
Views:
484
Contributors