Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > e5dacb39141c2088e2c30e21fa0b2b06 > files > 88

nagios-check_mk-doc-1.2.3i1-3.mga4.noarch.rpm


# aggregation_rules["host"] = (
#   "Host $HOST$",
#   [ "HOST" ],
#   "worst",
#   [
#       ( "snarks",      [ "$HOST$" ] ),
#       ( "gnogo",       [ "$HOST$" ] ),
#       ( "other",       [ "$HOST$" ] ),
#   ]
# )

aggregation_rules["host"] = {
    "title"       : "Host $HOST$",
    "params"      : [ "HOST" ],
    "aggregation" : "worst",
    "nodes"       : [
      ( "snarks",      [ "$HOST$" ] ),
      ( "gnogo",       [ "$HOST$" ] ),
      ( "other",       [ "$HOST$" ] ),
  ]
}


aggregation_rules["snarks"] = (
  "Snarks", 
  [ "HOST", ],
  "best",
  [
      ( "$HOST$", "Snarks" ),
  ]
)

aggregation_rules["gnogo"] = (
  "Gnogo", 
  [ "HOST", ],
  "best",
  [
      ( "$HOST$", "Gnogo" ),
  ]
)

aggregation_rules["other"] = (
  "Other", 
  [ "HOST" ],
  "worst",
  [
      ( "$HOST$", REMAINING ),
  ]
)

aggregations += [
  ( "DS Random", FOREACH_HOST, ALL_HOSTS, "host", ["$1$"] ),
]