Merge pull request 'Added SiteCheck user parameters' (#8) from sitecheckfix into main
Reviewed-on: #8
This commit is contained in:
commit
29a0c887a3
|
@ -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