title: When are Nagios Macros Calculated?
body: <p>I am considering doing an operation involving the Nagios Core Macro &quot;TOTALSERVICESCRITICALUNHANDLED&quot;.
  I found in the code where it loops over all services to count the number of critical services.
  I am trying to figure out what triggers a recount. I am wary of overusing the macro - concerned it would impact performance if I called on the macro too often.
  Can anyone explain to me what triggers the re-counting of alarms to update the summary macros?</p>