If you look at following test its successful but i am not seeing its sending data to influxdb, I have many other input.exe script running on same server and they are sending data successfully.
$ telegraf --config /etc/telegraf/telegraf.d/foo-replication.conf --input-filter exec --test
2019-09-20T15:50:48Z I! Starting Telegraf 1.12.1
> foo_replication,host=foo.example.com,type=ActiveUsers status=0 1568994650000000000
> foo_replication,host=foo.example.com,type=StageUsers status=0 1568994650000000000
> foo_replication,host=foo.example.com,type=PreservedUsers status=0 1568994650000000000
> foo_replication,host=foo.example.com,type=Hosts status=0 1568994650000000000
> foo_replication,host=foo.example.com,type=Services status=0 1568994650000000000
> foo_replication,host=foo.example.com,type=UserGroups status=0 1568994650000000000
> foo_replication,host=foo.example.com,type=HostGroups status=1 1568994650000000000
> foo_replication,host=foo.example.com,type=Netgroups status=0 1568994650000000000
> foo_replication,host=foo.example.com,type=HBACRules status=0 1568994650000000000
> foo_replication,host=foo.example.com,type=SUDORules status=0 1568994650000000000
> foo_replication,host=foo.example.com,type=DNSZones status=0 1568994650000000000
> foo_replication,host=foo.example.com,type=Certificates status=1 1568994650000000000
> foo_replication,host=foo.example.com,type=fooConflicts status=0 1568994650000000000
> foo_replication,host=foo.example.com,type=GhostReplicas status=0 1568994650000000000
> foo_replication,host=foo.example.com,type=AnonymousBIND status=0 1568994650000000000
> foo_replication,host=foo.example.com,type=MicrosoftADTrust status=0 1568994650000000000
> foo_replication,host=foo.example.com,type=ReplicationStatus status=0 1568994650000000000
This is the input file
[[inputs.exec]]
commands = ["/usr/local/bin/foo-replication.sh"]
timeout = "60s"
data_format = "influx"
I did check permission etc but no luck
What is wrong in above output which causing issue, is there any data limit or anything i can try?