Delay in ICMP Ping collection for newly discovered devices

Symptoms

Consider the following scenario,
  • You created a new grouping rule and applied that group to an ICMP Ping profile.
  • A new device is introduced or the devices and their interfaces are updated in your network. These devices and their interfaces are with in the range of the grouping rule that is applied to the ping profile.
In this scenario, you might notice that the device is discovered and the group reflects the new device immediately. But the Ping Collector takes almost an hour to consider the newly discovered device and its interfaces and to display the details in the dashboards.

Causes

It is due to the Ping Collector resource cache that refreshes once in every hour.

Resolving the problem

To resolve this issue, follow these steps:
  1. Log in to cloud web console of your cluster.

  2. Select tncp from Namespace pane.

  3. Select tncp from Projects pane.

  4. Expand Config and Storage > Config Maps > common in the pane in the navigation pane.
  5. Expand Workloads > Config Maps > common.
  6. Add the following property in the common Config Map:
    "ping-collector.resource-refresh-interval-minutes": "14"
    
    The default value is 60 minutes. The resource cache is refreshed in 14 minutes and the device or interface is considered by the Ping Collector as soon as it is discovered.
  7. Restart the Ping Collector Service.