ajp

check_and_status_ajp

Posted on Updated on

I have searched for a ping for the ajp protocol ( https://tomcat.apache.org/connectors-doc/ajp/ajpv13a.html ) and found some http://lmgtfy.com/?q=ajpping.

From my point of view they have some weakness.

  • not accurate enough for the current it environments
  • don’t measure the operations
  • don’t write a graph-able line out

Due to these facts I have used jffry’s ( http://www.perlmonks.org/?node_id=766945 ) script as base for my extended version.

https://github.com/git001/check_and_status_ajp

With the output line

%Y-%m-%d %T host %s ip %s port %s connect %f syswrite %f sysread %f timeouted %d timeout %d good_answer %d

you can easily create a picture with your preferred tool ( gnuplot, splunk, excel, R, …)