January 2019
Intermediate to advanced
798 pages
20h 33m
English
The triggers we created from the network interface LLD prototypes always used the same threshold. We could use a user macro and customize the threshold for an individual host, but all interfaces would get the same threshold on that host. With filesystem monitoring, it could be desirable to have different thresholds on different filesystems. For example, we could use 80% warning on the root filesystem, 60% on the /boot filesystem, and 95% on the /home filesystem. This is possible, using the user macro context.
Refer to Chapter 8, Simplifying Complex Configurations with Templates, for further details on user macros.
The normal syntax for user macros is {$MACRO}. The context is specified inside the curly ...
Read now
Unlock full access