On Dec 21, 2008, at 11:35 AM, rwainwright wrote: > Can someone help me with my zInterfaceMapIgnoreNames settings. I > monitor several Cisco 10Ks and only want to monitor the Downstream > and Upstream Interfaces and ignore MAC interfaces. For example > Zenoss will discover the following: > > Cable5/0/0 > Cable5/0/0-downstream > > I want to ignore Cable5/0/0 and just monitor Cable5/0/0-downstream > > When I add "Cable5/0/0" to the ignore list, it ignores any interface > that starts with "Cable5/0/0"
You can use the $ character to anchor the regular expression to the end of the line. The following will ignore all of these Cable interfaces that simply end in a number instead of the trailing - downstream. Cable\d+\/\d+\/\d+$ _______________________________________________ zenoss-users mailing list [email protected] http://lists.zenoss.org/mailman/listinfo/zenoss-users
