NetXMS Support Forum

English Support => General Support => Topic started by: Abraxas on July 24, 2019, 05:30:56 PM

Title: User bandwidth per interval
Post by: Abraxas on July 24, 2019, 05:30:56 PM
Hi,

I am trying to find a way to monitor the used bandwidth for several devices (how much IN and OUT data has been used over time). I would like to see the bandwidth used per day/week/month, one one or if possible multiple interfaces of the device.
We have some usage limitations on certain devices, and i need to make sure we don't use more than allocated.

Is there a way to get this configured?

Thank you,
Alex
Title: Re: User bandwidth per interval
Post by: Victor Kirhenshtein on July 29, 2019, 09:58:38 AM
Hi,

it is possible using transformation script or script DCI. One way is to collect bandwidth usage as usual (like inbound/outbound traffic delta), and then in transformation script return previous value + current delta. To reset it at period start check current time and if it is period start return 0.
Another approach could be to create separate script DCI and use GetSumDCIValue (https://wiki.netxms.org/wiki/NXSL:GetSumDCIValue) function to calculate to calculate total value over required period for normal bandwidth usage DCI.

Best regards,
Victor
Title: Re: User bandwidth per interval
Post by: Abraxas on July 30, 2019, 02:25:34 PM
Thank you for the reply Victor!
I will try the indicated solutions and see how it goes :)

Best regards,
Alex