/usr/share/doc/nagios-plugin-check-multi/examples/feed_passive/feed_passive.cfg is in nagios-plugin-check-multi 0.26-2.
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 30 31 32 | #
# sample config to demonstrate check_multi feed_passive feature
# M.Flacke, 8/2009
#
#
#--- feeding service (report option 8192)
define service {
service_description multi
hostgroup_name passive_feeded_hosts
check_command check_multi_4p!-f /etc/check_multi/feed_passive/feed_passive.cmd -r 8192+2+4 -s HOSTNAME=$HOSTNAME$
notifications_enabled 0
use local-service
}
#--- nice to have but not mandatory
define hostgroup {
hostgroup_name passive_feeded_hosts
}
define servicegroup {
servicegroup_name passive_feeded_services
}
#--- command definitions, naming is special to avoid collisions ;)
define command{
command_name check_multi_4p
command_line $USER1$/check_multi $ARG1$ $ARG2$ $ARG3$ $ARG4$ $ARG5$
}
define command{
command_name check_dummy_4p
command_line $USER1$/check_dummy $ARG1$ $ARG2$ $ARG3$ $ARG4$ $ARG5$
}
|