Missing data from many SNMP Polled metrics in DX NetOps Portal
search cancel

Missing data from many SNMP Polled metrics in DX NetOps Portal

book

Article ID: 264417

calendar_today

Updated On:

Products

Network Observability CA Performance Management

Issue/Introduction

Some of our devices in NetOps console no longer show CPU , Memory , interface and Disk information. it said No Data To Display

After we upgrade PM environment, we noticed that some of our devices in NetOps console no longer show CPU , Memory and Disk information.

It said " No Data To Display". But if we deleted that device and ran a new discovery than CPU , Memory and Disk information will show up again.

The question that we do not know how many devices in PM that currently having this.

We would like to know how many devices effected and how to fix this issue.

How can we issue stop polling and start polling against all devices?

Environment

All supported DX NetOps Performance Management releases

Cause

The polling config is out of synch.

Stale polling config.

Resolution

Stop and start polling for all SNMP monitored devices in the DA.

Download the pollingAllDevicesInFile.zip file attached to this KB article.

Move it to the DA host and place it in the (default path) /opt/IMDataAggregator/scripts directory and extract it.

Make the pl script file executable with this command:

  • chmod 755 pollingAllDevicesInFile.pl

The script runs against a file that has a list of device Item_ID values. It takes action only on those devices. The file it works with needs one Item_ID entry per line, nothing else on the line with the Item_ID. Simple way to get a list of all SNMP Polled items is using the REST method in the KB article List of devices in NetOps Data Aggregator that are SNMP polled.

Generate the file with the list of Item_ID values. Recommendation is to test it on one device before running it for many.

Run it using the following to stop polling for all devices in the file specified.

  • ./pollingAllDevicesInFile.pl.txt -u <USER> -pw '<YOUR-PASSWORD>' -da <YOUR-DA> -f /tmp/listfrom141303 -stop

Run it as follows to start polling for all devices in the file specified.

  • ./pollingAllDevicesInFile.pl.txt -u <USER> -pw '<YOUR-PASSWORD>' -da <YOUR-DA> -f /tmp/listfrom141303 -start

Example where file is devices.txt in /tmp and DA host name is named da1 and we are stopping polling. Please note, the user needs to be an admin user in the NetOps console.

  • ./pollingAllDevicesInFile.pl.txt -u admin -pw 'Complex8*' -da da1 -f /tmp/devices.txt -stop

Additional Information

For additional parameters and https syntax, use --help

./pollingAllDevicesInFile.pl --help
ERROR: must specify an action

Usage: pollingAllDevicesInFile.pl -stop|-start -f <filename> [-da server (localhost)] [-sc scheme (http)] [-p port (8581)] [-sl seconds (10)] [-b batch (100)] [-u admin] [-pw admin]

Notes:

  • Values in parenthesis () are defaults.
  • DA using default HTTP scheme? No need to included -sc or -p arguments.
  • DA using HTTPS and 8582? Use "-sc https -p 8582" in the command.

Attachments

1682009052025__pollingAllDevicesInFile.pl.zip get_app