This discussion has been locked. The information referenced herein may be inaccurate due to age, software updates, or external references.
You can no longer post new replies to this discussion. If you have a similar question you can start a new discussion in this forum.

Orion - Windows Service Monitoring - WMI Vs. RPC

Hey,

In my environment i'm seeing multiple timeouts when polling for windows service states via WMI... eventually things will work, but i consistently get an "Unknown" state on my service monitors. After a bunch of troubleshooting and performing a bunch of tests via these nodes, i'm seeing that response when using RPC seems to be much faster and more reliable.

Simply asked, is this common?, am i seeing normal slow responses with WMI, and quick responses with RPC?, anything wrong with switching my templates to use RPC?

Any insight would be appreciated.

Thanks!

  • This is an age old question that has no simple answer. RPC is more resource intensive (CPU/Bandwidth/etc.), but can under certain circumstances be faster than WMI. The reverse can also be true under certain circumstances. WMI is light weight in comparison to RPC, but has limits on the number of simultaneous queries and connections that can be made to a single host. This can cause serialization to occur which can delay polling. This normally only manifests itself when polling a lot of information via WMI at high frequency. There really is no right or wrong answer. It really comes down to what works best in your environment. This is why we provide both as options within SAM for most every Windows component monitor type.

  • Also, you can't monitor Eventlog with RPC, and you can't restart services if you are monitoring them with RPC. So there's a couple of trade-offs.

    In our environment we really try to monitor with SNMP for the base stuff, and then go straight to WMI for the application monitoring. We've decided (for the moment) to monitor nodes with WMI (versus SNMP) only in cases where we need Windows Virtual Moutn Points or to get the IOPS calculations.

  • Leon Adato, I'm afraid you are mistaken. SAM's Windows Event Log Monitor does in fact allow you to monitor Windows Event Logs via RPC. This was added in SAM 5.5. You can also stop/start/restart services and kill processes that are monitored via RPC.

  • One of those times I'm delighted to be wrong. I had tried testing this out a couple of weeks ago, but I was obviously rushed and not doing it properly. Thanks for the clarification!