How to filter on IP range with the snmpcollector probe

Document ID:  TEC1568036
Last Modified Date:  07/31/2017
{{active ? 'Hide' : 'Show'}} Technical Document Details

Products

  • CA Unified Infrastructure Management

Releases

  • CA Unified Infrastructure Management:Release:8.51

Components

  • UIM - SNMPCOLLECTOR:UIMSNC
Question:

How can I filter on a range of IPs with an snmpcollector probe template?

Answer:

The way to do this would be by using regex:

As an example I want a range of IPs from .200 to .235

1.1.1.200 

1.1.1.235 

The resulting regex would look like this: 

^1\.1\.1\.(2([0-2][0-9]|3[0-5]))$ 

To combine multiple ranges you would separate them by a | 

example: 

I want to combine 1.1.1.200 - 1.1.1.235 and 2.2.2.2 - 2.2.2.8

or

^1\.1\.1\.(2([0-2][0-9]|3[0-5]))$ and ^2\.2\.2\.([2-8])$ 

it should look like this: 

^1\.1\.1\.(2([0-2][0-9]|3[0-5]))$|^2\.2\.2\.([2-8])$ 

 

Please help us improve!

Will this information enable you to resolve your issue?

Please tell us what we can do better.

{{feedbackText.length ? feedbackText.length : '0'}}/255

{{status}}

Not what you were looking for?

Search Again >

Product Information

Support by Product >

Communities

Join a Community >