Ad Widget

Collapse

More advanced Action Calculations

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rdmenotte
    Junior Member
    • Apr 2008
    • 2

    #1

    More advanced Action Calculations

    All,

    I have set up several host groups such as:

    (a) production
    (b) admin1 : Primary
    (c) admin1 : Secondary
    ...

    A server may be a member of the production and either admin1 : Primary or admin1: Secondary depending on whether the admin is the primary or secondary contact for that server. I am attempting to write an action that will basically use *this* type of logic:

    (A) and (b or c)

    So that: "If a server is a production server and admin1 is either the primary or secondary admin, do..."

    but as the calculations are limited to at most and-ing like items and or-ing the rest, I'm not sure this is possible. Can anyone maybe give me a hint as to how I can re-organize my hosts to accomplish this?
Working...