* Using $0 psases the entire command, so just pass all 9 possible positioinal values. * Allow empty arguments. * Update sample config: ** Use a socket by default. ** Return a set with database discovery to be able to assign a macro.
2 lines
101 B
Plaintext
2 lines
101 B
Plaintext
UserParameter=pgmon[*],/usr/local/bin/pgmon.py -c /etc/zabbix/pgmon.cfg "$1,$2,$3,$4,$5,$6,$7,$8,$9"
|