Network Management
Create an advanced SQL report to check nodes that fail SNMP\WMI polling
How to create a report that lists nodes that fail SNMP or WMI polling.
First published date
Last published date
Overview
Product section
Resolution
- From the SolarWinds Web Console, Go to Reports > All Reports. Click on Manage Reports.
- Click on create new Report.
- Select Custom Table
- Select method as "Advanced Database Query (SQL,SWQL)" as the Selection Method
- Choose SQL as the query type
- Paste the query below and run preview.
- The following advanced SQL report checks the last 5 polls where snmp\wmi communication has been lost
-- 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.NodeID AS NetObject, Nodes.Caption AS Name FROM Nodes Where LastSystemUpTimePollUtc < DATEADD( second, -5*PollInterval, GETUTCDATE()) AND status =1 AND ObjectSubType IN ('SNMP', 'WMI')
- The Preview option helps to see the results. Also the report can be saved for later use.