Advertisement
5t0ff31

icinga2 config host dependency

Nov 22nd, 2016
2,694
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Nagios 0.32 KB | None | 0 0
  1. apply Dependency "hyp-rz1-001" to Host {
  2.   parent_host_name = "hyp-rz1-001"
  3.   assign where host.name in ["vm-rz1-001", "vm-rz1-002", "vm-rz1-003", "vm-rz1-004"]
  4. }
  5. apply Dependency "hyp-rz2-001" to Host {
  6.   parent_host_name = "hyp-rz1-001"
  7.   assign where host.name in ["vm-rz2-001", "vm-rz2-002", "vm-rz2-003", "vm-rz2-004"]
  8. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement