/usr/share/nagios-plugins/templates-basic/dummy.cfg is in nagios-plugins-basic 1.4.15-5ubuntu3.
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 18 19 20 21 22 23 24 25 26 27 28 29 | # return-ok definition
define command {
command_name return-ok
command_line /usr/lib/nagios/plugins/check_dummy 0
}
# return-warning definition
define command {
command_name return-warning
command_line /usr/lib/nagios/plugins/check_dummy 1
}
# return-critical definition
define command {
command_name return-critical
command_line /usr/lib/nagios/plugins/check_dummy 2
}
# return-unknown definition
define command {
command_name return-unknown
command_line /usr/lib/nagios/plugins/check_dummy 3
}
# return-numeric definition
define command {
command_name return-numeric
command_line /usr/lib/nagios/plugins/check_dummy '$ARG1$'
}
|