Submit a ticketCall us

Quickly Address Software Vulnerabilities
Patch Manager is an intuitive patch management software which extends the capabilities of WSUS and SCCM to not only patch Windows® servers and workstations, and Microsoft® applications, but also other 3rd-party applications which are commonly exploited by hackers. Learn more about our patch management solution.

 

Home > Success Center > Network Performance Monitor (NPM) > Enable Hardware Health Sensor in bulk using SQL query

Enable Hardware Health Sensor in bulk using SQL query

Table of contents
No headers
Created by Interspire Import, last modified by MindTouch on Jun 23, 2016

Views: 49 Votes: 1 Revisions: 13

1. Open Orion Database Manager (Start > All Programs > SolarWinds Orion > Advanced Features > Database Manager)
2. Connect to your DB server (if not on the list please add it with relevant credentials)

3. Before doing any work on your database please make sure that you have a current backup, as this will make a permanent change to your database - refer to the Video - Backing Up, Restoring, and MIgrating YOur Orion Database.

4. Expand your database

5. Right click on ANY table and select 'Query Table'
6. Overwrite the existing query with the query given below:
 


INSERT INTO dbo.[NodeSettings] (NodeID, SettingName, SettingValue)
  SELECT
    n.NodeID,
    'NeedsInventory',
    'HWH'
  FROM Nodes n
  LEFT JOIN APM_HardwareInfo hw
    ON (n.NodeID = hw.NodeID)
  WHERE n.ObjectSubType = 'SNMP'
  AND hw.NodeID IS NULL
  AND n.NodeID NOT IN (SELECT
    NodeID
  FROM dbo.[NodeSettings]
  WHERE SettingName = 'NeedsInventory'
  AND SettingValue = 'HWH')

 

7. Click 'Refresh' 

Last modified
22:13, 22 Jun 2016

Tags

Classifications

Public