Home Directory Plugins Java Applications and Servers jmeter invocation plugin II

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

jmeter invocation plugin II

Rating
4 votes
Favoured:
0
Hits
105353
Files:
FileDescription
jmeter.plA Perl script to glue JMeter to Nagios.
Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
This script is a rebuild of another jmeter plugin that invokes an Apache JMeter (available from http://jakarta.apache.org/jmeter) test plan and parses the results, which are returned to Nagios per plugin API defined exit statuses and performance data.
Call parameters:
-j jmeter_path
-p test_plant_path/test_plan
-t timeout
-w warning
-c critical

Example check command;
define command{
command_name jmeter
; Check website response-time based on scripted click-thru actions
command_line /usr/local/nagios/libexec/jmeter/jmeter.pl -j $ARG1$ -p $ARG2$ -w $ARG3$ -c $ARG4$ -t $ARG5$
}


Example service;

define service{
use generic-service
host_name myhost.umn.edu
check_command jmeter!/home/../jakarta-meter-2.3.2/!/.../myhost.jmx!5!10!30
service_description jmeter
}
Reviews (2)
bygmy, January 29, 2015
https://github.com/gmykhailiuta/nagios_jmeter_check
bykrutaw, October 10, 2014
This plugin is missing perfdata in the output although the notes on the plugin clearly state that perfdata is included. Easy fix, but if you mention perfdata, please include it.