Merge pull request 'User Param Fix' (#11) from user_param_fix into main

Reviewed-on: #11
Reviewed-by: meaz <meaz@no-reply@disroot.org>
This commit is contained in:
muppeth 2024-09-21 06:58:44 +02:00
commit ed2f71698d

View file

@ -22,7 +22,7 @@ UserParameter=ct.issue,cat /etc/issue
{% if item.name == 'postfix' %}
# Postfix parameters
UserParameter=postfix.pfmailq,mailq | grep -v "Mail queue is empty" | grep -c '^[0-9A-Z]'
UserParameter=postfix[*],/usr/local/bin/zabbix_scripts/postfix-zabbix-stats.bash $1
UserParameter=postfix[*],/usr/local/bin/zabbix-scripts/postfix-zabbix-stats.bash $1
{% endif %}
{% if item.name == 'ldap' %}
@ -38,7 +38,7 @@ UserParameter=ldap.user_blocked,cat /tmp/ldap_stats | grep "blocked" | awk '{pri
{% if item.name == 'nginx' %}
#NGINX userparameters
UserParameter=nginx[*],/usr/local/bin/zabbix_scripts/nginx-check.sh "$1" "$2"
UserParameter=nginx[*],/usr/local/bin/zabbix-scripts/nginx-check.sh "$1" "$2"
{% endif %}
{% if item.name == 'nextcloud' %}