Merge pull request 'Issue 679 - Added ldap checks parameters' (#7) from 679 into main
Reviewed-on: #7
This commit is contained in:
commit
00a2a3935f
|
@ -27,7 +27,9 @@ UserParameter=postfix[*],/usr/local/bin/zabbix_scripts/postfix-zabbix-stats.bash
|
|||
|
||||
{% if item.name == 'ldap' %}
|
||||
# LDAP parameters
|
||||
UserParameter=ldap.user_count,cat /tmp/disroot_user_list
|
||||
UserParameter=ldap.user_count,cat /tmp/ldap_stats | grep "active" | awk '{print $2}'
|
||||
UserParameter=ldap.user_deleted,cat /tmp/ldap_stats | grep "deleted" | awk '{print $2}'
|
||||
UserParameter=ldap.user_blocked,cat /tmp/ldap_stats | grep "blocked" | awk '{print $2}'
|
||||
{% endif %}
|
||||
|
||||
{% if item.name == 'postgres' %}
|
||||
|
|
Loading…
Reference in New Issue