Learn How We Can Help You Keep Teleworkers Protected During the COVID-19 Crisis

Network Change & Configuration Management

Reply
Highlighted

NetMRI - port counters in custom reports

Techie
Posts: 14
2998     0

Is it possible to include switch port counters in custom reports on NetMRI?

 

We have an issue with some PCs sending out masses of multicast traffic, so I want to know either which interfaces are the top talkers over 24 hours or list all ports with over 1 million multicast/broadcast packets.

 

Looking at interface performance, you can get to that information on a per-switch basis, but I can not find it in a reporting field.

 

Does anyone know if there is a guide or list, detailing all the fields available? A website where you can do a quick search would be useful.

Highlighted

Re: NetMRI - port counters in custom reports

Adviser
Posts: 353
2998     0
In general, custom reports uses the same object model as the API. You can visit: https://netmri/api/docs (you need to be authenticated) and search in there in the Index tab. Most of the things available in the API will be available in custom reports.

Unfortunately, I just looked and I don't see the interface performance statistics in the custom reports - I will look into whether we can add that.

In the meantime, you can use the API to get this information:

https://netmri/api/3/if_perf_dailies/find?op_ifOutMulticastPkts=>&val_c_ifOutMulticastPkts=10000

will return daily performance stats for each interface that has more than 10,000 outbound multi-cast packets in a given day.

You would then need to take the DeviceID and ifIndex values there and lookup the device and interface in their respective APIs:


https://netmri/api/3/devices?DeviceID=1234

https://netmri/api/3/interfaces?DeviceID=1234&ifIndex=5001

Clearly this is more painful than a report, but it can get you what you need right now.

Note that by default I think interface performance statistics are only collected on trunk ports. You would have to adjust the settings in the Interface Groups section of the Setttings -> Collectors and Groups -> Groups -> Interface Groups. If you are seeing those stats elsewhere in the app, then it is already enabled.
Highlighted

Re: NetMRI - port counters in custom reports

Techie
Posts: 14
2998     0

Thanks for that, I will give that a go.

 

If performance stats in reports could be added to the development list, I'd appreactiate that.

 

Showing results for 
Search instead for 
Do you mean 

Recommended for You