0

I'm using IRTS Geneos for monitoring purposes. I want to configure Rest API plugin to send data to sampler with API. The guidance on the official site is quite simple. ITRS Guide

  1. Create the REST API sampler.
  2. Associate the REST API sampler with a managed entity.
  3. (Optional) Configure the listening port on the probe.

Then I send my data in JSON format via the curl command:

curl -vk -H 'Content-Type: application/json' -d "$myData" -X PUT http://hostname:7136/v1/managedEntity/MyEntity/sampler/Testsampler/dataview/TestView

where $myData is:

[
  {
    "column1": "dataA1",
    "column2": "dataA2",
    "column3": "dataA3"
  },
  {
    "column1": "dataB1",
    "column2": "dataB2",
    "column3": "dataB3"
  },
  {
    "column1": "dataC1",
    "column2": "dataC2",
    "column3": "dataC3"
  }
]   

like in example: ITRS sample

But it doesn't work. curl: (52) empty reply from server

Netprobe version: 5.6

Any ideas?

Checked:

  • Checking netprobe logs
  • Reinstalling netprobe
  • Checking 7136 port availiability

0 Answers0