-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
393 additions
and
210 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
cfg_dir=../default | ||
|
||
define contact{ | ||
contact_name test_contact_2 | ||
alias Second contact alias | ||
service_notification_period 24x7 | ||
host_notification_period 24x7 | ||
service_notification_options w,u,c,r,f | ||
host_notification_options d,u,r,f,s | ||
service_notification_commands notify-service | ||
host_notification_commands notify-host | ||
email nobody@localhost | ||
can_submit_commands 0 | ||
; contactgroups another_contact_test | ||
} | ||
|
||
define contactgroup { | ||
contactgroup_name allcontacts_and_groups | ||
alias All: Contacts and groups | ||
members test_contact, test_contact_2 | ||
contactgroup_members test_contact | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
cfg_dir=../default | ||
|
||
define contactgroup { | ||
contactgroup_name void | ||
alias Void group | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
cfg_dir=../default | ||
|
||
define contactgroup { | ||
contactgroup_name test_With Spaces | ||
members test_contact | ||
} |
35 changes: 35 additions & 0 deletions
35
test/cfg/contactgroup/alignak_contactgroup_with_void_member.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
cfg_dir=../default | ||
|
||
define hostgroup{ | ||
hostgroup_name MYGROUP | ||
members h1,h2, | ||
} | ||
|
||
|
||
define host{ | ||
host_name h1 | ||
use generic-host | ||
} | ||
|
||
define host{ | ||
host_name h2 | ||
use generic-host | ||
} | ||
|
||
|
||
|
||
define contactgroup{ | ||
contactgroup_name SPACEMARINES | ||
members m1 , m2 , | ||
} | ||
|
||
|
||
define contact{ | ||
contact_name m1 | ||
use generic-contact | ||
} | ||
|
||
define contact{ | ||
contact_name m2 | ||
use generic-contact | ||
} |
2 changes: 2 additions & 0 deletions
2
...lignak_contactgroups_plus_inheritance.cfg → ...lignak_contactgroups_plus_inheritance.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
cfg_dir=../default | ||
|
||
define contactgroup{ | ||
contactgroup_name test_contact_1 | ||
alias test_contacts_alias_1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
|
||
define contactgroup { | ||
contactgroup_name NOALIAS | ||
} |
Oops, something went wrong.