Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tomcat input: Unable to unquote name 'http-8080': invalid syntax #3369

Closed
gaetanquentin opened this issue Oct 20, 2017 · 1 comment · Fixed by #3371
Closed

tomcat input: Unable to unquote name 'http-8080': invalid syntax #3369

gaetanquentin opened this issue Oct 20, 2017 · 1 comment · Fixed by #3371
Labels
bug unexpected problem or unintended behavior
Milestone

Comments

@gaetanquentin
Copy link

gaetanquentin commented Oct 20, 2017

I think there is a bug with :

  • telegraf 1.4.2 linux
  • plugin tomcat

tomcat : 6.0.26

telegraf logs:
E! Error in plugin [inputs.tomcat]: Unable to unquote name 'http-8080': invalid syntax

output of curl http://127.0.0.1:8080/manager/status/all?XML=true

<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet type="text/xsl" href="xform.xsl" ?><status><jvm><memory free='1942681600' total='2040070144' max='2040070144'/></jvm><connector name='http-8080'><threadInfo  maxThreads="150" currentThreadCount="2" currentThreadsBusy="2" /><requestInfo  maxTime="1005" processingTime="2465" requestCount="436" errorCount="16" bytesReceived="0" bytesSent="550196" /><workers><worker  stage="K" requestProcessingTime="526" requestBytesSent="0" requestBytesReceived="0" remoteAddr="127.0.0.1" virtualHost="?" method="&#63;" currentUri="&#63;" currentQueryString="&#63;" protocol="&#63;" /><worker  stage="S" requestProcessingTime="1" requestBytesSent="0" requestBytesReceived="0" remoteAddr="127.0.0.1" virtualHost="127.0.0.1" method="GET" currentUri="/manager/status/all" currentQueryString="XML=true" protocol="HTTP/1.1" /></workers></connector><connector name='jk-8009'><threadInfo  maxThreads="200" currentThreadCount="4" currentThreadsBusy="1" /><requestInfo  maxTime="0" processingTime="0" requestCount="0" errorCount="0" bytesReceived="0" bytesSent="0" /><workers></workers></connector><connector name='http-8443'><threadInfo  maxThreads="150" currentThreadCount="0" currentThreadsBusy="0" /><requestInfo  maxTime="0" processingTime="0" requestCount="0" errorCount="0" bytesReceived="0" bytesSent="0" /><workers></workers></connector></status>

In influxdb i just can see free memory (free max total).

Regards.

@danielnelson danielnelson added the bug unexpected problem or unintended behavior label Oct 21, 2017
@danielnelson danielnelson added this to the 1.4.3 milestone Oct 21, 2017
@gaetanquentin
Copy link
Author

ok it works now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug unexpected problem or unintended behavior
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants