name matches ".*-link-.*" :
{
setPollRate ("fast") ;
}
name matches ".*Serial.*" :
{
setPollRate ("slow") ;
}
name matches ".*-FastEthernet.*" :
{
setPollRate ("fastStore") ;
}
name matches ".*" :
{
setPollRate ("normal") ;
}
In this example, all elements which element names contain "-link-" will be set to Fast poll rate, "Serial" will be set too Slow poll rate, "-FastEthernet" will be set to Fast Data Store poll rate. Any other elements which are discovered will be set to Normal poll rate. The last statement is optional, if it is not set, pollRate will default to "normal." It is only added to the DCI rule for clarity.
Please refer to eHealth Integration Guide for more information about DCI rules.