6

I have my influxdb installed in one of the remote windows machine (UK machine). From my local machine(Indian) i'm trying send data to influxdb using a dummy script in jmeter with backend listener. For which im getting "TextGraphiteMetricsSender: Error writing to Graphite: connect timed out" error.

I'm able to send data(from my machine) to influxdb installed in any other windows machine which is there in the same network as mine.

I tried pinging the remote W.machine ,which is successful.And i'm able to send metrics from the same machine using jmeter with backend listner.

(FYI- Same influxdb setup i had in other remote windows machine (UK). for which i could able to send from my local machine.)

Now i'm getting "TextGraphiteMetricsSender: Error writing to Graphite: connect timed out" error in jmeter log.

How can i confirm if this issue is because of firewall.? How can i confirm the root cause. or how can i resolve this.?

Please can anyone help.

shey
  • 344
  • 2
  • 10
  • 29

1 Answers1

2

You need to verify the connectivity between machine where JMeter is running and the machine where InfluxDB is running using i.e. telnet command (or equivalent) like:

telnet xxx.xxx.xxx.xxx 2003

Where xxx.xxx.xxx.xxx is IP address or hostname of the machine where InfluxDB is installed and 2003 is InfluxDB port (it should match bind-address setting in the influxdb.conf file)

Given telnet command is successful JMeter should be able to connect and send metrics, if not - you will need to open port 2003 in OS or router firewall.

See Real Time Results JMeter user manual chapterHow to Use Grafana to Monitor JMeter Non-GUI Results article for comprehensive step-by-step instructions on setting up JMeter and InfluxDB.

Dmitri T
  • 159,985
  • 5
  • 83
  • 133
  • 1
    hi Dmitri T ..thanks for your quick response like always :) yes i tried telnet ..its an firewall issue.Need to open port as you said.thanks – shey Feb 15 '18 at 08:22