Choose your fetching method
If you have a choice between components or templates that return the needed value using different protocols, consider the following guidelines for making your choice, based on the protocol:
- SNMP is the best protocol to use from the reliability and speed perspective. It is much faster and more reliable than both Performance counters and WMI, and it has lowest impact on system performance.
- WMI calls can sometimes take a relatively long time, and they have a significant overhead.
RPC vs. WMI
The reason some SAM templates only use RPC is primarily customer demand. RPC is generally considered more reliable. It also uses less overheard making it faster than WMI and it is firewall friendly. There are distinct advantages and disadvantages to both RPC and WMI, which is why SAM utilizes both methods for retrieving information.
Depending on the usage, you may have additional options for RPC.