changed dir name to zabbix-scripts in userparam template

This commit is contained in:
muppeth 2024-09-15 08:39:42 +02:00
parent 9a561feaf6
commit f31c6e4555
Signed by: muppeth
GPG key ID: 0EBC7B9848D04031

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' %}