How to Stop IPv6 Stats Collection.

Document ID : KB000005422
Last Modified Date : 14/02/2018
Show Technical Document Details
Issue:

How do I globally disable IPv6 Stats collection? 

Environment:
6.3.2x6.3.3.xSolaris LinuxWindows
Resolution:

OPTION 1 -Create a DCI rule that excludes IPv6 stats.

The DCI rule will filter out all elements with IPv6 stats. Just associate the DCI rule to the following two element types: 

  • "IP Router IPv6 Stats" 
  • "IP System IPv6 Stats" 

 

You can do this by adding the below syntax to the .arf file of the DCI rule. Make sure that the policy being used has the DCI Rule selected.


name matches ".*" and 
isElementSubtype (elementType(), "ipRouterIpv6Stats") : 
{ 
exclude(); 
} 
name matches ".*" and 
isElementSubtype (elementType(), "ipSystemIpv6Stats") : 
{ 
exclude(); 
} 


********** 
OPTION 2- Delete elements with IPv6 stats

First get a list of the IPv6 stats elements that has already been discovered. Verify the list, and then delete them.

Run the following commands to get the list of IPv6 stats elements to a text document:

·       nhListElements -elemType ipSystemIpv6Stats -outFile system6.txt 

·       nhListElements -elemType ipRouterIpv6Stats -outFile router6.txt 

 

Verify that the contents of the two text files are correct, then run the following command when you are ready to delete the elements: 

·       nhDeleteElements -inFile router6.txt 

·       nhDeleteElements -inFile system6.txt 

 

*********** 

OPTION 3- Discover the elements, but do not poll them: 
nhModifyElements -inFile <fileName> -fieldName poll -value No 

 

Additional Information:

Related KBs for above options: 

Document ID: TEC513334, “nhListElements command”,

https://www.ca.com/us/services-support/ca-support/ca-support-online/knowledge-base-articles.tec513334.html

 
Document ID: TEC519556 , “Using DCI rules with Discovery in eHealth 6.1 and later (Legacy KB ID CNC TS34853)”, https://www.ca.com/us/services-support/ca-support/ca-support-online/knowledge-base-articles.tec519556.html

 
Document ID: TEC539072, “Creating a dci file in One click to exclude a particular type of element to be discovered.”, https://www.ca.com/us/services-support/ca-support/ca-support-online/knowledge-base-articles.tec539072.html

 
Document ID: TEC515906, “How to turn the Statistics Poller off at the command line (Legacy KB ID CNC TS22076)”, https://www.ca.com/us/services-support/ca-support/ca-support-online/knowledge-base-articles.tec515906.html

 

Document ID: TEC1116039, How to List and Delete a Group of Element through Command line, https://www.ca.com/us/services-support/ca-support/ca-support-online/knowledge-base-articles.tec1116039.html