Path : /proc/2/cwd/etc/zabbix/zabbix_agentd.d/ |
Current File : //proc/2/cwd/etc/zabbix/zabbix_agentd.d/userparameter_ntp.conf |
UserParameter=ntp.offset,ntpq -pn | awk 'BEGIN { offset=1000 } $1 ~ /\*/ { offset=$9 } END { print offset }' UserParameter=ntp.stratum,ntpq -pn | awk 'BEGIN { stratum=99 } $1 ~ /\*/ { stratum=$3 } END { print stratum }' UserParameter=ntp.npeers,ntpq -pn | grep -E -c '^\*|^\+'