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, …)

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s