Projects

check_ajp

Nagios plugin for JBoss monitoring

v1 – md5: bfd5c249a1f44123062a0485c3af524c – download

Usage: ./check_ajp --app 10.10.10.10

$ ./check_ajp --app 10.28.10.80; echo "return: $?"
OK - AJP - 0.00294 seconds response time|time=0.002943s;;;0.000000;10.000000
return: 0

default port: 8009
default warning: 1.5 seconds
default critical: 3 seconds
default timeout: 10 seconds

To overwrite the defaults, see the example below.

./check_ajp --app 10.10.10.10 --port 1234 --warn 1 --crit 2 --timeout 2

For details on the AJP protocol look here: AJP Protocol Reference