Network Management
Incorrect CPU for Cisco devices in the SolarWinds Platform
For some Cisco devices, an incorrect CPU poller might be assigned by default in SolarWinds Platform products. This may cause the devices to report high CPU usage. Identify the correct CPU poller and assign it to the nodes with the incorrect CPU.
First published date
Last published date
Overview
Product section
Cause
Resolution
Identify the correct CPU poller and replace it for a node
- On the server hosting your main polling engine, navigate to C: > Program Files (x86) > SolarWinds > Orion > PollerCheckerTool.exe (if running version 2022.x and below). If running 2023.x and higher, the file is named Solarwinds.PollerChecker.Gui.exe
- Run the executable.
- Change the Polling Method to SNMP:
- From the leftmost column, select the target node to check the assigned/supported pollers for and select CPU from the next column:
- Click on Detect Pollers. Supported pollers are highlighted with a light green background and the currently assigned poller is shown with a bright green background and the box in the Assigned column is selected.
- Now select the N.Cpu.SNMP.CiscoGen1 or N.Cpu.SNMP.CiscoGen3 poller and click Add/Replace Poller.
- Click Yes.
- In the SolarWinds Platform Web Console, go to the node details page. In the Mangement widget, click Poll Now a few times and check the results (Vital Stats subview, CPU Load & Memory Utilization widget).
- If the poller is still not displaying the correct CPU usage, assign another CPU poller and test it again.
- If you do see the correct CPU load reported by the device, you can repeat the steps and replace the CPU poller on affected devices.
Replace the CPU poller in bulk
When you have found the appropriate CPU poller, you can run SQL queries and replace the CPU poller in bulk, using the SQL Studio or the SolarWinds Database Manager.Important Notes:
- Make a backup of your database before you start making any changes.
- Be careful when making changes in the database. The changes may have unintended consequences.
- The example code selects nodes based on Polling Method = SNMP, a Node caption pattern, and the PollerType = CPU enabled.
Select * from pollers where netobjectid in (SELECT nodeid FROM nodes where objectsubtype like '%snmp%' and caption like '%nodename pattern%') and (PollerType like '%CPU%' and Enabled=1
When you have identified the right poller for the Cisco devices that were reporting Incorrect CPU usage, adjust the following code and run it:
- In the first query, replace N.Cpu.SNMP.HrProcessorLoad with the incorrectly assigned CPU poller.
- In the second query, replace N.Cpu.SNMP.CiscoGen3 with the correct CPU poller you want to assign to the devices.
- In both queries, replace nodename pattern with a string you want to use to identify the devices with CPU poller issues.
-- 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. --Below query will Disable or Unassign the Poller N.Cpu.SNMP.HrProcessorLoad UPDATE Pollers SET Enabled =0 WHERE PollerType='N.Cpu.SNMP.HrProcessorLoad' AND NetObjectID in (SELECT nodeid FROM nodes WHERE objectsubtype like '%snmp%' and caption like '%nodename pattern%') -- And then assign the supported CPU Poller you found in step 9-12 above UPDATE Pollers SET Enabled =1 WHERE PollerType='N.Cpu.SNMP.CiscoGen3' AND NetObjectID in (SELECT nodeid FROM nodes WHERE objectsubtype like '%snmp%' and caption like '%nodename pattern%')
- Wait for 30 minutes and verify that all the Cisco devices are reporting correct CPU usage.
If none of the assigned pollers reports the correct CPU usage, open a support ticket and provide the following data:
- An SNMP Walk from one or two devices
- Collected SolarWinds Diagnostics - See How to gather and send a diagnostics file to SolarWinds Support.
- A screenshot of CPU usage reported in the SolarWinds Platform Web Console and the in the Cisco CLI.