Jump to content
Welcome to our new Citrix community!

Capture Throughput for reporting


Recommended Posts

Hi,

 

I would like to report on the ADC throughput as our Data Centers merge.

 

I'm wondering if the 'Megabits received vs. transmitted' report is the truest report of bandwidth usage for the ADC? This report doesn't seem to match the spikes I see on some ADCs.

 

What I would love to capture is the Throughput from the Dashboard tab and/or the Throughput Stats from the CLI from the 'stat ns' cmd.

 

I've tried to capture some data via nitro but those numbers dont seem to add up when I convert bytes to megabytes.

 

https://<netscaler-ip>/nitro/v1/stat/Interface?attrs=id,totrxbytes,rxbytesrate,tottxbytes,txbytesrate

 

Best,

Chad
 

c1.PNG

c2.PNG

Link to comment
Share on other sites

Hi Chad,

 

The throughput you see on the dashboard or CLI is a near-realtime usage, collected every 7 sec, therefore usage peaks are more prominent.

The graphs in the reports tab average-out the peaks. The min sample is 5min (in the Last Hour scale). If you compare Last-hour to Last-Month you'll notice the peaks are lower. That's because they are averaged on larger periods.

If you want to use the APIs, I think you can get the dashboard value using this one:  http://<netscaler-ip-address>/nitro/v1/stat/ns

 

https://developer-docs.citrix.com/projects/citrix-adc-nitro-api-reference/en/latest/statistics/ns/ns/

rxmbitsrate<Double>

Rate (/s) counter for totrxmbits

 

txmbitsrate<Double>

Rate (/s) counter for tottxmbits

 

Hope it helps.

  • Like 1
Link to comment
Share on other sites

  • 10 months later...

Hi @Chad Buser1709151885

 

When I used the above nitro URL, it prompts me for credentials. Upon authenticating, it says {errorcode: 0, "message":"Done", "severity":"NONE","ns":{}}

Can you confirm what is the netscaler version that you tried the above command in?

However, if I only use, http://<netscaler-ip-address>/nitro/v1/stat/ns, I am able to see the data. But when I use the attributes it is failing.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...