Fail2ban input works, but is not visible in influxdb

Dear all,
I’ve got a working influxdb 2.0 installation and various servers with telegraf to report their metrics. Today, I added the fail2ban input to my (standard) telegraf.conf.

A test of the config on the servers was successful;
fail2ban,host=[host],jail=[jail1] banned=0i,failed=0i 1617545540000000000
fail2ban,host=[host],jail=[jail2] banned=0i,failed=0i 1617545540000000000

However, every metric - except fail2ban - reaches influxdb and I don’t know why it doesn’t work for fail2ban metrics.

There’s no different bucket, I can see every other measurement. Would really appreciate if you could give me tips on how to solve that issue!

Many thanks for your help in advance!

Any error messages in the telegraf log if you enable the debug option?

Hi there,
first off - thanks for taking the time to read and reply, highly appreciated.

Yes, there are indeed error messages;
Error in plugin: failed to run command /usr/bin/fail2ban-client status: exit status 255 -

I don’t think it has anything to do with Telegraf.
I suspect a faulty configuration of fail2ban.
Google the error message, I think you will find some clues.