Really appreciate the efforts everyone is putting up here for this awesome tool
I would like to request a WMI support for our windows environment. We donât want to go with SNMPv2 in our environment for security reasons. Also, our environment is Windows based which doesnât support SNMPv3 So we are kind of left with WMI.
There was previous talk about this as well - https://github.com/librenms/librenms/issues/1035 - Iâm also interested in getting WMI working. Since my linux boxes are already bound to the domain this may be easier for me than most. If i get something working Iâll add instructions for others.
I would also be interested in seeing this support. One of the things I saw in the âotherâ product was the ability to graph out MS Exchange and MS SQL server and this was really great information to pull up at a quick glance when troubleshooting issues.
I would love to see this feature. I have about a dozen+ Windows servers that I monitor via SNMP, but that only gets you so far. You canât monitor services, etc.
A quick search shows that you can easily do this in PHP with an extension - if you are running the PHP script on a Windows machine. Most likely LibreNMS is not running in that environment, so there needs to be another way. This might require an additional tool, wmic, to query the WMI objects for a given windows device. You can see a related thread here https://ubuntuforums.org/showthread.php?t=355436 regarding how to obtain WMI information on a non-Windows machine.
Since we are a Windows shop, having the ability to use WMI would make this more useful and secure by needing to enable SNMP on the servers or desktops. Thank you.
I would imagine you need a discovery module, poller module, and then the blades to display stuff. I donât have much PHP or laravel experience, just what I can get from google and doing greps and finds to look for certain things I want to modify in the stuff that already exists.
Other than that I really only use ansible and python for network automation.
Hi
Would like to see this supported but donât have the knowledge to input to create this.
Interestingly the forked project has already embedded this using WMIC - is there an opportunity to learn from this and implement a âsimilarâ function?
He referenced a product that is paid for and cannot copy any info from that said product. Also, that was implemented after librenms forked. So CANNOT look at that or copy anything legally
I wasnât suggesting any illegal.
Iâm less interesting the competitor mindset, my focus is on making constructive suggestions and feedback to help the community and userbase.
The monitoring suggestion is that this can be achieved using MS solutions via WMIC and there would be a direct development route to bring a huge amount of MS data to the monitoring solution that is currently dependent on work arounds.
@nms I canât mention the project, as the my previous post was edited by admin to remove the name.
Can we please get WMI support natively in libreNMS? This really would be a great way to interface with Windowsy things while minimising impact on said endpoints.
Itâs a bit funny that people are requesting WMI support here with the goal to increase security over SNMP.
For me, I currently switch all Windows-machines from WMI to SNMP for security reasons.
IMHO using WMI to gather metrics from a system is like tearing down a wall to take a look inside a room. WMI falls back to DCOM if thereâs no WinRM available and there have been enought holes in DCOM for attacks in the past.
Unfortunately Windows does not nativly offer to extend SNMP-oids simply by the âextendâ command and simple scripts. One has to provide a DLL containing the extension: SNMP Functions - Win32 apps | Microsoft Learn
I generally do agree about preferring secure methods. There are, however, environments that really would not be okay with such additional installations to achieve monitoring. So while WMI may not be ideal, some environments may ârequireâ it as WMI comes baked-in by default, so no Change Management ticket or related would be warranted.
That being said, sharing your recommendations for SNMP implementations on Windows I think is helpful, so thank you for doing that! Some day I may use that myself, unsure, but I bet that will help other people too.
But for the environments where WMI is the âonly optionâ I think there can be value there for libreNMS.
They are actually disabling WMI in Windows 11 now or have. As much as Iâd like to see it set up as a read only form of information, they donât seem to be concerned about advancing the abilities. I think most applications are now just installing their own agent on the windows machine to phone home.
The the age of connundrum⌠traps or gets ⌠we prefer gets. Gimme!