added sitecheck
This commit is contained in:
parent
00a2a3935f
commit
a1c0b1448c
|
@ -130,4 +130,7 @@ UserParameter=pgsql.replication.recovery_role[*], psql -qtAX postgresql://"$3":"
|
|||
UserParameter=pgsql.replication.lag.sec[*], psql -qtAX postgresql://"$3":"$4"@"$1":"$2"/"$5" -f "/var/lib/zabbix/postgresql/pgsql.replication.lag.sql"
|
||||
UserParameter=pgsql.replication.status[*], psql -qtAX postgresql://"$3":"$4"@"$1":"$2"/"$5" -f "/var/lib/zabbix/postgresql/pgsql.replication.status.sql"
|
||||
{% endif %}
|
||||
{% if item.name == 'sitecheck' %}
|
||||
UserParameter=site.score[*],python3 /usr/local/bin/zabbix-scripts/sitecheck.py $1 $2
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
|
Loading…
Reference in New Issue