Hi.
I haven't found an answer to the following question.
Maybe I have searched wrong.
I want to reduce the call of
fail2ban-client status ssh
The current solution is like this
for this I have script which calls only once the fail2ban-client collect the data and can return all date once, similar like munin.
In general is it possible to return more then one value to Zabbix server over UserParameter?
Thank you for your help
al
I haven't found an answer to the following question.
Maybe I have searched wrong.
I want to reduce the call of
fail2ban-client status ssh
The current solution is like this
Code:
UserParameter=f2b.filter.cf,/usr/bin/fail2ban-client status ssh|awk '/Currently failed:/ {print $5}'
UserParameter=f2b.filter.tf,/usr/bin/fail2ban-client status ssh|awk '/Total failed:/ {print $5}'
...fail2ban-client status ssh|awk '/Currently banned:/ {print $4}'
...fail2ban-client status ssh|awk '/Total banned:/ {print $4}'
In general is it possible to return more then one value to Zabbix server over UserParameter?
Thank you for your help
al
Comment