Network Management
Find what WMI Credential is assigned to a certain node in NPM and SAM
There are instances where the Service Account you are using undergoes a password change and you need to find out which node's need to be updated in order to maintain Monitoring of these nodes.
First published date
Last published date
Overview
There are instances where the Service Account you are using undergoes a password change and you need to find out which node(s) need to be updated in order to maintain Monitoring of these nodes. From Manage Windows Credential Page in the Orion Web Console [Settings > Manage Windows Credentials] it is possible to see the number of nodes but not the names of the nodes which are assigned to it.
Product section
Cause
Resolution
Open up Database Manager on the main Orion server
- Add Default Server
- Right-click on Orion Database
- Click New query
-- Scripts are not supported under any SolarWinds support program or service. -- Scripts are provided AS IS without warranty of any kind. SolarWinds further -- disclaims all warranties including, without limitation, any implied warranties -- of merchantability or of fitness for a particular purpose. The risk arising -- out of the use or performance of the scripts and documentation stays with you. -- In no event shall SolarWinds or anyone else involved in the creation, -- production or delivery of the scripts be liable for any damages whatsoever -- (including, without limitation, damages for loss of business profits, business -- interruption, loss of business information, or other pecuniary loss) arising -- out of the use of or inability to use the scripts or documentation. SELECT Nodes.IP_Address, Nodes.Caption, Credential.Name FROM Credential INNER JOIN NodeSettings ON Credential.ID=NodeSettings.SettingValue INNER JOIN Nodes ON NodeSettings.NodeID=Nodes.NodeID WHERE NodeSettings.SettingName='WMICredential'
Enter and then execute the following query to search for all WMI Nodes using a specific Credential: (replace #### with the Credential Name)
-- Scripts are not supported under any SolarWinds support program or service. -- Scripts are provided AS IS without warranty of any kind. SolarWinds further -- disclaims all warranties including, without limitation, any implied warranties -- of merchantability or of fitness for a particular purpose. The risk arising -- out of the use or performance of the scripts and documentation stays with you. -- In no event shall SolarWinds or anyone else involved in the creation, -- production or delivery of the scripts be liable for any damages whatsoever -- (including, without limitation, damages for loss of business profits, business -- interruption, loss of business information, or other pecuniary loss) arising -- out of the use of or inability to use the scripts or documentation. SELECT Nodes.IP_Address, Nodes.Caption, Credential.Name FROM Credential INNER JOIN NodeSettings ON Credential.ID=NodeSettings.SettingValue INNER JOIN Nodes ON NodeSettings.NodeID=Nodes.NodeID WHERE NodeSettings.SettingName='WMICredential' and Credential.Name = '####'