TECHZEN Zenoss User Community ARCHIVE  

WMI or SNMP on Windows servers?

Subject: WMI or SNMP on Windows servers?
Author: [Not Specified]
Posted: 2014-12-02 03:31

Hey guys,

I've heard that WMI uses some system resources on the server compared to SNMP that is a bit leaner. It could also lead to potential problems due to memory leaks is worst cases. Is SNMP to prefer over WMI when monitoring Windows servers

Thanks,
/Stefan



Subject: Neither is preferred.
Author: Andrew Kirch
Posted: 2014-12-02 08:38

Neither is preferred. Microsoft is completely dropping SNMP support, and WMI is going to be obsoleted as well. WinRM/WinRS are the replacement and our newest microsoft windows ZenPack leverages these to monitor windows.

Andrew Kirch

akirch@gvit.com

Need Zenoss support, consulting or custom development Look no further. Email or PM me!

Ready for Distributed Topology (collectors) for Zenoss 5 Coming May 1st from GoVanguard



Subject: Excellent, I'm glad I asked
Author: [Not Specified]
Posted: 2014-12-05 05:37

Excellent, I'm glad I asked then. And thanks a lot for your answer Andrew.



Subject: Returning to SNMP, WinRM kinda complicated ...
Author: [Not Specified]
Posted: 2015-01-16 05:06

Hi guys,

We're actually considering using SNMP instead of WinRM for monitoring Windows hosts. This due to the fact that setting up WinRM (encrypted) on the windows side was a lot of manual work.

Now I am fully aware that SNMP 2c is not encrypted either, but as a step in between we're considering using http://www.snmp-informant.com/snmp_informant-standard.htm on the Windows side.

Let me know if you think this is total madness or not.

Now, there seem to be 3-ish ways to do SNMP monitoring in Zenoss

Using net-snmp
Using Windows own SNMP-service
Using http://www.snmp-informant.com/snmp_informant-standard.htm AND Windows own SNMP service

Which of these ways are the recommended procedure and co-exists best with the "Nova" SNMP ZenPack If there is a good document describing this, please feel free to quote or point me in the right direction. Cos honestly I find a lot of different ways to do this, and it's rather confusing...

Cheers,
/Stefan



Subject: If you're going to use SNMP
Author: [Not Specified]
Posted: 2015-01-16 13:21

If you're going to use SNMP you definitely want the free Informant on your servers - otherwise you get no aggregate memory or CPU utilization statistics.



Subject: I strongly suggest using WMI
Author: Andrew Kirch
Posted: 2015-01-21 10:45

I strongly suggest using WMI as the new windows ZP gets you FAR more than perf data. While there is some setup, one account with correct privileges in AD should do the job for everything you want to monitor

Andrew Kirch

akirch@gvit.com

Need Zenoss support, consulting or custom development Look no further. Email or PM me!

Ready for Distributed Topology (collectors) for Zenoss 5 Coming May 1st from GoVanguard



Subject: Hello,
Author: [Not Specified]
Posted: 2015-01-22 04:15

Hello,

I am agree with Trelane use WMI.



Subject: New Windows template vs SNMP/WMI
Author: [Not Specified]
Posted: 2015-01-27 14:11

Hi All,

If you wan to get the most sophisticated monitoring, than the new Microsoft Windows ZenPack will do the job for you. However, be careful with it! If your Windows is not a "standard" U.S. English one than you may run into trouble as I did. My Windows server is a Hungarian SBS 2011 Essentials. The mentioned ZenPack was able to model my device completely, but wasn't able to gather even a single piece of performance data. So all my graphs remained empty. Also, WinRM requests failed on my server causing some loops in processes started by them. As a result, I got 50-100% processor load. At the end I removed the ZenPack, enabled the SNMP service on my Win box and readded the server to Zenoss as a Windows device. To my best knowledge, that device class uses SNMP queries for windows monitoring. It has a WMI subclass divided further for AD, 2008 and 2008R2. (My device was moved into the latter)
I don't know what exact plans Microsoft has with SNMP and WMI, but the fact is that on SBS 2011 Essentials SNMP is offered as a standard service. I did not deploy the Informant SNMP agent. WMI and/or SNMP provides less detailed monitoring but without any errors and with no load on CPUs.
I tested both methods and both of them are working. In my case the WMI method gave more detailed monitoring (better templates for Windows)



Subject: It seems that the getting the
Author: [Not Specified]
Posted: 2016-07-14 15:20

It seems that the getting the Net-SNMP installed on Windows is a pain in the $%, the Net-SNMP site does not supply binaries for Windows, and it seems the few brave souls who have installed it went through hell to do so. Does anyone here have any experience with this I do Net-SNMP extensions and I am about to write a library for the Mac, and the same library for Linux (they would use the same OID, so as far as the SNMP server is concerned, it won't care if it is a Mac or a Linux box). It would be great if I could get Net-SNMP on a Windows box and also make an extension library, but if this is an insane investment in time, I won't bother. So, anyone here did this Manuel


< Previous
events won't load when selecting tree in Infrastructure view
  Next
Collect but do not notify about SNMP
>