SRM logs still show "Stopping event poller" for decommissioned landscapes in Spectrum
search cancel

SRM logs still show "Stopping event poller" for decommissioned landscapes in Spectrum

book

Article ID: 447200

calendar_today

Updated On:

Products

Network Observability Spectrum

Issue/Introduction

After decommissioning a SpectroSERVER (DSS) and removing it from the Spectrum environment and OneClick administration, the catalina.out logs on the Spectrum Report Manager (SRM) server continue to show "Stopping event poller" or "Stopping Event polling" messages for the removed landscape. The landscape is no longer visible in the OneClick console or the SRM Administration page, but background polling persists.

Environment

DX NetOps Spectrum: All versions.

Cause

  • SRM catalina.out logs repeat the following messages:
    • "Stopping event poller"
    • "Stopping Event polling"
  • The removed landscape handle is still referenced in SRM logs.
  • The landscape is correctly removed from the OneClick Landscapes administration page but remains active in the reporting database.

When a landscape is removed from the Spectrum environment, the corresponding entry in the SRM reporting database may still have the event_polling or device_polling flags set to active (1). The SRM service continues to initialize threads for any landscape in its database where these flags are enabled, even if the landscape is no longer in the main Spectrum landscape map.

Resolution

To stop the SRM from polling the decommissioned landscape, manually disable the polling flags in the SRM reporting database:

  1. Log into the SRM/OneClick server as the user that owns the Spectrum installation.
  2. Navigate to the MySQL binary directory: cd $SPECROOT/mysql/bin
  3. Log into the reporting database: ./mysql --defaults-file=../my-spectrum.cnf -uroot -p[password] reporting
  4. Identify the landscape handle (landscape_h) and current polling status: SELECT landscape_h, domain_name, event_polling, device_polling FROM landscape;
  5. Locate the row for the decommissioned landscape and update the polling flags to 0. Replace 0xXXXXXX with the actual landscape handle: UPDATE landscape SET event_polling = 0, device_polling = 0 WHERE landscape_h = 0xXXXXXX;
  6. Verify the update: SELECT landscape_h, domain_name, event_polling, device_polling FROM landscape WHERE landscape_h = 0xXXXXXX;
  7. Type exit to quit MySQL.