Pre-requisites
- Datadog Agent has been installed and configured.
- Access the Datadog Agent Manager / configure
Enable windows services in datadog
1. Under Checks / Manage Checks / Add a Check, select windows_service.d/conf.yaml
2. Add the windows services to be monitored
- services:
- XMPServiceCloudGateway
- XMPServiceCOPY
- XMPServiceDSTL
- XMPServiceEmail
- XMPServiceFTP
- XMPServiceHTML
- XMPServiceICPAsynch
- XMPServiceICP
- XMPServiceIMPOS
- XMPServiceINDD
- XMPServiceJDF
- XMPServiceJOBREPORT
- XMPServiceSCHEDULER
- XMPServiceMERGEOUTPUT
- XMPServicePRINT
- XMPServicePROOFSET
- XMPServiceQueueMgr
- XMPServiceRIP2Image
- XMPServiceTRACKING
- XMPServiceTracking2Cloud
- XMPServiceVIPP
- XMPServiceXLIM
- XMPServiceZIP
- W32Time
- W3SVC
- MSMQ
- Schedule
3. Restart the Agent
Create Windows service monitor
Go to Monitors / New Monitor / Service Check
- Integration Monitor
"windows_service.state".over("windows_service:schedule").by("host","name","region","windows_service").last(3).count_by_status()
- Service Check: windows_service.state
- Monitor scope: windows_service:xmpserviceimpos
- Set alert conditions: trigger separate alert for: host, name, region and windows_service
- Notification of monitor name, monitor message and recipients:
- [XMPie] xmpserviceimpos service status on {{host.name}} | {{region.name}}
{{#is_alert}} The “xmpserviceimpos” service is stopped on {{host.name}} | {{name.name}} in {{region.name}} {{/is_alert}}
{{#is_recovery}} The xmpserviceimpos service is now running on {{host.name}} | {{name.name}} {{/is_recovery}}
@myAlert
- Define Priority and Tags
- Define permissions and audit notifications