How to disable or modify the system generated "Data Collector Dropped Poll Request" Threshold Violation Event being raised in DX NetOps Performance Management.
After enabling the NetOps Performance Management (PM) to Spectrum Event Integration we're seeing unexpected PM Threshold Violation Events as Alarms in Spectrum.
They appear to be default system generated Events for which there is no configured Threshold Profile or Event Rule.
The problem Threshold Events raised as Spectrum Alarms via the integration all have the same Alert Message value. They state:
A Threshold Violation event has been raised. (Profile Name: Device Polling Statistics, Rule Name: Data Collector Dropped Poll Request)
How can we manage or disable these Events? They are not wanted as Alarms in Spectrum.
Sample Event details from Spectrum Alarm:
All supported DX NetOps Performance Management releases
These event rules are applied via the Device Polling Statistics Monitoring Profile in the OOTB product. Their configuration is hard coded. It is not configurable in order to manage it's raise/clear state/
Any changes to these hard coded Threshold Event Rules will be reverted the next time the Data Aggregator dadaemon service is restarted. The changes are also reset to default values after an upgrade.
No service restarts are required after changing the state for the Event to Disabled or Enabled.
Disabling/Enabling will survive restarts and upgrades, any other changes will not as noted.
The rule can be disabled to prevent it from being raised at all. To disable the rule follow these steps:
<EventRule version="1.0.0">
<Enabled>false</Enabled>
</EventRule>
Once disabled no new instances of the Event will raise.
curl -v -X PUT -u admin -H 'Content-Type: application/xml' -d'<EventRule version="1.0.0"><Enabled>false</Enabled></EventRule>' http://localhost:8581/rest/eventrules/<ID>
curl -vk -X PUT -u admin -H 'Content-Type: application/xml' -d'<EventRule version="1.0.0"><Enabled>false</Enabled></EventRule>' https://localhost:8582/rest/eventrules/<ID>