bakins / gearman-exporter

Gearmand metrics exporter for Prometheus
MIT License
21 stars 10 forks source link

launch failed on centos6.5 #18

Closed NietzscheX closed 4 years ago

NietzscheX commented 4 years ago

root@www3 ~# /usr/local/bin/gearman_exporter --addr "0.0.0.0:9418" /usr/local/bin/gearman_exporter: line 7: syntax error near unexpected token newline' /usr/local/bin/gearman_exporter: line 7:<!DOCTYPE html>'

NietzscheX commented 4 years ago
root@www2 ~# /usr/local/bin/gearman_exporter 
/usr/local/bin/gearman_exporter: line 7: syntax error near unexpected token `newline'
/usr/local/bin/gearman_exporter: line 7: `<!DOCTYPE html>'

both centos6 and centos7 have the same issue.

bakins commented 4 years ago

@NietzscheX how did you deploy gearman_exporter?

NietzscheX commented 4 years ago

@NietzscheX how did you deploy gearman_exporter?

i just download it from https://github.com/bakins/gearman-exporter/releases

hah ... i get all source code to local go enviroment and compling it then found it works !