Highlighted
Cadet 2nd Class Cadet 2nd Class
Cadet 2nd Class
209 views

Custom Poller : Track a node group for Interfaces DiscardsOut

Jump to solution

Dear all,

 

I used the built-in MIB Expression ifOutDiscards (com.hp.nms.mibexpr.ifoutdiscards) based on the RFC1213 to poll automatically a node group and track down if some interfaces are generating discards.

 

OID : .1.3.6.1.2.1.2.2.1.19

 

When  I use the expression against a node via Action > Graph MIB Expression, I can successfully see some interfaces generating discards (Screenshot2241.jpg)

 

I created then a custome poller collection and define some tresholds in it (see attachment Screenshot2247.jpg).

 

Finally I created a customer poller policy (see attachment Screenshot2248.jpg)

 

When I launch the collection of data I get always the same error (Screenshot2250.jpg)

 

Using the MIB Browser I can successfully interrogate these values (Screenshot2261.jpg)

 

I don't get why this is not working, maybe I did a mistake in the custom poller configuration...

 

Any help would be greatly appreciated... 🙂

 

Thanks

0 Likes
1 Solution

Accepted Solutions
Highlighted
Absent Member.
Absent Member.

Hi

The "mib filter variable" should be something like the "ifIndex" if you want to collect interface metrix and filter on a given set of interfaces.

Assume you want to collect on interfaces on the index 1-10; then you would define the "mib filter variable" to be "ifIndex" and the "mib filter" value to be "1-10".

If you need to filter using a different criteria such as ifName or ifAlias etc, then you would use that as filter value and then use string (pattern matching) to define the filter values.

Regards

Dieter

HP Support
If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.

View solution in original post

0 Likes
4 Replies
Highlighted
Absent Member.
Absent Member.

Hi

The "mib filter variable" should be something like the "ifIndex" if you want to collect interface metrix and filter on a given set of interfaces.

Assume you want to collect on interfaces on the index 1-10; then you would define the "mib filter variable" to be "ifIndex" and the "mib filter" value to be "1-10".

If you need to filter using a different criteria such as ifName or ifAlias etc, then you would use that as filter value and then use string (pattern matching) to define the filter values.

Regards

Dieter

HP Support
If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.

View solution in original post

0 Likes
Highlighted
Fleet Admiral
Fleet Admiral

Hi there,

 

  The problem here is that because the expression you are collecting is part of a table you need to provide a variable that is used as a filter to determine which of the instances to collect.   Normally this variable would provide static data that you can compare against to be sure you collect the correct instances.  The problem with counters is that they are ever increasing and so are not static.  Thus Custom Poller does not support you specifying a filter variable of type Counter.

 

  Because you are using the interfaces table, you could use ifDescr or ifIndex as the filter variable and then just use * in the field to select all the interfaces.

 

  The problem with your configuration would also be that if Counters were to be supported, when the number is above 50 and the poller is restarted it would not select those instances with these values above 50.

 

  All the best

 

Dave Y

MicroFocus Support
Viewed the Support tips? Search for "(NNMi) Support Tips" and order by Date to get the list
The views expressed in my contributions are my own and do not necessarily reflect the views and strategy of MicroFocus
If you find this or any post resolves your issue, please be sure to mark it as an accepted solution.
0 Likes
Highlighted
Cadet 2nd Class Cadet 2nd Class
Cadet 2nd Class

Thanks Dieter and Dave for your prompt reply.

 

But is it possible to use custom poller for watching such events like DiscardsOut or ErrorsOut for i.e. and being informed when an interface is increasing with such ?

 

Or I'm trying to achieve something not possible at all 🙂

 

 

0 Likes
Highlighted
Cadet 2nd Class Cadet 2nd Class
Cadet 2nd Class

Dear both,

 

The suggestion from Dieter did the thing, brillant !

 

The MIB Filter variable was not poiting on the right place that is all !

 

Thanks a million 🙂

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.