Quantcast
Channel: Questions in topic: "universal-forwarder"
Viewing all articles
Browse latest Browse all 1551

Why am I getting this error in splunkd.log? "Error executing modular input : Connection timed out"

$
0
0
I've installed the "Monitoring of Java Virtual Machines with JMX" app on my universal forwarder box (Fedora 26, OpenJDK 1.8, Python 2.7). I'm getting a "connection timed out" error that I can't figure out. I've successfully install the Splunk_TA_Unix app, so I think my forwarder is working. Any help would be appreciated. **my application is running with PID 66850 and I can connect to it with Jconsole** Troubleshooting: **I've verified that port 8089 is listening on 127.0.0.1** [splunk@fedora1]$ netstat -a Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0 0.0.0.0:8089 0.0.0.0:* LISTEN **This is the error I'm seeing in splunkd.log** 08-15-2017 14:30:36.411 -0500 ERROR ExecProcessor - message from "python /opt/splunkforwarder/etc/apps/SPLUNK4JMX/bin/jmx.py" Error executing modular input : Connection timed out (Connection timed out) : java.lang.RuntimeException: Connection timed out (Connection timed out) 08-15-2017 14:30:36.411 -0500 ERROR ExecProcessor - message from "python /opt/splunkforwarder/etc/apps/SPLUNK4JMX/bin/jmx.py" at com.splunk.HttpService.send(HttpService.java:370) 08-15-2017 14:30:36.415 -0500 ERROR ExecProcessor - message from "python /opt/splunkforwarder/etc/apps/SPLUNK4JMX/bin/jmx.py" at com.splunk.Service.send(Service.java:1268) ............. **splunk cmd splunkd print-modinput-config jmx** fedora1https://127.0.0.1:8089bP7pl5adKsfxtVR9Fm67EsrA3CJMdnIJbpDflNpYX50zuvc6M4XljlG9y4rwWX^vzoHtVEqgVoRwQydOvFayndEauEM^AYOXh7vEuPC1h_J6zT_eAC/opt/splunkforwarder/var/lib/splunk/modinputs/jmxconfig.xml0fedora1jmx5jmx **Here is my config.xml:** **~/bin/splunk cmd splunkd print-modinput-config jmx | ~/bin/splunk cmd /bin/python ./jmx.py --validate-arguments** ERROR Error parsing XML : unexpected element (uri:"", local:"input"). Expected elements are <{}items> I'm not sure what this error is or if it's related to my problem?

Viewing all articles
Browse latest Browse all 1551

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>