Node label should be able to auto populate from WMI

Description

Currently when nodes are provisioned, the node label is determined by DNS or if DNS is unavailable, then SNMP.

We're trying to add Windows servers to our OpenNMS monitoring using WMI, but the node label is not being automatically populated because we don't have reverse DNS lookup available, and the windows servers don't have SNMP installed.

Can WMI be added as a valid source for automatic population of node label.

 

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Show:

John Blackburn August 30, 2017 at 4:37 AM

I'm no WMI expert, but I think a powershell command that would get the required info would be something like:

Get-WmiObject win32_computersystem -ComputerName 192.168.161.108 | %{$_.Name}

No idea how that would translate into something that would be usable within OpenNMS though.

But something that can interrogate a windows server for its hostname without SNMP would be useful.

The "SNMP Attributes" section of the node page could possibly be replaced with a WMI Attributes, or WS-MAN Attributes?

David Hustace August 29, 2017 at 12:30 PM

  1. Could you be more specific about using the WMI protocol to determine the node label?

  2. I would also add that we should use WS-MAN, if it is configured.

Details

Assignee

Reporter

Labels

Components

Priority

PagerDuty

Created August 29, 2017 at 1:26 AM
Updated September 21, 2021 at 6:23 PM