Hi Community,
My goal is to monitor uptime for each service. so, we are trying to configure heartbeat to monitor multiple URL to get uptime for each service however heartbeat is considering last http input rather all http inputs under heartbeat.monitors.
Kindly suggest what is the issue and how to fix it.
Below is my configuration:
heartbeat.monitors:
- type: http
# Set enabled to true (or delete the following line) to enable this monitor
enabled: true
# ID used to uniquely identify this monitor in Elasticsearch even if the config changes
id: MasterAdmin
# Human readable display name for this service in Uptime UI and elsewhere
name: MasterAdmin
# List of URLs to query
urls: ["https://kyn-aa-01.kyndleit.com:7002/mabamlogin.htm"]
ssl:
certificate_authorities: ['C:\Program Files\heartbeat-agent\aa.pem']
# Configure task schedule
schedule: '@every 10s'
# Total test connection and data exchange timeout
#timeout: 16s
# Name of corresponding APM service, if Elastic APM is in use for the monitored service.
service.name: MasterAdmin
- type: http
# Set enabled to true (or delete the following line) to enable this monitor
enabled: true
# ID used to uniquely identify this monitor in Elasticsearch even if the config changes
id: AdminConsole
# Human readable display name for this service in Uptime UI and elsewhere
name: AdminConsole
# List of URLs to query
urls: ["https://kyn-aa-01.kyndleit.com:7002/adminlogin.htm"]
ssl:
certificate_authorities: ['C:\Program Files\heartbeat-agent\aa.pem']
# Configure task schedule
schedule: '@every 10s'
# Total test connection and data exchange timeout
#timeout: 16s
# Name of corresponding APM service, if Elastic APM is in use for the monitored service.
service.name: AdminConsole
Regards,
Eshwar