Heartbeat http.yml config sends data of one service in index and if same service running on diffrent server dont send datah

Hello All,

I have configured services under monitor.d using http.yml.(8.8.2 verion beats)
I want to monitor multiple services in various host. Current issue is I'm monitoring same service hosted in two diffrenent servers, but monitoring using one server only i.e http.yml or heartbeat is present only in one server and monitoring the service.
The issue is I am getting details of only of that server in index where heartbeat installed i.e 06appl002 server and not sure why d02appl002 server info not coming in index.
Idea is to monitor all services in multiple host using single http.yml hosted only on main server i.e 06appl002. Note same service can run on multiple host but monitoring through main server http.yml

Not sure why second server(d02appl002) info not coming in index though curl gives respons.

- mode: all
  schedule: '@every 10s'
  response.include_body: never
  ipv4: true
  hosts:
  - http://abc:7060/systemcon/info
  ipv6: true
  name: one
  id: one
  check.response:
    status: 200
  fields:
      actual_host: "d02appl002"
      actual_port: "7060"
  type: http
  enabled: true
- mode: all
  schedule: '@every 10s'
  response.include_body: never
  ipv4: true
  hosts:
  - http://efg:7060/systemcon/info
  ipv6: true
  name: one
  id: one
  check.response:
    status: 200
  fields:
      actual_host: "06appl002"
      actual_port: "7060"
  type: http
  enabled: true

Thanx

Found solution:

id: one(This has to be always different, the name could be same). Just changed the name of id as unique identifier and it worked.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.