Tuesday, November 10, 2015

Obtain Diameter Requests Per Second with Wireshark

Obtain the Number of Diameter Credit Control Requests


To get the number of diameter credit control requests per second we can count the number of requested CCRs. In order to do that do the following:


1. Open a capture file in wireshark







2. From the "Statistics" menu select "I/O Graph". If wireshark starts to parse the content you may cancel it.

3. On the "I/O Graph" window, under the "Y axis" section,  set for the Unit field the value "Advance"


4. On the "Graphs" Section we need to fill the fields as follows:
  • Filter: (diameter.flags.request == 1 && diameter.cmd.code == 272)
  • Calc select: COUNT FIELDS(*) type: diameter.cmd.code

What we are doing here is that we are filtering all the requests (diameter.flags.request==1) and making sure that the requests are credit control requests (diameter.cmd.code==272). Then we count a specific field, that in this case is the diameter.cmd.code because it only appears once per message.

5. Click on "Graph 1"


That's it. 


No comments:

Post a Comment