ansible-legacy/roles/nutserver/files/etc/zabbix/zabbix_agentd.conf.d/nut.conf

3 lines
82 B
Plaintext

UserParameter=nut[*],/usr/bin/upsc $1 2>/dev/null | grep '$2:' | cut -d ' ' -f 2