Device Type

When I add Windows 10 workstation devices, they are auto categorized as servers (os version is Microsoft Windows
10 AU (NT 6.3)). My question is why does the device type for these default to server? How can I make it not do so? And is there a way to change the device type for multiple devices all at once, via script or php file with parameters(other than editing each devices properties and changing type to workstation)? Thank you.

Having the same problem here. @ahuston Did you find a solution already?

I did not find a solution…

@freeminded – I’ve been doing my own research and I now at least know why windows client os and windows server os computers both get automatically assigned the server type…discovery.php returns for both os simply “Microsoft Windows” which then gets matched to a corresponding .yaml description file (windows.yaml - https://github.com/librenms/librenms/blob/master/includes/definitions/windows.yaml) which tell libre what the device type is…the type is server…an easy fix would be to change the device type in this file to workstation…then however, you would have to manually set all of your servers os’s to the server type rather than all your workstation os’s to workstation type…still not ideal…but if you have less server os machines than workstations it will help…I have something like 60 servers and 1200 workstations so i’d rather manually set the device type 60 times to server than 12000 times to workstation…

If I can next figure out how to get discovery to return a better os type description, I can then create a yaml/os description file for windows server os…https://docs.librenms.org/#Developing/os/Initial-Detection/
…getting there on my own slowly but surely…im pretty shocked no one else has come across this issue/thread…

1 Like