/usr/share/nagios-plugins/templates-basic/ntp.cfg is in nagios-plugins-basic 1.5-3ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | # 'check_ntp' command definition
define command{
command_name check_ntp
command_line /usr/lib/nagios/plugins/check_ntp_peer -H '$HOSTADDRESS$' '$ARG1$'
}
# 'check_ntp_ntpq' command definition
define command{
command_name check_ntp_ntpq
command_line /usr/lib/nagios/plugins/check_ntp_peer -H '$HOSTADDRESS$' -j 10 -k 15 '$ARG1$'
}
# 'check_time' command definition
define command{
command_name check_time
command_line /usr/lib/nagios/plugins/check_time -H '$HOSTADDRESS$' '$ARG1$'
}
|