Question

How can Linux servers' queue length and depth be monitored?

  • 28 April 2023
  • 3 replies
  • 78 views

Userlevel 3
Badge +4

I was asked to monitor queue length/depth on Linux servers, and I was not able to locate the relevant datasource that could monitor queue length/depth.

Your assistance will be much appreciated.


3 replies

Userlevel 3
Badge +2

Hi @Rakzskull , it doesn’t look like we have anything out of the box for this. How would you monitor queue length/depth? I just did some quick googling and found a command that may work to get you the average queue depth size on Linux machines. 

Based off this command :

 iostat -xdc 60 1

 

There are 2 datapoints 

avgrq-sz

avgqu-sz

 

Would this be what you are looking for? You could write a SSH datasource that polls every minute for this data . I gave a glance to see if this was available via SNMP and it looks like its not but I could have missed something. Once we are able to narrow down the data, we can certainly bring it in to the platform

Userlevel 3
Badge +4

@Cameron Compton   Yes, but we can not install a SSH datasource due to some security constraints.

Userlevel 7
Badge +20

You can’t let the LM Collector SSH into your server? Hm, that’s going to restrict much more than just this. I’d focus on getting an exception to that “security” constraint.

Reply