File: feed_passive.cfg.in

package info (click to toggle)
nagios-plugin-check-multi 0.26-6
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 1,172 kB
  • sloc: perl: 2,296; makefile: 415; sh: 239
file content (32 lines) | stat: -rw-r--r-- 862 bytes parent folder | download | duplicates (7)
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 @config_dir@/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$
}