All Apps and Add-ons

TA-connectivity: Why I am getting error "In handler 'ping': not all arguments converted during string formatting" when creating a data input?

noybin
Communicator

I've installed TA-Connectivity app and when trying to create a data input for Ping, I am getting the following error:

In handler 'ping': not all arguments converted during string formatting Encountered the following error while trying to save: In handler 'ping': not all arguments converted during string formatting

And the data input is not created.

I am using Splunk 6.3.2

My configuration is as follows:

name: /SDM/splunk/etc/apps/TA-connectivity/lookups/ping_salsa.txt
host_field: hostname
interval: 600
sourcetype: ping-cust
Host: LT-10.54.3.2
index: ping-cust

The file ping_salsa.txt:

hostname,port,url
10.54.3.2,,

Thank you in advance

0 Karma
1 Solution

seunomosowon
Communicator

Updated the app to fix host_field validation.

View solution in original post

seunomosowon
Communicator

Updated the app to fix host_field validation.

noybin
Communicator

In splunkd.log I see:

07-19-2016 12:49:44.527 -0300 WARN  ModularInputs - Validation for scheme=ping failed: not all arguments converted during string formatting
07-19-2016 12:49:44.527 -0300 INFO  ModularInputs - not all arguments converted during string formatting
0 Karma
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...